Mobility Database

liveTransportData

MobilityData's open catalogue of public-transport feeds — ~4,500 GTFS schedule feeds and ~1,900 realtime feeds worldwide, each with the operator's own download URL.

3tools
0msauth
free tier50 calls/day

Tools

mobilitydb_search_feeds

Find the public-transport schedule feed (GTFS) for an agency, city or country from the Mobility Database, MobilityData's open catalogue of ~4,500 transit feeds worldwide. Returns the operator's own do

No parameters required.

Try it
mobilitydb_gtfs_rt_feeds

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 GTF

No parameters required.

Try it
mobilitydb_feed

Everything the Mobility Database records about one transit feed, by its catalogue id (e.g. mdb-1210, or a jbda-* id). Returns the operator's download URL and the catalogue's stable latest-version URL,

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/mobility-database/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/mobility-database/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"mobilitydb_search_feeds","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("mobilitydb_search_feeds", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("mobilitydata's open catalogue of public-transport feeds — ~4,500 gtfs schedule feeds and ~1,900 realtime feeds worldwide, each with the operator's own download url");