La Metro

liveReference

LA Metro (LACMTA) MCP — routes, stops and live service cancellations for

4tools
0msauth
free tier50 calls/day

Tools

lametro_routes

Every 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_stops

Every 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_stop

One 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_cancellations

Trips 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/la-metro/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("lametro_routes", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("la metro (lacmta) mcp — routes, stops and live service cancellations for");