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.

3,891 stars

Best use case

estat-mcp is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using estat-mcp should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/estat-mcp/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/ajtgjmdjp/estat-mcp/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/estat-mcp/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How estat-mcp Compares

Feature / Agentestat-mcpStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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`

Related Skills

runtime-attestation-probe

3891
from openclaw/skills

Helps validate that agent behavior at runtime matches the capabilities and constraints declared in its attestation. Detects divergence between what an agent claims to do and what it actually does during execution, catching the class of attacks that passes static analysis but activates conditionally at runtime.

attestation-root-diversity-analyzer

3891
from openclaw/skills

Helps measure the concentration of trust roots in a skill's attestation graph — identifying monoculture risk where a single compromised root invalidates an entire chain that appears to have multiple validators.

attestation-chain-auditor

3891
from openclaw/skills

Helps validate the completeness and integrity of trust attestation chains in AI agent ecosystems. Identifies broken links, expired credentials, and missing vouching relationships that make verified trust claims unverifiable.

realestate

3891
from openclaw/skills

Real estate transaction support with affordability analysis, property evaluation, and offer strategy. Use when user mentions buying a home, selling property, house hunting, mortgages, inspections, or rental agreements. Calculates true affordability, evaluates properties systematically, builds offer strategies, reviews contracts, and tracks transaction milestones. NEVER provides investment advice.

estate

3891
from openclaw/skills

The Sovereign Asset & Title Management Engine. Orchestrating the lifecycle of physical property, digital legacies, and high-value estates across jurisdictional boundaries.

real-estate-showing-brief

3891
from openclaw/skills

为房产带看前整理买家画像、关注点、路线与现场提问清单。;use for real-estate, showing, brief workflows;do not use for 编造房源信息, 替代正式法律披露.

Real Estate Investment & Operations Engine

3891
from openclaw/skills

> Complete real estate system — from deal sourcing through portfolio management. Covers buying, selling, investing, landlording, and development with actionable frameworks, calculators, and templates.

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

tavily-search

3891
from openclaw/skills

Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.

Data & Research

baidu-search

3891
from openclaw/skills

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

Data & Research