Connect Bart to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the get service advisories tool in Bart
Use the get station info tool in Bart
Use the get schedule tool in Bart
Use the get system status tool in Bart
Use the plan trip tool in Bart
Use the get route info tool in Bart
Supported Tools
get_service_advisories
Get Service Advisories
Retrieve current BART service advisories and elevator outage information. Service advisories include delays, police actions, equipment problems, and other system-affecting conditions. Advisories are issued when two or more trains are off schedule by more than 10 minutes. Optionally includes elevator outage status.
get_station_info
Get Station Info
Retrieve detailed information about BART stations. Can list all stations, get details about a specific station (address, routes, platforms, nearby amenities), or get station access information (parking, bike racks, lockers, entering/exiting directions, transit connections).
get_schedule
Get Schedule
Retrieve BART schedule information. Can list available schedule versions, get the full daily schedule for a specific station, or get the complete schedule for a specific route. Station schedules show all departures for the day; route schedules show every train run with all stop times.
get_system_status
Get System Status
Get a quick overview of the BART system status including the number of trains currently active. Useful for checking whether the system is running and how busy it is.
plan_trip
Plan Trip
Plan a trip between two BART stations. Returns trip options with departure/arrival times, fare information (cash and Clipper pricing), trip duration, and detailed leg-by-leg routing including transfer information. You can plan by desired departure or arrival time.
get_route_info
Get Route Info
Retrieve information about BART routes. Can list all active routes or get detailed information about a specific route including the ordered list of stations it serves, origin/destination, color, and direction.
get_fare
Get Fare
Retrieve fare costs between any two BART stations. Returns fare breakdown by type including Clipper, cash, senior/disabled, and youth pricing. If origin and destination are the same station, the excursion fare is returned.
get_real_time_departures
Get Real-Time Departures
Retrieve real-time estimated departure times for trains at a BART station. Returns upcoming departures grouped by destination, including train length, line color, delay info, bike availability, and cancellation status. Since dwell times are under one minute, ETDs effectively represent arrival times as well.
Enable Bart in Metorial. In your Metorial portal, enable the Bart MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Bart tools.
Enable Bart in Metorial. In your Metorial portal, enable the Bart MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Bart tools.
Enable Bart in Metorial. In your Metorial portal, enable the Bart MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Bart tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Bart in Metorial. In your Metorial portal, enable the Bart MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Bart tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Bart in Metorial. In your Metorial portal, enable the Bart MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Bart tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Bart through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Bart and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Bart tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Retrieve real-time BART (Bay Area Rapid Transit) train departure estimates, plan trips between stations, and access schedule, fare, route, and station information. Look up service advisories, elevator outage status, and active train counts. Get fare costs between stations, station access details including parking and bike facilities, and holiday or special schedules. All data is read-only.
Frequently asked questions
Common questions about connecting Bart to AI agents with Metorial.
How many tools does the Bart MCP server have?
The Bart MCP server exposes 8 tools, including Get Service Advisories, Get Station Info, Get Schedule. Each one is governed and traced through Metorial.
Does the Bart MCP server support triggers?
Bart exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Bart MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Bart MCP server through the same Metorial URL.
How do I give only some teams access to Bart?
Use role-based access control to decide which teams, users, and agents can use Bart and which of its tools they can call.
Can I self-host the Bart MCP server?
Yes. Metorial is open source, so you can run the Bart MCP server yourself or use the hosted gateway.
Connect Bart to production AI agents
See how Metorial gives your team governed access to Bart, with tracing and security controls built in.