Transitland MCP Server
by cyanheadsio.github.cyanheads/transitland-mcp-serverv0.1.3
Global transit via Transitland v2 — operators, GTFS/GTFS-RT/GBFS feeds, routes, stops, departures.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Transitland MCP server
Install in Claude Code
claude mcp add transitland -e TRANSITLAND_API_KEY='<transitland-api-key>' -- npx -y @cyanheads/transitland-mcp-serverInstall in Cursor
{
"mcpServers": {
"transitland": {
"command": "npx",
"args": [
"-y",
"@cyanheads/transitland-mcp-server"
],
"env": {
"TRANSITLAND_API_KEY": "<transitland-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"transitland": {
"command": "npx",
"args": [
"-y",
"@cyanheads/transitland-mcp-server"
],
"env": {
"TRANSITLAND_API_KEY": "<transitland-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"transitland": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/transitland-mcp-server"
],
"env": {
"TRANSITLAND_API_KEY": "<transitland-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"transitland": {
"command": "npx",
"args": [
"-y",
"@cyanheads/transitland-mcp-server"
],
"env": {
"TRANSITLAND_API_KEY": "<transitland-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TRANSITLAND_API_KEY | yes | yes | Transitland v2 API key, sent as the `apikey` query parameter. Get one at the Transitland developer portal. |
| TRANSITLAND_BASE_URL | — | — | Override the Transitland REST API base URL (default https://transit.land/api/v2/rest). |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 2d ago · GitHub
Latest release
2026-10-07 · 2d ago · GitHub · v0.1.3
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 2d ago · official registry · v0.1.3
FAQ
›How do I install the Transitland MCP server in Claude Code?
Run: claude mcp add transitland -e TRANSITLAND_API_KEY='<transitland-api-key>' -- npx -y @cyanheads/transitland-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Transitland require an API key?
Yes. It expects TRANSITLAND_API_KEY, of which 1 is a secret.
›Can I use Transitland as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Transitland in the official MCP registry?
Yes, as io.github.cyanheads/transitland-mcp-server.
Alternatives to Transitland
Other travel & transport MCP servers.