AE

ajtgjmdjp/estat-mcp

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

10 stars 5 forks Quality 81 Trend 26Apache-2.0

e-Stat API client and MCP server for Japanese government statistics (政府統計の総合窓口)

Overview

e-Stat (政府統計の総合窓口) API client and MCP server for Japanese government statistics. 📝 日本語チュートリアル: Claude に聞くだけで GDP や CPI がわかる (Zenn) provides programmatic access to Japan's official statistics portal (e-Stat), which hosts 3,000+ statistical tables covering population, economy, prices, labor, agriculture, and regional data. It exposes these as both a Python async client and an MCP server for AI assistants. - Search statistics by keyword (人口, GDP, CPI, etc.) - Retrieve metadata to understand table structure (表章事項, 分類事項, 時間軸, 地域) - Fetch statistical data with automatic pagination for large datasets - with Polars/pandas DataFrame export - built-in for API compliance - MCP server with 4 tools for Claude Desktop and other AI tools Claude Desktop (~⁠/Library/Application Support/Claude/claude_desktop_config.json) Then ask your AI: "日本の人口統計を教えて" or "東京の最新CPIは?" For large datasets, use get_all_data() to automatically fetch all pages: e-Stat provides access to 3,000+ statistical tables:

Install

uvx estat-mcp serve
New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "estat": { "command": "uvx", "args": ["estat-mcp", "serve"], "env": { "ESTAT_APP_ID": "your_app_id_here" } } } }