official.tokyo.jp

v1.0.4
io.github.dror-jp/official-tokyo-mcp Checked 1 day ago Published 22 days ago

Human-verified guide to official procedures in Tokyo for foreign residents.

A dependency-free Model Context Protocol server that gives AI agents direct, verified answers about official procedures in Tokyo — instead of searching and scraping. Data comes from the free API at https://official.tokyo.jp/api/ (CC BY 4.0, cached for 1 hour). Every response carries the site's disclaimer and last_verified dates. official.tokyo.jp is an independent, non-government guide run by DroR Corporation; if anything differs from an official page, the official page is correct. Streamable HTTP endpoint, no authentication: https://mcp.official.tokyo.jp/mcp

Summary extracted from the README.

@dror-jp/official-tokyo-mcp

A dependency-free Model Context Protocol server that gives AI agents direct, verified answers about official procedures in Tokyo — instead of searching and scraping.

Data comes from the free API at https://official.tokyo.jp/api/ (CC BY 4.0, cached for 1 hour). Every response carries the site's disclaimer and last_verified dates. official.tokyo.jp is an independent, non-government guide run by DroR Corporation; if anything differs from an official page, the official page is correct.

Remote (no install)

Streamable HTTP endpoint, no authentication: https://mcp.official.tokyo.jp/mcp

Add it as a custom connector in Claude (Settings → Connectors) or any MCP client that supports remote servers. Same tools and data as the npm package below.

Setup (local, npm)

Requires Node.js 18+.

// Claude Desktop / Claude Code / any MCP client
{
  "mcpServers": {
    "official-tokyo": {
      "command": "npx",
      "args": ["-y", "@dror-jp/official-tokyo-mcp"]
    }
  }
}

Tools

Tool What it returns
list_procedures(category?) All procedures with stable IDs and one-line summaries
get_procedure(id) Steps, deadline, cost, human-verified official links
get_ward(ward) Ward office + foreign residents' desk (address, phone, hours, languages)
search_glossary(query) Japanese terms from official documents, explained
get_emergency_contacts() 119, #7119, TMC Navi and verified emergency pages

Local development

Run against a locally built copy of the site:

node server.mjs --data ../public/api

License

MIT (server code). The data it serves is CC BY 4.0 — attribution: official.tokyo.jp (DroR Corporation).