Scan your whole stack
From OX Research Newsroom
Latest version: v0.2.0
io.github.cyanheads/bank-of-japan-mcp-server was last scanned on 30 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 30 Nov 2026 | 1 rule fired |
| 0.1.1 | 30 Nov 2026 | 1 rule fired |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording such as "skip validation", "chmod 777" or disabling certificate checks. It does not tell advice apart from examples, warnings or lists of things to avoid. Not reviewed by a person.
LOWThe score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Statistics from the Bank of Japan's Time-Series Data Search, across all 50 of its databases. Search series metadata in English or Japanese, pull observations at each series' published frequency, select Tankan survey series by industry and firm size, and read realized overnight call rates alongside the basic discount and loan rate. Large observation windows can be staged as DuckDB tables and queried with SQL. Runs as a stdio process or a local Streamable HTTP server, with no API key.
| Tool | Description |
|---|---|
boj_search_series |
Find series by code or English and Japanese keywords, filtered by database and frequency |
boj_get_series_observations |
Fetch observations by series code or database branch, at each series' native frequency |
boj_get_tankan |
Retrieve Tankan survey observations by item, industry, firm size, and horizon |
boj_get_policy_rates |
Get realized overnight call rates and the basic discount and loan rate with its change history |
boj_list_reference |
Browse databases, layer paths, period formats, Tankan codes, policy-rate series, coverage gaps, and attribution |
boj_dataframe_describe |
List staged tables, their columns, and each series' recorded and staged ranges |
boj_dataframe_query |
Run one read-only SQL SELECT over staged tables |
boj_dataframe_drop |
Remove a staged table. Opt-in via BOJ_DATAFRAME_DROP_ENABLED=true |
The Bank of Japan guide covers catalog discovery, Tankan selections, and SQL across staged series. MCP clients can read it at skill://bank-of-japan-guide/SKILL.md.
boj_search_series toolquery matches a series code or requires every word to appear in the English or Japanese metadata; filter with db, frequency (a native code such as M or a BOJ label such as MONTHLY), and active_only (default true, which drops discontinued series). Up to 100 series per page (default 25), continued with next_cursorqualified_code, such as FM08'FXERD01, directly to boj_get_series_observations. Both tools accept the typographic separators ’ and ' in qualified codes.CO) and report its matches in excluded_co_matches; set db: "CO" to search it, or use boj_get_tankandb-scoped search loads only that database, while an unscoped search returns status: "catalog_loading" with the ready and missing databases until they finish. stale lists databases answered from an older catalog generationboj_get_series_observations toolcodes (bare or qualified DB'CODE identifiers; the first 250 unique are resolved and the rest returned in unprocessed_codes) or branch (db, layer path, and frequency from boj_list_reference). Codes the catalog lacks land in not_found; a bare code shared by several databases fails as ambiguous_code with its qualified candidatesstart_date / end_date take YYYY, YYYY-Hn, YYYY-Qn, YYYY-MM, or YYYY-MM-DD, and periods come back in each series' native frequency and calendar convention. series_limit sets series per roster page (default 1, cap 250) and limit the newest observations returned per series (default 25, cap 1,000)status: "collecting" and a cursor to resend with the same inputs. DuckDB automatically stages a finished roster page when it overflows the inline preview. Set stage: true to stage a smaller window for SQL. Pass the returned staged.canvas_id to add another table to that canvas.next_cursor to read earlier observations inline. Use next_selection_cursor to move to the next roster page.boj_get_tankan tool{} returns the business conditions DI (item 601) for large manufacturers and nonmanufacturers, actual and forecast. item, industries, sizes, horizons, series_type, frequency, aggregation, and detail_item take BOJ codes or the published labels from boj_list_reference topic tankan_codesboj_get_series_observations, with series_limit defaulting to 4 (cap 25); each series carries its decoded dimensionsunavailable combination lists available frequencies. Check discontinuedFrequencies for historical coverage and availableSeriesTypes for alternatives at the requested frequency. For example, the predicted USD/JPY survey rate uses series type D (Average). Set include_discontinued: true to include discontinued series.boj_get_policy_rates toolbaseline; up to 100 per page (default 25), continued with next_cursor. Reads BOJ directly, so it answers before the catalog has loadedboj_list_reference tooltopic: databases (codes, names, categories, and per-database catalog status and counts), layers (requires db; the bilingual hierarchy headers a branch is built from), frequencies, tankan_codes (optional dimension), policy_rates, coverage_gaps, or attribution{"topic":"layers","db":"PR01","layer":[1,1]}. Omit layer to page all headers in source order.next_cursor; db applies only to layers and dimension only to tankan_codesboj_dataframe_describe toolcanvas_id from a staged result, optionally narrowed to one table_namequalified_code and recorded and staged ranges. Manifests page at up to 100 entries (default 25), continued with the table's next_cursor and its table_name.boj_dataframe_query toolcanvas_id and one read-only SELECT (CTEs allowed), up to 65,536 UTF-16 code units, under a 30-second deadline that includes waiting for the canvasORDER BY with unique tie-breakers; an unordered result that overflows comes back truncated with a hint in place of next_cursorboj_dataframe_drop toolcanvas_id and table_name; returns removedBOJ_DATAFRAME_DROP_ENABLED=true, and needs DuckDBBuilt on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
BOJ-specific:
stale.mcpb bundle runs with the canvas off and continues observations inlineboj_list_reference topic coverage_gaps points to the Ministry of Finance JGB yield series and the BOJ Monetary Policy Meetings archiveAgent-friendly output:
attribution; series rows add their lastUpdate revision and catalog publication stamp, and observation results the export_dates of the BOJ exports they readwindow_count, null_count, and returned_count per series and per page; dated nulls stay in staged tables and come back inline with include_nulls; not_found holds only codes the catalog confirms absentstatus (ready, collecting, catalog_loading, catalog_unavailable), with the collection cursor, inline next_cursor, and roster next_selection_cursor kept separateAdd it to Claude Code:
claude mcp add bank-of-japan-mcp-server -- npx -y @cyanheads/bank-of-japan-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": {
"bank-of-japan-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/bank-of-japan-mcp-server"]
}
}
}
No API key is needed; the package runs on Node.js 24 or later. Setting BOJ_DATAFRAME_DROP_ENABLED=true (-e BOJ_DATAFRAME_DROP_ENABLED=true, or an env entry) adds boj_dataframe_drop. For Docker or a source build, see Running the server.
| Variable | Description | Default |
|---|---|---|
BOJ_CATALOG_DIR |
Writable directory for the persisted series catalog. Use the same one for the server and boj-catalog. |
$XDG_CACHE_HOME/bank-of-japan-mcp-server, else ~/.cache/bank-of-japan-mcp-server |
BOJ_DATAFRAME_DROP_ENABLED |
Set true to register boj_dataframe_drop. |
false |
CANVAS_PROVIDER_TYPE |
SQL staging engine. none turns staging off; observations then continue inline and the dataframe tools report canvas_unavailable. |
duckdb (none in the .mcpb bundle) |
MCP_TRANSPORT_TYPE |
Transport: stdio or http. |
stdio |
MCP_HTTP_PORT |
HTTP server port. | 3010 |
MCP_SESSION_MODE |
HTTP session mode: stateless, stateful, or auto. |
auto (stateless in the Docker image) |
MCP_AUTH_MODE |
Authentication: none, jwt, or oauth. |
none |
MCP_LOG_LEVEL |
Log level (debug, info, warning, error, etc.). |
info |
LOGS_DIR |
Directory for log files (Node.js only). | <app-root>/logs |
STORAGE_PROVIDER_TYPE |
Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1. |
in-memory |
OTEL_ENABLED |
Enable OpenTelemetry. | false |
See .env.example for every server setting and the common framework overrides.
Requires Bun v1.4.4 or higher (or Node.js v24+).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.