BOJ: Bank of Japan Statistical Data
Access Bank of Japan time-series statistics from the official flat file download service. Covers price indices (CGPI, SPPI), flow of funds, balance of payments, international investment position, BIS statistics, and TANKAN survey data.
Use Cases
- - Look up Corporate Goods Price Index (CGPI/企業物価指数) trends
- Analyze Services Producer Price Index (SPPI/企業向けサービス価格指数)
- Retrieve Flow of Funds data (資金循環統計)
- Access Balance of Payments statistics (国際収支統計)
- Review BIS international statistics
- Explore TANKAN survey results (短観)
Commands
List available datasets
CODEBLOCK0
Download and display data
CODEBLOCK1
Search for series
CODEBLOCK2
Test connectivity
CODEBLOCK3
Available Dataset Categories
| Category | Prefix | Description |
|---|
| Prices | cgpi, sppi, cspi, rop | Corporate/Services price indices |
| Surveys |
co | TANKAN (Short-term Economic Survey) |
|
Flow of Funds | fof | Financial assets & liabilities |
|
Balance of Payments | bp | International transactions |
|
International Investment | qiip | International investment position |
|
BIS Statistics | bis | BIS international banking/debt |
|
Money Stock | md | Money stock statistics |
|
Interest Rates | ir | Various interest rates |
Workflow
- 1.
boj-mcp datasets -> browse available datasets - INLINECODE1 -> find relevant series
- INLINECODE2 -> retrieve data
Important
- - No API key required — BOJ flat files are publicly available
- Data is cached locally after first download for faster subsequent access
- Files are in Shift_JIS encoding (handled automatically)
- Data source: Bank of Japan (https://www.stat-search.boj.or.jp/)
- Python package:
pip install boj-mcp or INLINECODE4
技能名称: boj-mcp
详细描述:
日本银行:日本银行统计数据
通过官方平面文件下载服务获取日本银行的时间序列统计数据。涵盖价格指数(CGPI、SPPI)、资金循环、国际收支、国际投资头寸、BIS统计以及短观调查数据。
使用场景
- - 查询企业商品价格指数(CGPI/企業物価指数)趋势
- 分析企业服务价格指数(SPPI/企業向けサービス価格指数)
- 获取资金循环统计数据(資金循環統計)
- 访问国际收支统计(国際収支統計)
- 查看BIS国际统计数据
- 探索短观调查结果(短観)
命令
列出可用数据集
bash
显示所有可用的BOJ平面文件数据集
boj-mcp datasets
下载并显示数据
bash
以表格格式显示数据集
boj-mcp data cgpi
men
JSON输出,显示更多行
boj-mcp data sppi
men --format json --rows 50
搜索序列
bash
在特定数据集中搜索
boj-mcp search electricity --dataset cgpi
men
按名称跨数据集搜索
boj-mcp search price
测试连接
bash
boj-mcp test
可用数据集分类
| 分类 | 前缀 | 描述 |
|---|
| 价格 | cgpi, sppi, cspi, rop | 企业/服务价格指数 |
| 调查 |
co | 短观(短期经济调查) |
|
资金循环 | fof | 金融资产与负债 |
|
国际收支 | bp | 国际交易 |
|
国际投资 | qiip | 国际投资头寸 |
|
BIS统计 | bis | BIS国际银行/债务 |
|
货币供应量 | md | 货币供应量统计 |
|
利率 | ir | 各类利率 |
工作流程
- 1. boj-mcp datasets -> 浏览可用数据集
- boj-mcp search <关键词> -> 查找相关序列
- boj-mcp data <数据集名称> -> 检索数据
重要事项
- - 无需API密钥——BOJ平面文件公开可用
- 首次下载后数据会本地缓存,便于后续快速访问
- 文件采用Shift_JIS编码(自动处理)
- 数据来源:日本银行(https://www.stat-search.boj.or.jp/)
- Python包:pip install boj-mcp 或 uv tool install boj-mcp