geojp MCP Server
MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.
geojp scores 56 (Fair), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under Maps and location. GitHub shows 0 stars. Package registries report about 48 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
66/100 for listing completeness. Lost points: 3 of 3 tools barely described, short summary, no docs link.
How quality is graded
Where the 56 comes from
22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "55tarkun-geojp-mcp": { "command": "npx", "args": [ "-y", "geojp-mcp@0.1.0" ], "env": { "GEOJP_API_KEY": "YOUR_GEOJP_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GEOJP_API_KEYSecret | Required | API key for ReverseGeoJP/ChibanJP, obtained at https://reversegeojp.com |
Tools3Tool docs quality grade F
All capabilitiesget_parceltoolChibanJP /parcel
lookup_locationtoolBoth, in parallel
reverse_geocodetoolReverseGeoJP /reverse
About
geojp-mcp
An MCP (Model Context Protocol) server that exposes two Japan-specific geodata APIs as tools for AI agents (Claude Code, Claude Desktop, and other MCP clients):
- ChibanJP — coordinates → chiban (地番, the official cadastral lot number recorded at Japan's Legal Affairs Bureau). Chiban rarely maps predictably to a residential address (住居表示) and is not exposed by most general-purpose geocoders.
- ReverseGeoJP — coordinates ⇄ Japanese address (reverse geocoding / forward geocoding).
Why chiban?
Japan uses two independent addressing systems: the residential address (住居表示) that appears on maps and mail, and the chiban — the cadastral lot number used in property registries, land transactions, and legal documents. The two do not follow a predictable pattern, so converting between them requires a dedicated lookup against registry map data, not a lookup table.
Chiban matters for real estate due diligence, land transaction platforms, and any workflow that touches Japan's registry system — a growing need as foreign investment in Japanese real estate rises. Most global geocoding APIs do not source chiban directly from registry map data, which is why this exists as a standalone tool.
Tools
| Tool | Backing API | Input | Returns |
|---|---|---|---|
get_parcel | ChibanJP /parcel | lat, lon | Chiban (cadastral lot number), ōaza/aza, municipality, and survey precision class for the containing parcel |
reverse_geocode | ReverseGeoJP /reverse | lat, lon | Nearest residential address (prefecture, municipality, district, postal code) |
geocode | ReverseGeoJP /geocode | address | Up to 10 candidate locations for a partial address match |
lookup_location | Both, in parallel | lat, lon | Address and chiban together in one call (an orchestration example — succeeds with address-only if the point falls outside ChibanJP's current coverage) |
All tools share a single API key. Get one at reversegeojp.com.
Two ways to run it
The tool definitions live in src/tools.ts and are shared by both entry points:
- Local (stdio) —
src/index.ts. Your MCP client launches it as a child process on your machine. One user, one API key. - Remote (HTTP, Cloudflare Workers) —
src/worker.ts. Already deployed athttps://mcp.reversegeojp.com; anyone can connect with their own API key, no build step required.
Setup (local/stdio)
npm install -g geojp-mcp
or, from source:
npm install
npm run build
The server reads the API key from the GEOJP_API_KEY environment variable. You normally don't run it directly — your MCP client starts it as a subprocess (see below).
Register with Claude Code
claude mcp add --scope user geojp -e GEOJP_API_KEY=your-api-key-here -- npx geojp-mcp
--scope user makes it available across all projects on your machine (omit it to register for the current project only). Verify with claude mcp list.
Argument order matters: -e/--env accepts multiple values, so it will swallow subsequent arguments if placed before the server name. Keep the order: add, then the server name, then -e.
Or configure manually in .mcp.json / ~/.claude.json:
{
"mcpServers": {
"geojp": {
"type": "stdio",
"command": "npx",
"args": ["geojp-mcp"],
"env": {
"GEOJP_API_KEY": "your-api-key-here"
}
}
}
}
Register with Claude Desktop
Add the same block to the mcpServers section of claude_desktop_config.json, then restart Claude Desktop. Four tools (reverse_geocode, geocode, get_parcel, lookup_location) become available.
Setup (remote/HTTP)
Connect directly to the hosted server with your own API key — no install or build required:
claude mcp add --scope user --transport http geojp-remote https://mcp.reversegeojp.com --header "Authorization: Bearer your-api-key-here"
Health check: GET https://mcp.reversegeojp.com/health.
Remote server design notes
- No bindings, stateless: the Worker holds no session state and uses no Durable Objects. Every call reads the API key from the
Authorizationheader and proxies straight through to the ReverseGeoJP/ChibanJP production APIs. This avoids the paid Workers plan that Durable Objects require, so it runs on the same free plan asreverse-geo-jp/chibanjpwith no added infrastructure cost (the more commonMcpAgentpattern fromagents-sdkassumes Durable Objects and a paid plan). - Web Standards transport: uses
@modelcontextprotocol/sdk'sWebStandardStreamableHTTPServerTransport, since the Node-onlyStreamableHTTPServerTransportdepends onhttp.IncomingMessage/ServerResponse, which don't exist in the Workers runtime. - Gotcha:
reversegeojp-client/chibanjp-clientdefault to holding a bare, unboundfetch(this.fetchImpl = options.fetch ?? fetch), which throws "Illegal invocation" on Cloudflare Workers. Fixed by passing an explicitly-boundfetchinto the client constructor options increateGeojpMcpServer()(seeboundFetchinsrc/tools.ts). Also fixed upstream ingeojp-api-clientsv0.1.1 (fetch.bind(globalThis));geojp-mcpdepends on that version, and keeps the localboundFetchas a harmless fallback.
Deploy / local dev
npm run worker:dev # local wrangler dev server (http://127.0.0.1:8787 etc.)
npm run worker:check # typecheck against the Workers tsconfig only
npm run worker:deploy # deploy to production
Smoke test (no API key required — wiring check only)
npm run smoke-test
Starts the server with a dummy key and confirms the tool list loads and a real API call correctly returns an invalid_api_key error.
Why this exists
ReverseGeoJP/ChibanJP were already running as APIs meant to be called directly by developers reading the docs. This project exposes them as MCP tools so AI agents can discover and call them automatically — reusing the existing production infrastructure while building hands-on MCP/agent-integration experience.
License
MIT
Frequently asked questions
What is geojp MCP Server?
MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.
How do I install geojp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. geojp MCP Server runs locally from the npm package geojp-mcp with the command npx -y geojp-mcp@0.1.0.
Is geojp MCP Server free and open source?
Yes. geojp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does geojp MCP Server support remote (HTTP) connections?
Yes. geojp MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does geojp MCP Server provide?
geojp MCP Server provides 3 tools: get_parcel, lookup_location, and reverse_geocode. See the full tool list for descriptions and parameters.
How is geojp MCP Server's trust score calculated?
geojp MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.