mbta.transit.stops
Find Boston MBTA stops and stations — filter by route ID or by geographic coordinates + radius. Returns stop ID, name, latitude/longitude, municipality, vehicle type, platform info, and wheelchair boarding status. Stop IDs returned here are used as filter inputs for mbta-transit.alerts and mbta-t...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/mbta.transit.stops.md
What mbta.transit.stops does on Apibase
AI agents call mbta.transit.stops to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | — | Maximum number of stops to return (default 25, max 100) |
route | string | — | Filter stops by route ID (e.g. "Red" for Red Line, "1" for Route 1 bus, "CR-Fairmount" for commuter rail). Use mbta-transit.routes to get route IDs. |
radius | number | — | Search radius in degrees around lat/lon (approx 0.01° ≈ 1 km). Use with latitude+longitude. |
latitude | number | — | Center latitude for proximity search. Must be paired with longitude and radius (e.g. 42.3601 for Boston) |
longitude | number | — | Center longitude for proximity search. Must be paired with latitude and radius (e.g. -71.0589 for Boston) |
location_type | string | — | Filter by location type: 0=individual stop/platform, 1=station (parent), 2=station entrance/exit |
Parameters from the server's own tool schema.
Why mbta.transit.stops is rated Low
Retrieves public transit stop information with no side effects or data modification.
From the tool's definition Find Boston MBTA stops and stations — filter by route ID or geographic coordinates.
Attacks that exploit this kind of access
The rule that runs mbta.transit.stops safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For mbta.transit.stops, this is the rule to start with:
mbta.transit.stops is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every mbta.transit.stops call is checked against it from then on.
Questions about mbta.transit.stops
Find Boston MBTA stops and stations — filter by route ID or by geographic coordinates + radius. Returns stop ID, name, latitude/longitude, municipality, vehicle type, platform info, and wheelchair boarding status. Stop IDs returned here are used as filter inputs for mbta-transit.alerts and mbta-transit.predictions. Use location_type=1 to return only major stations (parent stops); location_type=0 for individual platforms. Example: route="Red" returns all 22 Red Line stops from Alewife to Braintree/Ashmont. MassDOT Open Data License, no upstream cost. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
mbta.transit.stops accepts 6 parameters: limit, route, radius, latitude, longitude, location_type. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for mbta.transit.stops: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
mbta.transit.stops is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the mbta.transit.stops rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for mbta.transit.stops. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
mbta.transit.stops is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue