← 返回 Skills 市场
ajtgjmdjp

Estat Mcp

作者 ajtgjmdjp · GitHub ↗ · v0.2.2
cross-platform ✓ 安全检测通过
1251
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install 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....
使用说明 (SKILL.md)

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

# Search by keyword (Japanese or English)
estat-mcp search 人口
estat-mcp search "消費者物価指数" --limit 10
estat-mcp search GDP --format json

Fetch statistical data

# 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

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 \x3Ckeyword> → find statistics table ID
  2. estat-mcp data \x3Cid> --format json → fetch data with filters
  3. Analyze the JSON output

Setup

安全使用建议
This skill appears coherent for accessing Japan's e-Stat API. Before installing: (1) verify the estat-mcp package source (PyPI or an official repository/GitHub) so you know what code will be installed; (2) only provide a valid e-Stat API key (ESTAT_APP_ID) and avoid sharing other secrets; (3) after install, run `estat-mcp test` and inspect what network endpoints the binary calls if possible; (4) if you want stronger assurance, review the package code or use a sandboxed environment. Note that the agent may invoke the skill autonomously (normal behavior), so consider whether you want that enabled for this agent.
功能分析
Type: OpenClaw Skill Name: estat-mcp Version: 0.2.2 The skill bundle is benign. It describes a legitimate purpose: fetching Japanese government statistics using the `estat-mcp` tool. The `SKILL.md` file provides standard instructions for the OpenClaw agent to install the `estat-mcp` Python package via `uv` and requires an `ESTAT_APP_ID` environment variable, which is typical for API-based tools. There is no evidence of prompt injection with malicious intent, data exfiltration, unauthorized execution, or other harmful behaviors within the provided files.
能力评估
Purpose & Capability
Name/description (e-Stat API client) match the declared binary (estat-mcp) and the documented commands. Requiring an e-Stat API key (ESTAT_APP_ID) is expected for this purpose.
Instruction Scope
SKILL.md contains only usage instructions for the estat-mcp CLI, the required ESTAT_APP_ID, and install hints (pip/uv). It does not instruct reading unrelated files, sweeping environment variables, or sending data to unexpected endpoints.
Install Mechanism
Install spec uses a 'uv' package installer to provide the estat-mcp binary and SKILL.md also mentions 'pip install estat-mcp'. Installing a single named package that creates the expected binary is reasonable, but 'uv' is less common than pip/standard package managers — verify the package source before installing.
Credentials
Only one env var is required: ESTAT_APP_ID, which is the e-Stat API key documented in the SKILL.md. No unrelated credentials or config paths are requested.
Persistence & Privilege
Skill does not request permanent/always-on presence (always:false) and does not modify other skills or system-wide settings. Autonomous invocation is allowed by default (normal) and not by itself a concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install estat-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /estat-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.2
Add int→str coercion for stats_id parameters
v0.2.1
Fix lifespan resource cleanup, add py.typed marker
v0.2.0
Version alignment: e-Stat API credit notice added, security improvements
v0.4.1
- Improved documentation for estat-mcp, detailing search and data retrieval commands for Japanese government statistics from the e-Stat API. - Added example use cases covering population, GDP, CPI, trade, and labor statistics. - Clarified available filter parameters and common search keywords. - Provided workflow guidance and setup instructions, including API key requirements and installation options.
元数据
Slug estat-mcp
版本 0.2.2
许可证
累计安装 0
当前安装数 0
历史版本数 4
常见问题

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.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1251 次。

如何安装 Estat Mcp?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install estat-mcp」即可一键安装,无需额外配置。

Estat Mcp 是免费的吗?

是的,Estat Mcp 完全免费(开源免费),可自由下载、安装和使用。

Estat Mcp 支持哪些平台?

Estat Mcp 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Estat Mcp?

由 ajtgjmdjp(@ajtgjmdjp)开发并维护,当前版本 v0.2.2。

💬 留言讨论