mobilitydb_gtfs_rt_feeds

Pack: mobility-database · Endpoint: https://gateway.pipeworx.io/mobility-database/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mobilitydb_gtfs_rt_feeds for the schema, then POST the same URL with its arguments for the data.

List the GTFS-Realtime feeds — live vehicle positions, trip updates and service alerts — registered in the Mobility Database for a country, city or operator, with the realtime endpoint URL and the GTFS Schedule feed each one is keyed against. AUTHORITATIVE for which transit agencies publish live data and where: realtime trip ids only resolve against the specific schedule feed named here, so this is what you need before consuming one.

Parameters

NameTypeRequiredDescription
countrystringnoISO 3166-1 alpha-2 country code, e.g. US, DE, JP.
querystringnoFree text matched against feed name, provider, municipality and feed id.
entity_typestringnoWhich realtime stream: vp (vehicle positions), tu (trip updates), sa (service alerts).
group_by_agencybooleannoCollapse the vp/tu/sa rows an agency publishes into one entry per schedule feed, listing the streams available (default false).
limitnumbernoMaximum entries to return (default 25, max 200).

Example call

Arguments

{
  "country": "US",
  "query": "MBTA",
  "group_by_agency": true,
  "limit": 2
}

curl

curl -X POST https://gateway.pipeworx.io/mobility-database/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mobilitydb_gtfs_rt_feeds","arguments":{"country":"US","query":"MBTA","group_by_agency":true,"limit":2}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('mobilitydb_gtfs_rt_feeds', {
  "country": "US",
  "query": "MBTA",
  "group_by_agency": true,
  "limit": 2
});

More examples

{
  "country": "DE",
  "entity_type": "vp",
  "limit": 3
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "mobility-database": {
      "url": "https://gateway.pipeworx.io/mobility-database/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 18, 2026