Skip to main content
Glama

ekigraph 🚀

English | 日本語

일본의 철도망에 대한 질문을 AI가 올바르게 답할 수 있도록 해 주는 MCP 서버입니다. 어느 역과 어느 역이 선로로 연결되어 있는지 — 전국의 9,043개 역 모두에 대해 AI가 그 자리에서 바로 확인할 수 있습니다.

왜 만들었어나

外출하거나 여행을 planning 할 때, 철도역에 대해 무엇인가 알고 싶어질 때가 많습니다. 검색해도 되겠지만 번거로고 그냥 AI에게 물어보는 편입니다.

문제는 철가 주제가 철도일 때,AIが망설임 없이 거짓말을 늘어놓는 경우가 많다는 것입니다.

실제로 이러한 case가 일곱습니다.

AI에게 “Shin-Shibaura의 다음 역은 어디인가요?”라고 물었더니, 이렇게 답했습니다.

Shin-Shibaura은 Tōkaidō Freight Line의 새 역이며, 다음 역은 Hama-Kawasaki입니다.

이는 completamente 틀린 답입니다. 附件-Shb이 .*: Shin-Shibaura는 Tsurumi Line에 있고, 인접 역은 Asano와 Umi-Shibaura입니다.

AI는 “모르겠습니다”라고 말하지 않았습니다. 存在하지 않線로까지 결답휴전으로 만들어냈습니다.

신주쿠나 시부야 같은 큰 역이면 답이 대부분 정확합니다. 하지만 이렇게 지방 규모 역한 지역seccion 철도가 화제 하면, 할루시네이션抓住할 가능성이 높아집니다.

Related MCP server: IndianRailwaysMCP

provided benefit

ekigraph를 연결하면 AI는 자신의 기억이 아니라 정확한 데이터를 기반으로 답합니다.

ekigraph 는 오픈 데이터를 기재로 구축했기에 누구나 이용할 수 있습니다.

  • 신칸센から subway, 지방을 사철, 노trifid 전차까지 — 전국9,043 역 · 593 노선을 cover

  • 데이터는 Japan 국립 gov 공 information 정부(М으: 국済수치電子) का 자introduce source official

  • 번들(2MB) 파일로 제공되므로— API 키 불필요, 무료, 오프라인サポ — --------- -

사용 구현법

# Claude Code — one line
claude mcp add ekigraph -- uvx --from git+https://github.com/yataro-fujinaga/ekigraph ekigraph

Claude Desktop 또는 기타 MCP クライента라면 config에 튳를 추가합니다:

{ "ekigraph": { "command": "uvx", "args": ["--from", "git+https://github.com/yataro-fujinaga/ekigraph", "ekigraph"] } }

이후 평소처럼 그대로 대화하면 AI가 정확한 답을 돌려줍니다.

“Ura様라 다음 역이 엇攝라?” 같은 가볍게 물어본 것도, ekigraph를 근거로 정확히 답해줍니다.

도구

  • neighbors(station) — 역에 붙어 이어진 역을 line name과 함께 returns 합니다.

  • subgraph(station, radius) — 역 이근원시선물 데이터가 들어 그대로返回된다.

Not Supported

  • 운행시간표, 요금, 특급 정차 패턴, op 지연정보 ** 아직 미지급 ** (改为 "포함하지 않습니다").

  • ekigraph에는 단 하나만 담켜잇늘ที่: 선이 어떻게 이어 over 있는지입니다.

  • 역 통합(시부야의 JR, Metro, 토큐, 케이오를 하나의 역으로 세는것), 사영 업자绪간 역그룹코드의 MLIT official 현林 방を 따르ます.

取り扱い 데이터

  • 출처: National Land Numerical Information (Railway Data 설 doors N02-24) — Japan国土交通가 MLIT이 제공する, …v 다음만는 Japan on 정산 표준 재이용? standard “ v2.0의 (CC BY 4.0 호환)” 연결에 따라 reconstituted 및 redistributed되었습니다.

  • 자신이 다시 만들려면? uv run python etl/build_graph_n02.py 을 실행하면 설 (데이터 다운로드→ 연결관계 생성? 검증) — 전자自動.

License

코드: MIT. 동봉找一个 있는 데이터의 출처 표시 내용은, License를 확인해 주세요.

Available Tools

2 tools
neighborsA

駅の線路上の隣接駅(グラフのエッジ)を返す。路線名つき。注意: 線路の隣接であり、特定の列車(急行等)が停まるかは分からない。

Inputs: station (required).

subgraphA

駅の周辺の生グラフ(半径N駅のエッジ一覧・種別つき)をそのまま返す。neighbors で足りない構造の問いはこれを読んで自分で辿る。

Inputs: station (required), radius.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 2 tools

    Disambiguation4/5

    The two tools serve distinct purposes: neighbors provides direct adjacent stations on railway lines, while subgraph returns a broader local graph structure. Descriptions clearly delineate their use cases, minimizing confusion despite some overlap in domain.

    Naming Consistency4/5

    Both tool names are single lowercase nouns, following a consistent style (neighbors, subgraph). While not verb_noun, the convention is uniform and predictable, making it easy to understand their roles.

    Tool Count3/5

    With only two tools, the server feels thin but is appropriate for a very focused purpose of querying station graph adjacency. It sits at the lower end of acceptable, lacking broader functionality but not being excessively sparse.

    Completeness2/5

    The tools cover only graph traversal (direct neighbors and subgraph), but lack basic station metadata retrieval, pathfinding, or line-specific queries. This creates significant gaps for common tasks, limiting the server's usefulness.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query real-time Indian Railways data including train schedules, live status, PNR status, seat availability, fares, and coach positions via the Model Context Protocol.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Provides read-only access to structured Japanese railway data, enabling station searches without an API key and live Shinkansen timetable, fare, seat class, and stop queries with an Ekispert API key.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides AI assistants with live Indian Railways data, including trains between stations, real-time seat availability, fares, PNR status, and timetables, without requiring an API key.
      10
      8
      MIT