mcpField
J
Japan Data MCP

Japan Data MCP

Local
agentic-jp.comMaps & Travel2Updated 14w ago

About Japan Data MCP

Japan Data MCP is a server for agents that need data from Japanese public and business information APIs. It groups address, reading, transit, Diet, holiday, weather, and corporate registry tools, with per-call payments handled through x402.

Key features

  1. 01Normalize and geocode Japanese addresses
  2. 02Convert readings and classify text
  3. 03Check rail disruptions and plan routes
  4. 04Search Diet members and proceedings
  5. 05Query holidays, weather, and company records

Use cases

  1. 01Finding a Japanese address from free-form text
  2. 02Planning transit around rail delays
  3. 03Checking Japanese business days or weather
  4. 04Verifying a corporation or searching Diet records

MCP support

The stdio MCP server exposes 28 tools across seven Japanese data APIs. Paid API calls are settled per use through x402 using a configured wallet; without one, paid tools are disabled.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"mameta29-japan-data": {
"command": "npx",
"args": [
"-y",
"@mameta/japan-data-mcp"
],
"env": {
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}
Run commandnpx -y @mameta/japan-data-mcp
Environment variables to set
EVM_PRIVATE_KEYSecretPrivate key of a USDC-funded wallet used to pay per-call x402 fees. Optional: without it the server starts and lists all tools, but paid tool calls return a 'payments disabled' error.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mameta/japan-data-mcp1.1.0

Tools

30

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
addressstringYesA Japanese address string, any common notation.

Details

From the project README

japan-data-mcp

npm version license Japan Furigana API on x402-list

npm: @mameta/japan-data-mcp · MCP Registry: io.github.Mameta29/japan-data-mcp · transport: stdio

An MCP server that gives AI agents (Claude Desktop, Cursor, Cline, …) one-call access to the agentic-jp.com suite of Japanese data APIs. Every call is settled per-use over the x402 payment protocol — no account, no subscription, no API key.

What it covers — 28 tools across 7 APIs

APIToolsWhat it does
addressaddress_normalize, address_geocode, address_reverse_geocode, address_postal_code, address_parseJapanese address normalization, geocoding, postal-code lookup, free-form parsing
furiganafurigana_convert, furigana_name_readings, furigana_classifyReading conversion, name readings, text classification
transittransit_station_status, transit_line_disruptions, transit_route_plan, transit_alternative_routes, transit_lines, transit_stations_searchReal-time rail delays + delay-aware route planning (ODPT)
dietdiet_member, diet_members_search, diet_minutes_searchNational Diet members and full-text proceedings search
holidayholiday_is_holiday, holiday_list, holiday_add_business_days, holiday_business_days_betweenPublic holidays + business-day math
weatherweather_forecast, weather_warnings, weather_areasJMA forecasts and warnings
houjinhoujin_corporation, houjin_search, houjin_verify, houjin_kyb_reportCorporate-number (法人番号) registry — 5.78M corporations, one-call KYB report

How payment works

x402 is a buyer-pays protocol. This MCP server holds your wallet and pays each API call transparently — the agent never sees a payment prompt. Calls cost roughly $0.001–$0.10 each (mostly sub-cent), settled in USDC on Base.

  • You fund a wallet with a small amount of USDC.
  • You set EVM_PRIVATE_KEY to that wallet's key.
  • The server pays as it goes; per-call cost is well under a cent for most tools.

Without EVM_PRIVATE_KEY the server still starts and lists every tool, but a paid tool call returns a clear "payment not configured" message — nothing is charged.

Security: the key in EVM_PRIVATE_KEY can spend that wallet's funds. Use a dedicated wallet funded with only what you intend to spend — never a primary wallet.

Setup

No install step — npx fetches and runs the server on demand.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "japan-data": {
      "command": "npx",
      "args": ["-y", "@mameta/japan-data-mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0xYOUR_FUNDED_WALLET_KEY"
      }
    }
  }
}

Without EVM_PRIVATE_KEY the server still starts and lists all 28 tools; the paid tools then return a clear "payments disabled" error instead of running. Add a USDC-funded wallet key to enable them.

Cursor / Cline

Point the MCP client at npx -y @mameta/japan-data-mcp with the same EVM_PRIVATE_KEY env var. Transport is stdio.

From source
git clone https://github.com/Mameta29/japan-data-mcp.git
cd japan-data-mcp
npm install && npm run build
# then point the MCP client at: node /abs/path/to/dist/index.js

Example prompts

Once connected, just ask the agent in natural language:

  • "「東京都千代田区丸の内1-1」を正規化して緯度経度も出して" — address_normalize + address_geocode
  • "Is tomorrow a public holiday in Japan? If so, when is the next business day?" — holiday_is_holiday + holiday_add_business_days
  • "山手線いま遅れてる?渋谷から東京駅までの代替ルートは?" — transit_line_disruptions + transit_alternative_routes
  • "Look up the corporation with corporate number 7010401056220" — houjin_corporation
  • "国会で「デジタル庁」がいつどの委員会で議論されたか調べて" — diet_minutes_search

Configuration

Env varRequiredDescription
EVM_PRIVATE_KEYfor paid toolsPrivate key of a USDC-funded wallet (Base / Polygon). Paid tools are disabled if absent.

Development

npm run dev        # run from source with tsx
npm run typecheck  # tsc --noEmit
npm run build      # compile to dist/

License

Apache-2.0

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.