trimet_stops_near
Pack: trimet · Endpoint: https://gateway.pipeworx.io/trimet/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/trimet_stops_near for the schema, then POST the same URL with its arguments for the data.
TriMet stops near a latitude/longitude, with stop id, name, direction and the routes serving each. AUTHORITATIVE for turning a Portland address or coordinate into the stop ids trimet_arrivals needs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | Latitude in the Portland metro area. |
longitude | number | yes | Longitude in the Portland metro area. |
meters | number | no | Search radius in metres (default 500). |
_apiKey | string | no | TriMet appID. Free from ${SIGNUP}. |
Example call
Arguments
{
"latitude": 45.5231,
"longitude": -122.6765,
"meters": 500
}
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_stops_near","arguments":{"latitude":45.5231,"longitude":-122.6765,"meters":500}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('trimet_stops_near', {
"latitude": 45.5231,
"longitude": -122.6765,
"meters": 500
});
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.