amtrak_routes_active
Pack: amtrak · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/amtrak_routes_active for the schema, then POST the same URL with its arguments for the data.
Summary of ALL currently active Amtrak trains grouped by route, “how many Amtrak trains are running right now”, “which Amtrak routes have delays”, national system overview. Returns per route: active train count, train numbers, and the worst delay in minutes. Compact; live from a community mirror of Amtrak’s tracking feed. Example: amtrak_routes_active({})
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/amtrak/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"amtrak_routes_active","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('amtrak_routes_active', {});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the amtrak pack
{
"mcpServers": {
"amtrak": {
"url": "https://gateway.pipeworx.io/amtrak/mcp"
}
}
}
See Getting Started for client-specific install steps.