# geojp [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/55tarkun/geojp-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 210  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/geojp

## Description
MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.

## Tools
Capabilities this server exposes over MCP:

- **reverse_geocode** — 緯度経度から最も近い町丁目の住所（都道府県・市区町村・町域・郵便番号）を返します。ReverseGeoJP APIを使用。境界内判定ではなく最近傍点を返す点に注意。
- **geocode** — 日本語の住所文字列（部分一致）から、候補となる町丁目と緯度経度を最大10件返します。ReverseGeoJP APIを使用。
- **get_parcel** — 緯度経度から、その地点を含む筆の地番・大字・市区町村・測量精度区分を返します。ChibanJP APIを使用。対応エリアは東京都・大阪府・北海道・愛知県・神奈川県・兵庫県・福岡県・長野県の8都道府県のみ。
- **lookup_location** — 緯度経度から、住所（ReverseGeoJP）と地番（ChibanJP）をまとめて調べます。2つの独立したAPIを並行に呼び出して1回の結果に統合します。ChibanJPは対応8都道府県外だとnot_foundになる点に注意（住所側は取得できる場合があります）。

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "geojp": {
    "command": "npx",
    "args": ["-y","geojp-mcp"],
    "env": {
      "GEOJP_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `GEOJP_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What geojp MCP server does

The geojp MCP server connects AI agents to two Japan-focused geodata services: ChibanJP for cadastral parcel information and ReverseGeoJP for address geocoding. Its tools cover both sides of a location workflow: coordinates can be converted into a residential address, a cadastral lot number, or both, while a partial address can be turned into candidate coordinates.

The distinction between residential addressing and chiban is important in Japan. A residential address is used for maps and mail, while chiban is the official cadastral lot number used in property registries, land transactions, and legal documents. These systems do not map predictably to one another, so an application that needs registry-oriented location data may need a dedicated parcel lookup.

## How it works

Four MCP tools are defined in shared tool code and can be served through either of two entry points:

- `get_parcel` sends latitude and longitude to ChibanJP and returns the containing parcel’s chiban, ōaza/aza, municipality, and survey precision class.
- `reverse_geocode` sends coordinates to ReverseGeoJP and returns the nearest residential address, including prefecture, municipality, district, and postal code.
- `geocode` accepts an address string and returns up to 10 candidate locations for a partial match.
- `lookup_location` calls both services in parallel and returns address and chiban data together. If the coordinate is outside ChibanJP’s current coverage, it can still succeed with address-only output.

All four tools use one API key. The key is obtained from reversegeojp.com and is passed to the underlying services by the MCP server.

## Setup and configuration

For local use, install the package globally with `npm install -g geojp-mcp`, or install dependencies from source and run the project build. Set `GEOJP_API_KEY` in the MCP client’s environment. In the stdio arrangement, the client launches `npx geojp-mcp` as a child process.

Claude Code can register the local process with `claude mcp add`, passing the key with `-e GEOJP_API_KEY=...`. The README also provides an `.mcp.json` or `~/.claude.json` configuration block. Claude Desktop uses the same `mcpServers` entry in `claude_desktop_config.json`; restart the application after adding it.

The hosted option is available at `https://mcp.reversegeojp.com`. It uses streamable HTTP and expects the key in an `Authorization: Bearer ...` header, so no local installation or build is required. The `/health` endpoint provides a basic health check. Local Worker development and deployment are available through the project’s `worker:dev`, `worker:check`, and `worker:deploy` scripts.

## Tools and capabilities

The geojp MCP server is suited to workflows that need Japan-specific location enrichment, such as checking a parcel associated with coordinates, adding a postal address to a map point, matching an incomplete Japanese address, or retrieving both address and cadastral context in one call. `lookup_location` is an orchestration example rather than a separate geodata API; it combines the two backing services.

A smoke-test script can verify that the tool list loads and that API calls are wired correctly. It uses a dummy key and does not validate successful data access; its expected API response is an `invalid_api_key` error.

## Limitations and notes

ChibanJP does not necessarily cover every coordinate. When a point is outside its current coverage, `lookup_location` may return only the residential address. Chiban and residential address values should therefore be treated as different data fields rather than interchangeable formats.

The remote Worker is stateless and does not retain session state. Each request reads its API key from the authorization header and proxies to the production APIs. A real API key is required for data calls; the smoke test is only a wiring check. The project is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/geojp/readme_

