developer-toolsapi_key

Bart

BART (Bay Area Rapid Transit) provides public transportation services in the San Francisco Bay Area.

Verdict

The Bart MCP connects your Switchy workspace to the Bay Area Rapid Transit public API. @mention it to pull live train schedules, check arrival times, download GTFS feeds, or query route details without leaving your conversation. Teams coordinating Bay Area travel, building transit apps, or analyzing commute patterns get the most value. It requires a BART API key (free from bart.gov/schedules/developers/api) and returns raw schedule data — you'll need to interpret station codes and route numbers yourself.

Common use cases

  • Check next train home during standup
  • Pull GTFS feed for transit app prototype
  • Compare arrival times across three routes
  • Monitor real-time delays before client meeting
  • Download schedule data for commute analysis

Integration

Vendor
Bart
Category
developer-tools
Auth
API_KEY
Tools
10
Composio slug
bart

Tools

  • Download GTFS Static Schedule Feed

    Tool to download the static gtfs feed (google transit.zip). use when needing the latest gtfs schedule data.

  • Get BART API Version

    Stub action for bart api version retrieval.

  • Get BART Available Schedules

    Tool to retrieve a list of currently released bart schedules. use when you need schedule versioning info.

  • Get BART Schedule Arrive

    Tool to retrieve schedule information based on a specified arrival time. use when planning trips arriving by a given time.

  • Get BART Schedule Depart

    Tool to get schedule information based on a specified depart time. use when planning trips from an origin to a destination with time constraints after confirming station codes.

  • Get BART Stations

    Stub action for bart stations retrieval.

  • Get GTFS-RT Trip Updates

    Tool to fetch real-time trip updates in gtfs-realtime format. use when you need the latest live trip information as raw protobuf.

  • Get Route Info

    Tool to fetch detailed information about a specific bart route. use when you know the route number (1–12) or need all routes configuration. call after confirming the route id.

  • Get Service Advisories

    Tool to fetch current bart service advisories. use when you need up-to-date system-wide or station-level alerts before presenting or planning transit routes.

  • Get Station Info

    Tool to fetch detailed information for a specified bart station. use after you have a station's abbreviation. (e.g., get station info for 'balb')

Setup

Setup guide

  1. 11. In Switchy, open your workspace settings and navigate to the Integrations tab. 2. Search for 'Bart' in the MCP directory and click Connect. 3. You'll be prompted to paste your BART API key — get one free at bart.gov/schedules/developers/api by registering an account. 4. Paste the key into the field and click Authorize. 5. Switchy confirms the connection and lists the 10 available tools. 6. Open any Space, type '@Bart get stations' and send — if you see a list of BART station codes and names, the integration is live. 7. From now on, @mention Bart in any message to invoke schedule lookups, route queries, or GTFS downloads.

What teammates see: by default, memories from Bart are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Next Train Home

@Bart I need the next train departing from 16th Street Mission to Embarcadero after 5:30 PM today.
Open in a Space →

Route Details

@Bart Show me detailed information for route 3, including all stations it serves.
Open in a Space →

Arrival Planning

@Bart I need to arrive at SFO airport by 9:00 AM tomorrow. What trains from Downtown Berkeley get me there on time?
Open in a Space →

Live Trip Updates

@Bart Get the latest real-time trip updates in GTFS format so I can check for delays on the Richmond line.
Open in a Space →

Download Schedule Feed

@Bart Download the current GTFS static schedule feed so I can load it into my transit planning tool.
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@bart what's the next train from Powell Street to SFO Airport leaving after 2:30 PM today?

Output

Based on the current schedule, the next BART train from Powell Street (POWL) to SFO Airport (SFIA) departing after 2:30 PM is at 2:38 PM on the Yellow Line. The journey takes approximately 32 minutes with one transfer at Balboa Park, arriving at SFO at 3:10 PM. The following departure is at 2:53 PM, arriving at 3:25 PM. Both routes require a transfer to the Yellow Line for airport service.

Notes

This example uses the schedule depart tool to plan a trip with time constraints. Note that responses reflect published schedules, not real-time delays or service changes. Users must provide valid station names or codes—the MCP can look up codes if needed. Schedule data updates periodically but may not reflect same-day service advisories.

Prompt

@bart download the latest GTFS feed and tell me which routes serve the Embarcadero station on weekdays

Output

I've downloaded the current GTFS Static Schedule feed (google_transit.zip). Analyzing the stops and routes data: Embarcadero station (EMBR) is served by five routes on weekdays: Red Line (Richmond–Daly City/Millbrae), Yellow Line (Antioch–SFO/Millbrae), Green Line (Berryessa–Daly City), Blue Line (Dublin/Pleasanton–Daly City), and Orange Line (Richmond–Berryessa). Peak service runs every 4-6 minutes during commute hours, with 12-15 minute headways midday.

Notes

This example demonstrates downloading raw GTFS data for deeper analysis beyond the API's structured endpoints. The GTFS feed is a 5-15 MB zip file containing CSV tables—useful for bulk analysis or custom integrations. The MCP can parse this data to answer complex routing questions, but processing large feeds may take 10-20 seconds.

Prompt

@bart check real-time trip updates and summarize any current delays affecting trains to Oakland

Output

Checking GTFS-RT trip updates feed: Currently, two delays are affecting Oakland-bound service. The 3:15 PM Yellow Line train from SFO is running 8 minutes late due to equipment issues at San Bruno. The 3:22 PM Orange Line from Richmond has a 4-minute delay at 19th Street Oakland. All other Oakland-bound trains (Red, Green, Blue lines) are operating on schedule. No service advisories are active for transbay tube or East Bay stations.

Notes

This example uses the real-time GTFS-RT feed to surface live service disruptions. The MCP returns raw protobuf data that the AI interprets into readable summaries. Real-time data refreshes every 30-60 seconds but may lag during major incidents. This requires understanding BART's route structure—the AI can cross-reference with static schedule data to provide context.

Use-case deep-dives

Transit-dependent employee commute planning

When BART MCP helps remote teams coordinate SF office days

A 6-person engineering team in Oakland schedules quarterly in-person sprints at their SF office. The ops lead uses Switchy with the BART MCP to pull live departure schedules and GTFS trip updates the morning of each sprint kickoff, then shares arrival windows in Slack so no one waits 20 minutes at Embarcadero. The MCP's 10 tools cover schedule lookups and real-time feeds, but this only works if your team actually rides BART—if half the team drives or takes Caltrain, you're maintaining two separate transit contexts. The buying call: if 3+ people on your team use BART for the same destination more than once a month, this MCP turns commute coordination from a 12-message thread into a single AI query.

Customer support for transit apps

BART MCP wins for small support teams answering schedule questions

A 4-person support team at a Bay Area mobility startup fields 40–60 tickets a week asking 'why is my trip delayed' or 'when does the next train leave Fremont.' They connect the BART MCP to Switchy and let the AI pull GTFS-RT trip updates and route info in real time, cutting average response time from 8 minutes to under 2. The MCP's API key auth is simple enough that the support lead set it up in one afternoon. The threshold: if your ticket volume drops below 20/week or your app covers more than just BART, the MCP becomes narrow overhead. This works when BART questions are 60%+ of your inbound volume and your team is too small to justify a custom integration.

Event logistics for Bay Area meetups

When BART MCP helps community organizers time venue access

A 3-person team runs monthly developer meetups in downtown SF and needs to tell 80–120 attendees when doors open relative to train arrivals. They use Switchy with the BART MCP to query departure schedules from the 5 most common origin stations, then auto-generate a 'how to get here' doc that accounts for evening service gaps. The MCP's schedule-depart and schedule-arrive tools let them model trips in both directions without opening the BART website. The trade-off: this only pays off if your event is transit-accessible and you're running it more than twice a quarter—one-off events don't justify the setup. If your attendees mostly drive or your venue is outside the BART footprint, skip this and use Google Maps links instead.

Frequently asked

What does the Bart MCP do in Switchy?

It connects your AI workspace to Bay Area Rapid Transit's real-time and schedule data. You can query departure times, plan trips by arrival window, download GTFS feeds, and pull live trip updates without writing API calls. Useful for teams building transit apps or automating commute notifications.

Do I need a BART API key to use this MCP?

Yes. The MCP uses API key authentication, so you'll need to register for a BART developer key at their portal. One key per Switchy workspace is enough—team members share the connection once it's configured by an admin.

Can the Bart MCP book tickets or check my Clipper card balance?

No. It only reads schedule and real-time trip data from BART's public API. You can't purchase fares, check balances, or modify user accounts. For those actions, users still go through the official BART app or Clipper website.

How is this different from scraping BART's website or calling their API directly?

The MCP wraps BART's API into natural-language tools your AI can invoke without you writing HTTP clients or parsing GTFS-RT protobufs. If you're already comfortable with REST calls and feed parsing, the direct API is faster. If you want conversational trip planning, use the MCP.

Who on the team should connect the Bart MCP?

Whoever holds your BART API key—usually a developer or ops lead. Once connected, any workspace member can ask the AI to query schedules or trip updates. The MCP doesn't consume per-seat licenses; it counts as one integration against your plan's connection limit.

Data last verified 607 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.