Japan Area Code

Provides access to Japanese statistical area codes with list and find tools for MCP clients.
  • javascript

0

GitHub Stars

javascript

Language

6 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "cordea-japan-areacode-mcp": {
      "command": "node",
      "args": [
        "/path/to/japan-areacode-mcp/dist/index.js"
      ]
    }
  }
}

You set up a dedicated MCP server that exposes Japanese statistical area codes (標準地域コード). It provides tools to list all codes and to search by prefecture or municipality, giving you quick programmatic access for internal apps, data pipelines, or dashboards.

How to use

Start the server using a local MCP client, then call the available tools to list all area codes or search for a specific prefecture or municipality. The server returns structured results you can consume in your application, enabling fast lookups, data joins, or validation against official area codes.

How to install

Prerequisites: you need Node.js and npm installed on your system.

Install Node.js and npm if they are not already present on your machine. You can verify installation with these commands.

node -v
npm -v

Clone or download the package containing the MCP server, then install dependencies and build the project.

git clone https://example.com/cordea/japan-areacode-mcp.git
cd japan-areacode-mcp
npm install
npm run build

Configure your MCP client to include the server entry shown in the next step, then start using the tools.

Configuration and usage details

To connect from an MCP-compatible client, you configure the MCP server entry to point to the local runtime. Use the following configuration snippet as the MCP entry in your client’s configuration file.

{
  "mcpServers": {
    "japan-areacode-mcp": {
      "command": "node",
      "args": ["/path/to/japan-areacode-mcp/dist/index.js"]
    }
  }
}

Notes on usage

Replace /path/to/japan-areacode-mcp with the actual directory where you built the project. Ensure the path points to the compiled entry file that starts the MCP server. Once the server is running, you can invoke the available tools: list-areacode to enumerate all codes and find-areacode to search by prefecture or municipality name.

Tools provided

list-areacode: Lists all area codes from the official CSV source. find-areacode: Searches for an area code by prefecture, municipality, or yomigana.

Security and maintenance

Keep the runtime up to date by applying security patches and rebuilding as needed. If you expose this MCP server beyond a private network, implement access controls and monitor usage to prevent abuse.

Troubleshooting

If the server fails to start, verify that the compiled entry file exists at the path you configured and that your Node.js environment has the necessary permissions. Check the logs emitted by the MCP client for error messages and confirm that dependencies were installed successfully during npm install.

Available tools

list-areacode

Lists all area codes from the official Japanese government CSV file.

find-areacode

Finds an area code by searching for a prefecture or municipality name.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational