Skip to main content
Glama
Japan Business Intelligence MCP Server

Japan Business Intelligence MCP Server

by SUPi5460
README.md
# Japan Business Intelligence MCP Server

> Access Japanese government statistics, economic indicators, holidays, and business day calculations through the Model Context Protocol.

[![npm version](https://img.shields.io/npm/v/@makemoney/japan-business-intelligence-mcp.svg)](https://www.npmjs.com/package/@makemoney/japan-business-intelligence-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Features

- **11 tools** for Japanese business intelligence
- **e-Stat API** -- Search 700+ government statistical tables
- **Statistics Dashboard** -- Access 6,000+ indicators (NO API key required!)
- **Japanese Holidays** -- Full holiday calendar with business day calculations
- **Bilingual** -- Japanese and English support

## Quick Start

### Claude Desktop / Claude Code

Add to your MCP configuration:

```json
{
  "mcpServers": {
    "japan-bi": {
      "command": "npx",
      "args": ["-y", "@makemoney/japan-business-intelligence-mcp"],
      "env": {
        "ESTAT_APP_ID": "your-estat-api-key"
      }
    }
  }
}
```

### Get e-Stat API Key (Free)

1. Visit https://www.e-stat.go.jp/api/
2. Create an account
3. Generate an appId from your dashboard

> **Note:** Statistics Dashboard and Holiday tools work WITHOUT any API key!

## Tools

### Japanese Holidays (No API key needed)

| Tool | Description |
|------|-------------|
| `get_holidays` | Get all holidays for a year (1949-2150) |
| `is_holiday` | Check if a date is a holiday |
| `is_business_day` | Check if a date is a business day |
| `next_business_day` | Get next business day |
| `count_business_days` | Count business days between dates |

### Statistics Dashboard (No API key needed)

| Tool | Description |
|------|-------------|
| `search_indicators` | Search ~6,000 statistical indicators |
| `get_indicator_data` | Get time-series data for an indicator |
| `get_regions` | List all Japanese regions/prefectures |

### e-Stat API (Free API key required)

| Tool | Description |
|------|-------------|
| `search_statistics` | Search government statistical tables |
| `get_stats_data` | Get data from a statistics table |
| `get_meta_info` | Get metadata for a statistics table |

## Examples

### Check if tomorrow is a business day

```
"Is 2026-04-29 a business day in Japan?"
-> No, it's Showa Day (昭和の日)
```

### Find population statistics

```
"Search for population statistics on e-Stat"
-> Returns matching statistical tables with IDs
```

### Get GDP indicators

```
"Search for GDP indicators on the statistics dashboard"
-> Returns indicator codes for GDP-related data
```

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `ESTAT_APP_ID` | For e-Stat tools | Free API key from e-stat.go.jp |

## Data Sources

- [e-Stat](https://www.e-stat.go.jp/) -- Japan's official statistics portal
- [Statistics Dashboard](https://dashboard.e-stat.go.jp/) -- Pre-aggregated statistical indicators
- Japanese holiday calculations based on the Act on National Holidays

## License

MIT

TDQS

A3.7/5.0

Scored across 11 tools

Disambiguation4/5

The holidays/business-day tools are clearly distinct. The main ambiguity is between the parallel Statistics Dashboard tools (search_indicators, get_indicator_data) and e-Stat tools (search_statistics, get_stats_data, get_meta_info), which have similar patterns but different data sources. Descriptions clarify the distinction, but an agent must read carefully to avoid choosing the wrong source.

Naming Consistency4/5

Almost all tools use predictable snake_case with verb_noun patterns (get_holidays, search_indicators, get_stats_data). The is_ and next_ prefixes for predicates are natural and readable, but they are minor deviations from a strict verb_noun convention.

Tool Count5/5

Eleven tools is well-scoped for a Japan business intelligence server covering holidays, business-day calculations, and two statistics sources. Each tool has a clear, non-redundant role.

Completeness4/5

The holiday and business-day surface is complete, and both statistics sources cover search, data retrieval, and metadata/regions. A minor gap is that structural metadata lookup is only exposed for e-Stat tables, not directly for Statistics Dashboard indicators.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues