tokyo-transit-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ODPT_API_KEY | Yes | Your ODPT API key from https://developer.odpt.org/ |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_routeA | 乗り換えルート検索 - 出発駅から到着駅までのルートを検索。日本語・英語・中国語自動識別、天候/高温/運休を検出しAIアドバイスを返答。language(ja/en/zh)を指定すると応答言語を強制(ユーザーのクエリ言語に合わせて指定推奨)。荒天・降雪・凍結時を除き、到着地点周辺のレンタサイクル案内を表示。user_location(緯度経度)指定時は運転見合わせ時の代替シェアサイクル案内を現在地基準で表示。 【出力指示/OUTPUT RULE】ツールの content には「表示済みの完成テキスト」が既に日本語・英語・中国語のどれかで含まれている。この content をそのままユーザーへ提示すること。要約・再構成・言い換え・省略・見出しの書き換えを一切しないこと。特に運転見合わせ・特別警報・緊急避難・振替輸送・シェアサイクル代替(emergency_alert / cycling_alternative / bus_transfer_alternative / suspended_lines / ai_transit_advice)など運行障害時の安全情報は、原文のまま必ずすべて表示すること。追加の説明は content の後に補足として付け加えてもよい。 |
| get_station_infoB | 駅情報取得 - 駅の基本情報をODPT APIから取得。language(ja/en/zh)指定で応答言語を強制可能。 |
| get_weatherA | 天気情報取得&多言語AIアドバイス - 気象庁APIから天気・気温を取得。高温時は熱中症注意を表示。language(ja/en/zh)指定で応答言語を強制可能。 |
| list_ferry_portsA | フェリー/水上バス港一覧 - 東海汽船(伊豆諸島航路)と東京クルーズ(水上バス)の全港を表示。 |
| search_ferryA | フェリー/水上バス航路検索 - 港間の航路と時刻表を検索。language(ja/en/zh)指定で応答言語を強制可能。 |
| list_transit_operatorsB | 交通事業者一覧 - 鉄道・AGT・モノレール・路面電車・フェリーの全事業者を種別フィルター付きで表示。 |
| list_community_busesA | 🚌 東京都コミュニティバス一覧 - 東京バス協会(tokyobus.or.jp)掲載の41自治体コミュニティバス(ちぃばす・ハチ公バス・ムーバス等)を自治体別に表示。時刻表・路線は各自治体公式サイトへのリンクで案内。 |
| get_operator_routesB | 事業者別路線一覧 - 指定事業者の全路線と駅を表示(例: tokyometro, jreast, mir, twr, yurikamome, toden)。 |
| search_flightA | ✈️ 空港フライト時刻・到着時刻表示 - 羽田/成田等の空港または便名で到着/出発フライトを検索。destination 指定で到着ターミナル→目的地のアクセス経路を自動提案。language(ja/en/zh)指定で応答言語を強制可能。 |
| search_fareA | 🚃 運賃検索 - 2駅間の運賃をODPTデータから検索します(東京メトロ・都営対応)。サーバー内で運賃を直接返します。language(ja/en/zh)指定で応答言語を強制可能。 |
| get_timetableA | 🕐 時刻表検索 - 指定駅の時刻表をODPTデータから検索します。直接時刻を提供します。language(ja/en/zh)指定で応答言語を強制可能。 |
| search_busA | 🚌🚃 バス路線・乗り継ぎ・横断乗り継ぎ検索 - バス停/系統を検索、from+to でバス→電車→バスの乗り継ぎ経路を探索。ノンステップバス情報を含む。language(ja/en/zh)指定で応答言語を強制可能。 |
| get_running_statusA | 🚦 リアルタイム運行状況検索 - 指定事業者(または全事業者)の列車運行状況を公式ページから取得し、路線別ステータス(平常運転/遅延/一部運休/運転見合わせ)で返す。operator 指定で絞り込み、省略/ all で全事業者。language(ja/en/zh)指定で応答言語を強制可能。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Most tools target clearly distinct objects: rail route search, ferry route search, bus route/transfer search, station info, timetable, fare, operators, running status, flights, and weather. The main overlap is between search_route (which also surfaces cycling/bus transfer alternatives during disruption) and search_bus (bus→train→bus transfers), plus list_community_buses vs search_bus, so an agent may occasionally hesitate on multimodal queries.
Every tool follows a strict snake_case verb_noun pattern with a small, predictable verb set (search_, get_, list_). Resource nouns are singular/plural consistent enough that intent is readable from the name alone.
13 tools is within the sweet spot for a multi-modal transit domain, and each covers a real need (rail, bus, ferry, flight, fares, timetables, status). Weather and flight tools stretch slightly beyond the core rail/bus scope, but they are justified by the route-advice and airport-access use cases.
The surface covers discovery (operators, lines, ports, community buses), planning (routes, fares, timetables, transfers), and live status across rail, bus, ferry, and air. Gaps are minor: no barrier-free/accessibility-specific search beyond non-step bus flags, and no station facility or fare-rule detail, but agents can work around these.