@mbta_alerts is a Twitter account that gets updated with most of the latest information from the MBTA’s official Alerts RSS feed. This account isn’t maintained or watched by the MBTA, it was just made by some dude who was angry about delayed trains.

Tweet frequency, last 48 hours
(purple box is normal frequency)

I’m Warning You:
@mbta_alerts is a very active account, currently tweeting about 0 times per day! You’re seeing virtually all alerts across the entire MBTA system.

Powered by Frustration

There are two principles that will ultimately result in the failure of this project:

  • It was built out of frustration.
  • The people using it are generally in highly-frustrating situations.

So, until such time that the negativity becomes overwhelming, I give you: @mbta_alerts.

followers

How it Came to Be

I can easily remember the night when @mbta_alerts came to me.

I was standing in North Station about an hour before a Miley Cyrus concert at TD Garden. I stood there sweating and panting after running to catch my train — a train that turned out to be thirty minutes late. It seems that in large quantities, moms and daughters are the commuter rail version of a DDoS attack.

While standing there waiting, I did some research on the MBTA website. It turns out that there is an RSS feed buried deep in the bowels of a section I’ve never seen before. I immediately registered @mbta_alerts and went to work on my train ride home. About an hour later, it was ready for testing.

There was a quick private beta test, and things seemed to work well, so I announced it for all the world to see. And here we are today.

Recent @mbta_alerts Posts

How it Works

A server checks the MBTA Alerts RSS feed every minute. Comparing what it knows versus what it sees, it filters down to only new posts for tweeting.

Next, it loops through each new tweet, filtering out the ones I don’t care about (broken escalator and elevator notices).

Finally, once the filtering is done, it posts new alerts, one tweet per alert.

Boom, done.