Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.cyanheads/bank-of-japan-mcp-server

Latest version: v0.2.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
MCP server Transport: stdio Publisher: cyanheads
0 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

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.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: 1 rule fired in version 0.2.0 (1 low). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 30 Nov 2026 1 rule fired
0.1.1 30 Nov 2026 1 rule fired

Rules fired in 0.2.0: 1

Findings

1 Low

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.

Phrase match: insecure-practice wording (not reviewed)

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.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in VS Code

Framework


Overview

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.

Tools
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

Capability reference

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 tool
  • query 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_cursor
  • Pass a returned qualified_code, such as FM08'FXERD01, directly to boj_get_series_observations. Both tools accept the typographic separators ’ and ' in qualified codes.
  • Unscoped searches leave out the Tankan database (CO) and report its matches in excluded_co_matches; set db: "CO" to search it, or use boj_get_tankan
  • On a cold catalog, a db-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 generation

boj_get_series_observations tool
  • Exactly one of codes (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 candidates
  • start_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)
  • A long collection returns 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.
  • Without DuckDB, use 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_codes
  • Same date window, cursors, and staging as boj_get_series_observations, with series_limit defaulting to 4 (cap 25); each series carries its decoded dimensions
  • Each unavailable 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 tool
  • The latest daily uncollateralized overnight call rate (average, high, low), the latest monthly average, and the latest basic discount and loan rate, each at its own latest date
  • Basic-rate changes newest first, with the first observed rate as baseline; up to 100 per page (default 25), continued with next_cursor. Reads BOJ directly, so it answers before the catalog has loaded

boj_list_reference tool
  • topic: 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
  • To browse one level below a parent, pass its path, for example {"topic":"layers","db":"PR01","layer":[1,1]}. Omit layer to page all headers in source order.
  • Up to 100 entries per page (default 25), continued with next_cursor; db applies only to layers and dimension only to tankan_codes

boj_dataframe_describe tool
  • canvas_id from a staged result, optionally narrowed to one table_name
  • Columns, row and series counts, expiry, and a manifest with each series' qualified_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 tool
  • canvas_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 canvas
  • Up to 1,000 rows per page (default 25). Paging needs a top-level ORDER BY with unique tie-breakers; an unordered result that overflows comes back truncated with a hint in place of next_cursor

boj_dataframe_drop tool
  • canvas_id and table_name; returns removed
  • Not registered unless BOJ_DATAFRAME_DROP_ENABLED=true, and needs DuckDB

Features

Built 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:

  • A local catalog of series metadata for all 50 databases, kept in SQLite (or a flat-file cache where no SQLite binding loads) and filled one database at a time on first use. Disk use grows with the databases loaded: a SQLite catalog holding FM01, FM08, and CO measured about 580 MB, most of it CO
  • One queue paces every BOJ request, catalog downloads included, at least 2 seconds apart, so loading the whole catalog cold takes a while
  • BOJ republishes its catalog at 09:00 JST (00:00 UTC). The HTTP server refreshes the local copy daily at 00:01 UTC, and a result answered from a copy older than the current BOJ day names those databases in stale
  • Native installs (npm, Docker) stage observation windows in DuckDB for SQL; the Claude Desktop .mcpb bundle runs with the canvas off and continues observations inline
  • BOJ's API carries no Japanese Government Bond yields and no announced policy target. boj_list_reference topic coverage_gaps points to the Ministry of Finance JGB yield series and the BOJ Monetary Policy Meetings archive

Agent-friendly output:

  • Provenance: every result carries BOJ's required attribution; series rows add their lastUpdate revision and catalog publication stamp, and observation results the export_dates of the BOJ exports they read
  • Exact counts and explicit gaps: window_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 absent
  • Disclosed caps: observation and dataframe results report requested and applied limits, and search, reference, and policy results add a notice when a page size is capped
  • Typed states: status (ready, collecting, catalog_loading, catalog_unavailable), with the collection cursor, inline next_cursor, and roster next_selection_cursor kept separate

Getting started

Add 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.

Configuration

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.

Running the server

Local development

Requires Bun v1.4.4 or higher (or Node.js v24+).

OX Radar and Response Center

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.

Where it’s listed

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).

  • MCP Registry io.github.cyanheads/bank-of-japan-mcp-server

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229