npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mameta/japan-data-mcp

v1.1.0

Published

MCP server exposing the agentic-jp.com suite of x402-paid Japan data APIs (address, furigana, transit, Diet, holiday, weather, corporate-number) as tools for AI agents. Payments are settled automatically over x402 using the operator's own wallet.

Readme

japan-data-mcp

npm version license

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 — 30 tools across 7 APIs

| API | Tools | What it does | |---|---|---| | address | address_normalize, address_geocode, address_reverse_geocode, address_postal_code, address_parse | Japanese address normalization, geocoding, postal-code lookup, free-form parsing | | furigana | furigana_convert, furigana_name_readings, furigana_classify | Reading conversion, name readings, text classification | | transit | transit_station_status, transit_line_disruptions, transit_route_plan, transit_alternative_routes, transit_lines, transit_stations_search | Real-time rail delays + delay-aware route planning (ODPT) | | diet | diet_member, diet_members_search, diet_minutes_search, diet_minutes_summarize, diet_topic_track, | National Diet members, proceedings, AI summaries, votes | | holiday | holiday_is_holiday, holiday_list, holiday_add_business_days, holiday_business_days_between | Public holidays + business-day math | | weather | weather_forecast, weather_warnings, weather_areas | JMA forecasts and warnings | | houjin | houjin_corporation, houjin_search, houjin_verify | Corporate-number (法人番号) registry — 5.78M corporations |

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 30 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 + diet_minutes_summarize

Configuration

| Env var | Required | Description | |---|---|---| | EVM_PRIVATE_KEY | for paid tools | Private 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