centralbank-data MCP Server
Planned provider integration for the National Bank of Belgium (NBB) SDMX data warehouse, enabling retrieval and normalization of NBB datasets through the unified SeriesID and Observation model.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
centralbank-data
Unified Python SDK, CLI, local metadata catalog & cache, and MCP server for European and UK central bank data warehouses — starting with the European Central Bank (ECB).
centralbank-data is built library-first with a 2-dependency pure-Python core (httpx + defusedxml): downstream Python applications, risk/analytics pipelines, and notebooks can import the core package directly with zero MCP, pandas, pyarrow, or lxml overhead, while AI agents query the exact same normalized service through a compact, read-only MCP surface.
Status: Architecture, warehouse reference, and phased roadmap verified against live endpoints (pre-
0.1.0). Implementation begins with Phase 1 (core engine, SDMX 2.1 dialect engine, ECB Data Portal,cbdataCLI, and 5-tool FastMCP 4 server).
Why this exists
European and UK central banks publish rich, free, authoritative macroeconomic and financial datasets — policy rates, yield curves, exchange rates, HICP inflation, money supply, bank lending surveys, credit aggregates, and balance sheets — but their data warehouses are fragmented across:
SDMX 2.1 / 3.0 REST APIs (ECB, Deutsche Bundesbank, Norges Bank, National Bank of Belgium, BIS, Eurostat)
Custom REST / Cube & StatBank APIs (Swiss National Bank, Sveriges Riksbank, Danmarks Nationalbank)
Legacy CSV endpoints (Bank of England IADB)
Working directly against these warehouses has two recurring friction points:
Cryptic series keys & heavy metadata: querying ECB requires knowing keys like
FM.D.U2.EUR.4F.KR.DFR.LEVacross 215 SDMX dataflows; Bank of England IADB has no search API at all; Eurostat's dataflow catalog alone is 7.08 MB (8,167 datasets).Inconsistent wire formats & dialects: CSV delimiters (
,vs;, locale-dependent on Bundesbank), UTF-8 BOMs, missing-value tokens ("."on Bundesbank, blank cells on BoE), non-ISO dates (02 Jan 2026,2026M11D26), and historical revisions vary by bank.
centralbank-data solves both once:
Normalized data model: exact-key
SeriesID(<provider>:<dataset>:<key>), oneObservationschema with full-series atomic replace caching, and canonical cross-bank indicator mappings.Local SQLite FTS5 catalog & observation cache: plain-English search (sanitized against FTS5 syntax errors) across dataflows, codelists, and curated series without dumping megabytes of SDMX XML into LLM context.
Multiple thin interfaces over one synchronous core:
Python SDK (
pip install centralbank-data) — 2 pure-Python deps (httpx,defusedxml), zero MCP/pandas/pyarrow/lxml bloat.CLI (
cbdata) — ad-hoc inspection, catalog sync, CSV/JSON output.MCP server (
pip install "centralbank-data[mcp]") — compact, read-only 5-tool FastMCP 4 server over stdio or Streamable HTTP.
Related MCP server: Global Economic Statistical MCP
Roadmap (10 High-Signal Providers)
Phase | Central Banks / Hubs | Protocol Family |
Phase 1 ( | ECB (215 dataflows on | SDMX 2.1 dialect engine ( |
Phase 2 ( | Bank of England (BoE IADB) + BIS, Bundesbank, Norges Bank, Eurostat, NBB | BoE IADB CSV adapter + 5 SDMX profiles + |
Phase 3 ( | SNB, Sveriges Riksbank (SWEA + SWESTR), Danmarks Nationalbank | Non-Eurozone sovereign REST / Cube / StatBank adapters |
(Narrow FX-only/SOAP adapters and redundant/WAF-blocked Eurozone NCBs are documented in docs/CENTRAL_BANKS.md and intentionally parked — their headline FX and policy rates are already covered via ECB and BIS.)
Documentation
Architecture & Design — system layers, exact-key data model, full-replace SQLite WAL cache, SDMX dialect profiles, CLI/MCP contracts, verification bar, and prior-art record.
Central Bank Data Warehouses — live-verified technical reference of the 10 target institutions plus parked/blocked European central banks.
Provider Capability Matrix — per-provider scope, status, dialect quirks, and documented limits.
Permissions & Multi-User Model — read-only public-data boundary and HTTP bearer contract.
License
Apache-2.0 — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official cited financial data layer for AI agents (SEC EDGAR, FRED, ECB, Treasury, GLEIF).
Utility data for AI agents: IBAN, EU holidays, VAT rates, time zones, ECB FX. Pay per call.
FRED macro data, Treasury yields, FX rates & macro indicators for AI agents. Pay-per-query via x402.
Aligned market data for AI agents: crypto, stocks, FX and macro on one clock. Local or hosted.
Related MCP Servers
- AlicenseAqualityDmaintenanceEuropean financial data for AI agents — ECB interest rates, Eurostat inflation, GDP and unemployment by country. Zero API key needed.6110 npm1MIT
- AlicenseAqualityFmaintenanceEnables AI agents to discover, retrieve, compare, and analyze trusted macroeconomic statistics from central banks and international organizations, resolving concepts to official series with provenance and validation.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query the Swiss National Bank's statistical data portal, fetching data cube time series as JSON and inspecting cube dimensions and series keys. Runs keyless over a hosted gateway or locally via stdio.70 npmMIT
- AlicenseNot gradedqualityAmaintenanceProvides universal access to over 800,000 economic time series through three tools that browse the full catalog by category, release, or source, search by keywords, tags, and filters, and retrieve observations with date ranges, frequency aggregation, and transformations such as percent change or natural log. It also supports stdio, Docker, and Streamable HTTP transports with caching, rate limiting, and retry handling for deployment in AI assistant clients.312 npmAGPL 3.0