# Transit Land [Health: Active]

**Category:** 🚆 Travel & Transportation  
**Repository:** https://github.com/pipeworx-io/mcp-transit-land  
**GitHub Stars:** 0  
**npm Downloads (last month):** 703  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/transit-land

## Description
Transitland MCP — global GTFS aggregator

## Tools
Capabilities this server exposes over MCP:

- **search_agencies** — Search transit agencies/operators by name or geo. Operators are the entities running services.
- **search_routes** — Search public transit routes in Transitland, the global GTFS feed aggregator, by route name, GTFS route type, operating agency, or a lat/lon point with radius. Returns matching routes with short and long name, route type, operating agency and Transitland onestop_id. Answers which bus, tram, metro, rail or ferry lines serve a place or belong to an operator. route_type: 0=tram, 1=metro, 2=rail, 3=bus, 4=ferry, 5=cable_tram, 6=aerial_lift, 7=funicular, 11=trolleybus, 12=monorail.
- **search_stops** — Search stops/stations. Use lat+lon+radius_m for "stops near point".
- **departures_at_stop** — Upcoming departures from a stop. stop_id is the Transitland onestop_id (e.g. "s-9q8yvz3w7-stopname").
- **list_feeds** — List available GTFS (or GTFS-RT/MDS) feeds aggregated by Transitland; filter by spec type and paginate with limit; returns feed id, url, operator, and last fetch status.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "transit-land": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-transit-land"]
  }
}
```

## Documentation

## What Transit Land does

Transit Land connects MCP clients to Transitland’s REST API at `https://transit.land/api/v2/rest/`. The service aggregates GTFS data from approximately 3,000 transit operators and 50,000 feeds. Through the Pipeworx gateway, an agent can search for agencies, routes, stops or stations, scheduled departures, and available GTFS feeds.

The integration is an independent, unofficial connection to Transitland. It is useful when an agent needs structured transit data for a location, operator, route, stop, or date and time range rather than a general web search.

## How it works

The hosted MCP endpoint is:

```text
https://gateway.pipeworx.io/transit-land/mcp
```

A client can connect to that URL directly, or use the full Pipeworx gateway at `https://gateway.pipeworx.io/mcp`. Both endpoints reach the same gateway and data sources. The Transit Land endpoint lists the pack’s tools directly and also exposes shared Pipeworx meta-tools, including `ask_pipeworx`, `discover_tools`, `search_within`, and memory tools. The exact tool scope is reported in the MCP `initialize` response.

For clients that use local processes, `@pipeworx/mcp-transit-land` provides a stdio bridge. It forwards calls to the hosted endpoint, so it requires network access and has no offline mode. Tools can also be called over HTTP, such as by posting JSON to `/v1/tools/search_agencies`.

## Setup and configuration

For a hosted connection, add the MCP URL to the client configuration:

```json
{
  "mcpServers": {
    "transit-land": {
      "url": "https://gateway.pipeworx.io/transit-land/mcp"
    }
  }
}
```

The local npm option starts with `npx`:

```json
{
  "mcpServers": {
    "transit-land": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-transit-land"]
    }
  }
}
```

Anonymous local calls are capped at 50 per day. A free Pipeworx account raises the limit to 200 daily calls; configure its key as `PIPEWORX_API_KEY` in the client’s environment. Set `PIPEWORX_META_TOOLS=1` to include the shared gateway tools in the local bridge’s listed tools. Transitland API authentication can use the gateway’s `PLATFORM_TRANSITLAND_KEY` or a user-owned key supplied through the `?_apiKey=<key>` option after registering with Transitland.

## Tools and capabilities

- `search_agencies` finds transit operators by name, agency ID, coordinates, radius, and result limit.
- `search_routes` searches bus, rail, and ferry routes by name, route type, agency or operator, location, radius, and limit.
- `search_stops` finds stops and stations by name, stop ID, location, radius, result limit, or served route type.
- `departures_at_stop` returns departures for a stop, with optional service date and start and end times.
- `list_feeds` lists available GTFS feeds, with optional specification and result limit.
- `ask_pipeworx` can accept a natural-language question and route it to an appropriate gateway tool when the shared meta-tools are enabled or when using the hosted gateway.

## Limitations and notes

The npm bridge depends on the network and does not provide offline operation. A pack endpoint lists shared Pipeworx meta-tools in addition to the Transit Land tools, so its tool count can exceed the five transit-specific tools above. The local bridge lists only the pack tools by default.

The underlying Transitland API accepts an API key either as an `apikey` query parameter or an `apikey` header. Pipeworx also meters and bills keyed calls in the same way for hosted and local connections. When using an HTTPS proxy with the npm bridge, Node’s built-in `fetch` does not read `HTTPS_PROXY` by default; newer Node releases can use it when `NODE_USE_ENV_PROXY=1` is set.

_Full upstream README: https://allmcps.com/mcp/transit-land/readme_

