返回顶部
e

estat-mcp

Search and retrieve Japanese government statistics (人口, GDP, CPI, 貿易, 雇用) from e-Stat API — Japan's official open data portal with 3,000+ statistical tables. Population, economy, trade, employment data. Free API.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.2
安全检测
已通过
870
下载量
0
收藏
概述
安装方式
版本历史

estat-mcp

# e-Stat: Japanese Government Statistics API Search and fetch official statistics from e-Stat (政府統計の総合窓口), Japan's central portal for government open data. Covers population, GDP, CPI, trade, labor, and 3,000+ statistical tables from all ministries. ## Use Cases - Look up Japan's population by prefecture and year - Compare CPI (消費者物価指数) trends over time - Fetch GDP and national accounts data for economic analysis - Retrieve trade statistics (輸出入) by commodity or country - Access labor force survey data (完全失業率, 就業者数) ## Commands ### Search for statistics ```bash # Search by keyword (Japanese or English) estat-mcp search 人口 estat-mcp search "消費者物価指数" --limit 10 estat-mcp search GDP --format json ``` ### Fetch statistical data ```bash # Basic data fetch estat-mcp data 0003410379 # With filters (area=Tokyo, year=2024) estat-mcp data 0003410379 --cd-area 13000 --cd-time 2024000 # JSON output for programmatic use estat-mcp data 0003410379 --limit 50 --format json ``` ### Test connectivity ```bash estat-mcp test ``` ## Filter Parameters - `--cd-tab` — Table item code (表章事項コード) - `--cd-time` — Time code (時間軸事項コード). Example: `2024000` for 2024 - `--cd-area` — Area code (地域事項コード). Example: `13000` for Tokyo - `--cd-cat01` — Classification code 01 (分類事項01コード) ## Common Statistics Find table IDs via `estat-mcp search`: | Topic | Search keyword | Examples | |---|---|---| | Population (人口) | `人口推計` | Total, by age, by prefecture | | CPI (物価) | `消費者物価指数` | Monthly/annual price indices | | GDP (国民経済計算) | `国民経済計算` | Nominal/real GDP, expenditure | | Labor (労働) | `労働力調査` | Unemployment, employment | | Trade (貿易) | `貿易統計` | Imports/exports by country | ## Workflow 1. `estat-mcp search <keyword>` → find statistics table ID 2. `estat-mcp data <id> --format json` → fetch data with filters 3. Analyze the JSON output ## Setup - Requires `ESTAT_APP_ID` environment variable - Free API key registration: https://www.e-stat.go.jp/api/api-info/use-api - Rate limited to 1 req/sec - Python package: `pip install estat-mcp` or `uv tool install estat-mcp`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 estat-mcp-1776420022 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 estat-mcp-1776420022 技能

通过命令行安装

skillhub install estat-mcp-1776420022

下载 Zip 包

⬇ 下载 estat-mcp v0.2.2

文件大小: 2.04 KB | 发布时间: 2026-4-17 18:35

v0.2.2 最新 2026-4-17 18:35
Add int→str coercion for stats_id parameters

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部