realestate_municipalities
Pack: realestate · Endpoint: https://gateway.pipeworx.io/realestate/mcp
List the cities/wards (and their 5-digit municipality codes) within a Japanese prefecture, from MLIT’s 不動産情報ライブラリ. Use to resolve a city code for realestate_transactions (e.g. find that Chuo-ku, Tokyo = 13102). Pass a prefecture name (e.g. “Tokyo”) or 2-digit code (01-47).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
prefecture | string | yes | Prefecture name (e.g. “Tokyo”) or 2-digit code (01-47). |
Example call
Arguments
{
"prefecture": "Tokyo",
"_apiKey": "your-realestate-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/realestate/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"realestate_municipalities","arguments":{"prefecture":"Tokyo","_apiKey":"your-realestate-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('realestate_municipalities', {
"prefecture": "Tokyo",
"_apiKey": "your-realestate-api-key"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"realestate": {
"url": "https://gateway.pipeworx.io/realestate/mcp"
}
}
}
See Getting Started for client-specific install steps.