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

NameTypeRequiredDescription
latitudenumberyesLatitude in the Portland metro area.
longitudenumberyesLongitude in the Portland metro area.
metersnumbernoSearch radius in metres (default 500).
_apiKeystringnoTriMet 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.

Regenerated from source · build September 18, 2026