Gachi Data API — Japan Station & Accessibility Data (API · MCP · Open Datasets)

MCP serverAI & models

This integration gives your AI detailed data on Japanese train stations, including lesser-known ones, along with accessibility and hazard information, all in English. Once added, your AI can answer questions about stations across Japan without needing Japanese-language sources.

Use Gachi Data API — Japan Station & Accessibility Data (API · MCP · Open Datasets) in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Gachi Data API — Japan Station & Accessibility Data (API · MCP · Open Datasets) and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use Gachi Data API to ping

Details

Available today. Use it from your connected AI after setup.

Add the integration, then ask your AI about any Japanese station, its accessibility, or hazards. It will pull the details and respond in English.

Gachi Data API — Japan Station & Accessibility Data (API · MCP · Open Datasets)Start free

What your AI can do with it

  • Look up details for Japanese train stations, including obscure ones
  • Find accessibility information for specific stations
  • Check hazard data for stations and locations in Japan
  • Answer station questions in English instead of Japanese

Install Gachi Data API — Japan Station & Accessibility Data (API · MCP · Open Datasets)

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user gachi-data-api-japan-station-acc 'https://api.gachi-tokusuru.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://api.gachi-tokusuru.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=gachi-data-api-japan-station-acc&config=eyJ1cmwiOiJodHRwczovL2FwaS5nYWNoaS10b2t1c3VydS5jb20vbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://api.gachi-tokusuru.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add gachi-data-api-japan-station-acc --url 'https://api.gachi-tokusuru.com/mcp'

    Run it once, then sign in with codex mcp login gachi-data-api-japan-station-acc if the server asks for an account.

From the project's README

As published by eng213035/gachi-data-api in README.md.

This is a hosted service. You do NOT self-host it. Get a free API key at https://api.gachi-tokusuru.com and connect to the remote endpoint below. The source in this repo is published for transparency; the data lives in the hosted backend, so a local clone will not return data.

Deep, obscure Japanese data you won't find anywhere else — stations, accessibility, vacancy, hazards. Hand-verified, English-first, built for AI agents. Available as an MCP server, a REST API, and free open datasets. One key works for both the API and MCP.

  • 526 Tokyo stations — accessible / multipurpose toilets with floor, gender, equipment flags (wheelchair, ostomate, diaper table) and the nearest station exit (an original first-party value computed by spatial join — not in any raw dataset).
  • 612 municipalities nationwide — public toilets with wheelchair / baby-seat / ostomate flags, address and coordinates.
  • Free open datasets — Japan Station Master (entity-resolved, 9,145 stations nationwide) & Ridership 2000–2025, sharing one station_id: https://github.com/eng213035/gachi-open-datasets (Zenodo DOI 10.5281/zenodo.21199500).

Station names accept Japanese (新宿) or romaji (Shinjuku, Kita-Senju) for major stations.

Connect

  • Endpoint: https://api.gachi-tokusuru.com/mcp
  • Transport: Streamable HTTP (remote)
  • Auth: Authorization: Bearer <API_KEY> — free key at https://api.gachi-tokusuru.com
{
  "mcpServers": {
    "gachi-data": {
      "url": "https://api.gachi-tokusuru.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Tools

ToolArgumentReturns
get_toilet_by_stationstation (Japanese or romaji)Accessible toilets in a Tokyo station, with nearest_exit
get_public_toilet_by_citycity (Japanese)Public toilets in a municipality (top 50 for large cities)
get_station_hazardstation_name (Japanese or romaji)Official MLIT hazard categories at a station (flood / liquefaction / storm-surge), relayed live, cached 14 days — no derived score. Landslide & tsunami are license-restricted (available:false + link to official maps). Not a substitute for official hazard maps.

REST endpoints

  • GET /v1/station-toilets/search?station=Shinjuku — accessible toilets in a Tokyo station
  • GET /v1/toilets/nearby?lat=&lng=&radius=&wheelchair=&ostomate=&diaper= — public toilets near a point
  • GET /v1/stations/{station_id}/hazard — official MLIT hazard categories at a station, relayed live (flood inundation-depth rank, liquefaction/landform, storm-surge presence). Values are returned verbatim from 国土交通省 不動産情報ライブラリ with attribution, cached 14 days — no derived score, and not a substitute for official hazard maps. Landslide & tsunami source layers are 一部非商用 (license-restricted), so they return available:false with a link to the official hazard maps. Also available as the MCP tool get_station_hazard(station_name). station_id comes from the Japan Station Master (e.g. st_00001); 423 of 425 stations have coordinates (2 remain unlocated → hazard: null).

All endpoints use the same Authorization: Bearer <key> and share one monthly quota. Full spec: /openapi.yaml, docs: /docs.

Example

curl -X POST https://api.gachi-tokusuru.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"get_toilet_by_station","arguments":{"station":"Shinjuku"}}}'

Pricing

Free 1k · Pro $19/100k · All Access $49/200k · Business $149/500k. Full details: https://api.gachi-tokusuru.com

Paid plans are self-serve: after Stripe checkout the customer is redirected to /activate?session_id=…, which verifies payment, resolves the plan from the paid amount, and issues the API key on the page (idempotent per session — reload shows the same key). No manual key handling.

Operational notes (internal)

  • Subscription cancellation is not yet wired to key revocation (no Stripe webhook in this build). A cancelled subscriber's key keeps working until manually disabled. Reconcile monthly: compare Stripe's active subscriptions against issued key:* records and disable keys for lapsed subscribers. A customer.subscription.deleted webhook → auto-revoke is the next phase.
  • Plan detection in /activate is by paid amount (AMOUNT_TO_PLAN: $19/$49/$149). If a new plan reuses an existing amount, add an explicit mapping.

Licensing (two layers — read carefully)

  • Code in this repository: MIT (see LICENSE). Applies to the server code only.
  • Data returned by the API is NOT MIT. Each value carries its source in the response attribution. It is derived from:
  • Derived by gachi-tokusuru.com (distinct from the official values above): nearest_exit, nearest_station_km, and bus-stop counts are computed via spatial join.
  • Attribution is returned in every API response. Timeliness, accuracy and completeness are not guaranteed.

Tools it offers (10)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • ping
  • get_municipality_context
  • get_station_context
  • get_toilet_by_station
  • get_public_toilet_by_city
  • get_station_hazard
  • station_search
  • get_active_alerts
  • get_station_alerts
  • get_train_status

Signals

GitHub stars
1
Last commit
Aug 2026
Advanced
Delivery
japan-data-api MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
com-gachi-tokusuru-japan-data-api
Source
github.com/eng213035/gachi-data-api
Hosted endpoint
https://api.gachi-tokusuru.com/mcp