bus_route_details
Pack: wmata · Endpoint: https://gateway.pipeworx.io/wmata/mcp
Fetch stop sequence and path details for a WMATA bus route by route_id and optional date. Returns direction names, stop names/IDs, and geo coordinates for the route shape.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
route_id | string | yes | |
date | string | no |
Example call
Arguments
{
"route_id": "42"
}
curl
curl -X POST https://gateway.pipeworx.io/wmata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bus_route_details","arguments":{"route_id":"42"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bus_route_details', {
"route_id": "42"
});
More examples
{
"route_id": "42",
"date": "2024-01-15"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Response from WMATA bus route details API"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wmata": {
"url": "https://gateway.pipeworx.io/wmata/mcp"
}
}
}
See Getting Started for client-specific install steps.