La Metro
liveReferenceLA Metro (LACMTA) MCP — routes, stops and live service cancellations for
Tools
lametro_routesEvery LA Metro bus or rail route, with its route code, short and long name, direction description and map colour. AUTHORITATIVE for "what routes does LA Metro run" — sourced from LACMTA's own API, not
No parameters required.
Try it
lametro_route_stopsEvery stop served by one LA Metro route, in running order, with stop id, name, direction and service day type. AUTHORITATIVE for "which stops does route N serve" and for turning a route into stop ids
No parameters required.
Try it
lametro_stopOne LA Metro stop by stop id — coordinates, name, and the accessibility and zone attributes LACMTA publishes for it. Returns GeoJSON properties flattened for reading.
No parameters required.
Try it
lametro_service_cancellationsTrips LA Metro has canceled on the current service day, counted per route. This is LIVE operational data and the one real-time signal LACMTA publishes publicly — AUTHORITATIVE for "is LA Metro droppin
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/la-metro/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/la-metro/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"lametro_routes","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("lametro_routes", {});// Or ask in plain English:
const answer = await px.ask("la metro (lacmta) mcp — routes, stops and live service cancellations for");