プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Transitland MCP Server

作者:cyanheadsバージョン 0.2.0i★ –iパソコンで動く
レジストリ名io.github.cyanheads/transitland-mcp-server

インストール

概要

作者による説明(英語の原文)

Global transit via Transitland v2 — operators, GTFS/GTFS-RT/GBFS feeds, routes, stops, departures.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: 旅行・地図・天気
  • 入力が必要なもの:TRANSITLAND_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: TRANSITLAND_API_KEY, TRANSITLAND_BASE_URL, MCP_LOG_LEVEL

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "transitland": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/transitland-mcp-server"
      ],
      "env": {
        "TRANSITLAND_API_KEY": "your-value",
        "TRANSITLAND_BASE_URL": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add transitland --env TRANSITLAND_API_KEY=your-value --env TRANSITLAND_BASE_URL=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/transitland-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "transitland": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/transitland-mcp-server"
      ],
      "env": {
        "TRANSITLAND_API_KEY": "your-value",
        "TRANSITLAND_BASE_URL": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "transitland": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/transitland-mcp-server"
      ],
      "env": {
        "TRANSITLAND_API_KEY": "your-value",
        "TRANSITLAND_BASE_URL": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • TRANSITLAND_API_KEY 秘密 必須 env
    Transitland v2 API key, sent as the `apikey` query parameter. Get one at the Transitland developer portal.
  • TRANSITLAND_BASE_URL env
    Override the Transitland REST API base URL (default https://transit.land/api/v2/rest).
  • MCP_LOG_LEVEL env
    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント cyanheads で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

旅行・地図・天気のほかのサーバーとの比較i

  • このカテゴリのほかの1735件のうち0%よりスターが多い
  • このカテゴリのほかの1735件のうち53%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1735件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Transitland MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:TRANSITLAND_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.2.0)がレジストリに届いたのは26 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GeoTok Trips, ViaFrei, Flowzap

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GeoTok Trips

Plan trips: flights, hotels, transfers, sights and food spots from TikTok food videos.

作者:geotok.co初期今日更新

クラウドで動く✓ geotok.co

ViaFrei

The German Real-Time Mobility Context Platform for AI: traffic, trains, charging, parking, weather.

作者:mavrovde初期今日更新

クラウドで動く✓ viafrei.de

Flowzap

Create workflow, sequence, architecture, and mind map diagrams via AI assistants.

作者:flowzap-xyz初期↓ 358/週今日更新

パソコンでもクラウドでも

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@cyanheads/transitland-mcp-server Global transit data from the Transitland v2 registry — operators, GTFS/GTFS-RT/GBFS feeds with license terms, routes, stops, and real-time-aware departures via MCP. STDIO or Streamable HTTP. 6 Tools • 2 Resources


Overview

Transit data for thousands of operators worldwide from Transitland, the open aggregator of GTFS, GTFS-Realtime, and GBFS feeds. Find operators and their feeds, and look up routes, stops, and real-time departures.

Tools
ToolDescription
transitland_find_operatorsFind transit operators/agencies by name, point/radius, bounding box, country/region, or Onestop ID
transitland_get_operatorFetch the full operator record by Onestop ID — agencies, feeds, and source tags
transitland_find_feedsDiscover GTFS, GTFS-Realtime, and GBFS feeds — fetch URLs, license terms, and freshness
transitland_find_routesFind routes by point/radius, bounding box, operator, Onestop ID, or GTFS mode
transitland_find_stopsFind stops/stations by name, point/radius, bounding box, Onestop ID, or operator network
transitland_get_departuresDepartures from a stop, each flagged realtime true/false

Transitland does not geocode place names — resolve a location to coordinates with a geocoding MCP server (e.g. openstreetmap-mcp-server's openstreetmap_geocode) before calling a geography-filtered tool.

Resources
ResourceDescription
transitland://operator/{onestop_id}Operator record by Onestop ID — agencies, places served, published feeds, and source tags
transitland://feed/{onestop_id}Feed record by Onestop ID — spec, fetch URL, license terms, and freshness

All resource data is also reachable via tools (transitland_get_operator, transitland_find_feeds).

Capability reference

Page limits default to 20 and are capped at 100. A larger limit is clamped with a notice, and truncated, shown, and cap appear when a page hits the limit. Use the returned after cursor to continue.

transitland_find_operators tool
  • Filter by search (name), lat+lon+radius (max 100,000m, default 1,000m), bbox, onestop_id, or adm0_name/adm1_name (country/region) — at least one required, or the call fails as no_filter
  • lat requires lon and vice versa, or the call fails as incomplete_point
  • Returns each operator's Onestop ID, name, places served, published feeds (a GTFS_RT entry signals real-time departures may be available), and Wikidata QID

transitland_get_operator tool
  • Accepts an Onestop ID (e.g. o-9q9-bart) or an internal integer ID
  • Returns agencies (each with places served), published feeds, and source tags: Wikidata QID, US NTD ID, general Twitter/X handle
  • operator_not_found when the ID doesn't resolve

transitland_find_feeds tool
  • Filter by operator_onestop_id (from transitland_find_operators), spec (gtfs/gtfs-rt/gbfs/mds; case and underscore/hyphen variants such as GTFS_RT are accepted), search, or fetch_error — at least one required
  • Each feed returns its fetch URL, real-time endpoints, freshness (last fetch, content hash, calendar window covered), and license terms — redistribution, commercial use, derived products, and attribution as yes/no/unknown, never inferred from a blank field — plus SPDX identifier and attribution text where known
  • authorizationRequired flags feeds whose download needs a separate key or registration

transitland_find_routes tool
  • Filter by lat+lon+radius (max 50,000m, default 1,000m), bbox, operator_onestop_id, onestop_id, route_type (GTFS mode integer), or search — at least one required
  • lat requires lon and vice versa, or the call fails as incomplete_point
  • Returns short/long name, GTFS mode (bus, subway, rail, ferry, tram, …), brand color, and the operating agency's and source feed's Onestop IDs. A missing route type is null with mode unknown
  • Scheduled (GTFS static) route definitions, not live vehicle positions

transitland_find_stops tool
  • Filter by lat+lon+radius (max 10,000m, default 500m), bbox, onestop_id, served_by_onestop_ids (comma-separated operator/route Onestop IDs), or stop-name search — at least one required. Name searches need no geocoding
  • Returns coordinates (null when missing upstream), location_type with a label (stop, station, entrance, node, boarding area), wheelchair accessibility, timezone, and the parent station's Onestop ID for child platforms
  • Departures attach to platform-level stops (location_type 0) — a station may return none, so use its child platforms

transitland_get_departures tool
  • Resolve a stop to its Onestop ID with transitland_find_stops first; stop_not_found when it doesn't resolve. next_seconds sets the look-ahead window: 60–86,400 (default 3,600) — widen it or set use_service_window: true when a stop returns nothing
  • Every departure carries a realtime flag (true for a live GTFS-Realtime prediction, false for a scheduled time) and a scheduleRelationship (STATIC, SCHEDULED, ADDED, CANCELED, UNSCHEDULED, DUPLICATED)
  • Also returns scheduled and estimated times with delay in seconds, route, headsign, mode, trip, direction, and accessibility; top-level realtimeAvailable reports whether the stop's feed publishes GTFS-RT at all

transitland://operator/{onestop_id} resource
  • Mirrors transitland_get_operator — agencies, places served, published feeds, and source tags
  • onestop_id accepts an Onestop ID (e.g. o-9q9-bart) or internal integer ID; operator_not_found when it doesn't resolve

transitland://feed/{onestop_id} resource
  • Mirrors a single-feed result from transitland_find_feeds — spec, fetch URL, real-time endpoints, license terms, and freshness
  • onestop_id accepts a feed Onestop ID (e.g. f-9q9-bart) or internal integer ID; feed_not_found when it doesn't resolve
  • Blank license fields come back as unknown/null, never inferred as permissive

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

Transitland-specific:

  • Direct HTTP client for the Transitland v2 REST API — no SDK dependency, a flat query-param contract over a handful of GET endpoints
  • Onestop IDs (o-/f-/r-/s-) are the identifier spine — surfaced in every result, accepted on input alongside internal integer IDs
  • Feed lookups return only the latest feed version's freshness, not the full fetch history
  • Coverage polygons and route/stop geometry are omitted; results carry a compact country/region/city place summary instead

Agent-friendly output:

  • Real-time status is explicit: per-departure realtime and scheduleRelationship, plus a top-level realtimeAvailable
  • Blank license fields come back as unknown/null, never inferred as permissive, and agents are told to confirm against the license URL before redistributing
  • Upstream pagination URLs embed the API key; only the opaque after cursor is surfaced, so the key never reaches tool output or logs
  • Empty results return an actionable notice (geocode first, widen the window, try a child platform) rather than an error

Getting started

Add the following to your MCP client configuration file. A Transitland API key is required — see Prerequisites for how to get one.

{

"mcpServers": { "transitland-mcp-server": { "type": "stdio", "command": "bunx", "args": ["@cyanheads/transitland-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "MCP_LOG_LEVEL": "info", "TRANSITLAND_API_KEY": "your-api-key" } } } }

Or with npx (no Bun required):

{

"mcpServers": { "transitland-mcp-server": { "type": "stdio", "command": "npx", "args": ["-y", "@cyanheads/transitland-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "MCP_LOG_LEVEL": "info", "TRANSITLAND_API_KEY": "your-api-key" } } } }

Or with Docker:

{

"mcpServers": { "transitland-mcp-server": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "-e", "TRANSITLAND_API_KEY=your-api-key", "ghcr.io/cyanheads/transitland-mcp-server:latest" ] } } }

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 TRANSITLAND_API_KEY=your-api-key bun run start:http

Server listens at http://localhost:3010/mcp

Prerequisites
Installation
  1. Clone the repository:
git clone https://github.com/cyanheads/transitland-mcp-server.git
  1. Navigate into the directory:
cd transitland-mcp-server
  1. Install dependencies:
bun install
  1. Configure environment:
cp .env.example .env

edit .env and set TRANSITLAND_API_KEY

Configuration

All configuration is validated at startup via Zod schemas in src/config/server-config.ts. A missing `TRANSITLAND_AP

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く