trimet_vehicles
Pack: trimet · Endpoint: https://gateway.pipeworx.io/trimet/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/trimet_vehicles for the schema, then POST the same URL with its arguments for the data.
Where TriMet vehicles are right now — position, bearing, speed, the route and trip each is running, and how far ahead of or behind schedule it is. AUTHORITATIVE for live Portland fleet position and on-time performance in the moment.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
routes | string | no | Optional: comma-separated route numbers to limit to (e.g. “90,100”). |
limit | number | no | Max vehicles to return (default 100). |
_apiKey | string | no | TriMet appID. Free from ${SIGNUP}. |
Example call
Arguments
{
"limit": 50
}
curl
curl -X POST https://gateway.pipeworx.io/trimet/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trimet_vehicles","arguments":{"limit":50}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('trimet_vehicles', {
"limit": 50
});
More examples
{
"routes": "90,100"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trimet": {
"url": "https://gateway.pipeworx.io/trimet/mcp"
}
}
}
See Getting Started for client-specific install steps.