AE

ajtgjmdjp/estat-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 5 forks 质量 81 趋势 16Apache-2.0

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

概览

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:

安装

uvx estat-mcp serve
新手?先看 mcpskill.org 教程 →

配置

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