Japan Data MCP
Enables AI agents to query Japanese public data (laws, corporations, statistics) from official government APIs, returning normalized English metadata with source attribution.
README
Japan Data MCP
An MCP server that gives AI agents cross-source access to Japanese public data — law, corporations, and statistics — normalized to English metadata, with source attribution on every response.
Live endpoint: https://japan-data-mcp.netlify.app/mcp (MCP over Streamable HTTP)
Most authoritative Japanese public-data APIs return Japanese-only fields, which is a barrier for non-Japanese agents and tools. This server queries the official government APIs and returns clean, English-labelled structured metadata, so an AI agent can use Japanese law/corporation/statistics data without reading Japanese.
Tools
| Tool | Upstream source | API key | Status |
|---|---|---|---|
search_japanese_law |
e-Gov Law API | not required | Fully working (verified against the live API) |
search_corporation |
Corporate Number Web-API (National Tax Agency) | requires appId |
Works with a key; without one, returns English registration guidance |
search_statistics |
e-Stat API (Statistics Bureau) | requires appId |
Same as above |
Every response carries the required source attribution and disclaimer (Government Standard Terms of Use 2.0; the Corporate Number data's no-warranty note; e-Stat's mandatory credit line).
Use it
Point any MCP client at the live endpoint. Example client config:
{
"mcpServers": {
"japan-data": {
"type": "streamable-http",
"url": "https://japan-data-mcp.netlify.app/mcp"
}
}
}
A plain GET /mcp returns server info and the tool list (useful for liveness checks). Tool calls use JSON-RPC 2.0 over POST /mcp (initialize → tools/list → tools/call).
Quick check (no key needed — the law tool works without one):
curl -s https://japan-data-mcp.netlify.app/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_japanese_law","arguments":{"keyword":"個人情報保護","limit":2}}}'
Run locally
node test/local-test.mjs
ALL PASS means the MCP initialize / tools/list / tools/call respond and the law tool returns English metadata from the real e-Gov API.
Deploy
The server is a Web-standard fetch handler (export default { fetch(request, env) }), so it runs on either platform:
- Netlify (current live deployment): a thin adapter in
netlify/functions/mcp.mjsexposes it at/mcp. Deploy withnetlify deploy --prod. - Cloudflare Workers:
wrangler deploy(seewrangler.toml).
The two API keys are injected as environment variables (HOJIN_APP_ID, ESTAT_APP_ID); the law tool needs no key, so the server is useful even without them. Get the keys from the Corporate Number Web-API and e-Stat API.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.