
cygkichi/estat-mcp-server
API developmentThis page was translated automatically. Technical details may differ from the original. View the original
Model Context Protocol (MCP) Server, providing functionality to access the API of Japan's government statistics portal site "e-Stat." Language models will be able to search for and retrieve statistical data.
Overview
Model Context Protocol (MCP) Server, providing functionality to access the API of Japan's government statistics portal site "e-Stat." Language models will be able to search for and retrieve statistical data. - search_e_stat_tables: Search statistical tables by keyword and survey year - get_e_stat_meta_info: Retrieve metadata corresponding to statistical table IDs - get_specific_e_stat_data: Retrieve statistical data corresponding to statistical table IDs or dataset IDs - get_e_stat_ref_dataset: Refer to dataset filtering conditions, etc. - get_e_stat_data_catalog: Retrieve information from statistical table files and statistical databases To use this server, you need the application ID for the e-Stat API. You can obtain it by following these steps: 1. Access the e-Stat API features 2. Register as a user 3. Agree to the terms of use and obtain the application ID - On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json - On Windows: %APPDATA%/Claude/claude_desktop_config.json - "Search for Tokyo's 2023 demographic statistics" - "Get statistics on ice cream demand" - "Compare aging rates by prefecture" This project is provided under the MIT License — see the LICENSE file for details.
Overview (machine translated)
Model Context Protocol (MCP) Server, providing functionality to access the API of Japan’s government statistics portal site “e-Stat.” Language models will be able to search for and retrieve statistical data.
Tools
This server offers the following tools:
search_e_stat_tables] : Search statistical tables by keyword and survey yearget_e_stat_meta_info: Retrieves the metainformation corresponding to the statistical table IDget_specific_e_stat_data] : Retrieves statistical data corresponding to the statistical table ID or dataset IDget_e_stat_ref_dataset] : Refers to the filtering conditions for the dataset, etc.get_e_stat_data_catalog: Retrieves information from statistical table files and statistical databases
How to Use
To use this server, you need the application ID for the e-Stat API. You can obtain it by following these steps:
- Access the e-Stat API features
- Register as a user
- Agree to the Terms of Use and Obtain Application ID
Claude Desktop
- On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
Usage Examples
After connecting, you can ask Claude questions such as:
- “Search for Tokyo’s 2023 Population Statistics”
- “Obtaining statistics on ice cream demand”
- “Comparing Aging Rates by Prefecture”
License
This project is offered under the MIT license
- For details, please refer to the LICENSE file.
This page was translated automatically. Technical details may differ from the original.
Install
uvx estat-mcp-serverConfiguration
{
"mcpServers": {
"e-stat": {
"command": "uv",
"args": [
"--directory",
"/path/to/estat-mcp-server",
"run",
"server.py"
],
"env": {
"E_STAT_APP_ID": "YOUR_E_STAT_APP_ID"
}
}
}
}