mcp-server-zipcode-jp
by tanish-kr
README.md
# mcp-server-zipcode-jp
日本の郵便番号を検索するための Model Context Protocol (MCP) サーバです。
[zipcloud](https://zipcloud.ibsnet.co.jp/doc/api) の郵便番号検索 API を使用して、住所情報を取得します。
## 特徴
- 日本の郵便番号(7桁)から住所情報を検索
- Model Context Protocol (MCP) に準拠
## インストール
```bash
npm install
npm run build
```
## 設定
### Claude Desktop での使用
`~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) に以下の設定を追加してください。
```json
{
"mcpServers": {
"zipcode-jp": {
"command": "node",
"args": ["/path/to/mcp-server-zipcode-jp/build/index.js"]
}
}
}
```
※ `/path/to/mcp-server-zipcode-jp` は、このプロジェクトをクローンした実際のパスに置き換えてください。
## 利用可能なツール
### `search_zip_code`
郵便番号から住所情報を検索します。
**引数:**
- `zipCode` (string): 7桁の郵便番号(ハイフンあり/なし両対応)
**レスポンス例:**
```json
{
"results": [
{
"address1": "東京都",
"address2": "新宿区",
"address3": "西新宿",
"kana1": "トウキョウト",
"kana2": "シンジュクク",
"kana3": "ニシシンジュク",
"prefcode": "13",
"zipcode": "1600023"
}
],
"status": 200,
"message": null
}
```
<img width="866" height="571" alt="Image" src="https://github.com/user-attachments/assets/fc022c8a-6a14-43e5-ac25-4e04a6629192" />
## 開発
### ビルド
```bash
npm run build
```
## ライセンス
ISC
TDQS
B3.1/5.0
Scored across 1 tool
Disambiguation5/5
With only one tool, there is no risk of ambiguity. The single tool's purpose is clear and distinct by default.
Naming Consistency5/5
The single tool name 'search_zip_code' follows a consistent verb_noun pattern, which is clear and predictable.
Tool Count3/5
A single tool for a zip code server feels minimal. While search might be sufficient, the scope is thin compared to typical CRUD or lookup services for zip codes.
Completeness2/5
The tool surface appears incomplete for a comprehensive zip code service. Missing operations like get_by_code, reverse lookup, or list prefectures limit the agent's ability to perform related tasks.
Maintenance
ActivityInactive
ResponsivenessNo issues