プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MCP Nbb

作者:lacausecryptoバージョン 0.1.2i★ –iパソコンで動く
レジストリ名io.github.lacausecrypto/mcp-nbb

インストール

概要

作者による説明(英語の原文)

MCP server for the National Bank of Belgium SDMX statistical API (221 dataflows).

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: NBB_LOG_LEVEL, NBB_LOG_FORMAT, NBB_HTTP_CACHE_ENABLED

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "nbb": {
      "command": "uvx",
      "args": [
        "mcp-nbb"
      ],
      "env": {
        "NBB_LOG_LEVEL": "your-value",
        "NBB_LOG_FORMAT": "your-value",
        "NBB_HTTP_CACHE_ENABLED": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add nbb --env NBB_LOG_LEVEL=your-value --env NBB_LOG_FORMAT=your-value --env NBB_HTTP_CACHE_ENABLED=your-value -- uvx mcp-nbb

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "nbb": {
      "command": "uvx",
      "args": [
        "mcp-nbb"
      ],
      "env": {
        "NBB_LOG_LEVEL": "your-value",
        "NBB_LOG_FORMAT": "your-value",
        "NBB_HTTP_CACHE_ENABLED": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "nbb": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-nbb"
      ],
      "env": {
        "NBB_LOG_LEVEL": "your-value",
        "NBB_LOG_FORMAT": "your-value",
        "NBB_HTTP_CACHE_ENABLED": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • NBB_LOG_LEVEL env
    Log level: DEBUG, INFO, WARNING, ERROR
  • NBB_LOG_FORMAT env
    Log format: 'json' or 'console'
  • NBB_HTTP_CACHE_ENABLED env
    Enable the persistent HTTP disk cache

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント lacausecrypto で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32655件のうち0%よりスターが多い
  • このカテゴリのほかの32655件のうち6%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32655件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MCP Nbbは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.2)がレジストリに届いたのは7 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SuperCollider

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

SuperCollider

作者:Tok

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-nbb

MCP server for the [National Bank of Belgium](https://www.nbb.be/) SDMX statistical API.

Exposes the 221 NBB dataflows (194 BE2 + 27 IMF/SDDS) as 6 LLM-friendly tools and 3 browsable resources, with a bundled enriched catalogue so the LLM can discover, describe, and query dataflows without redundant API calls.

  • Upstream: https://nsidisseminate-stat.nbb.be/rest (NSI Web Service v8)
  • Transport: stdio (standard MCP)
  • Python: 3.11+
  • Platforms: Linux, macOS, Windows
  • 221 dataflows classified into 14 categories — see DATAFLOWS_CATALOG.md

Install

From PyPI (recommended)
# With uv (runs without installing globally)

uvx mcp-nbb

Or install into a regular venv

pip install mcp-nbb

From source
git clone https://github.com/lacausecrypto/mcp-nbb.git

cd mcp-nbb pip install -e .

The package ships with the full enriched catalogue (~9 MB under src/nbb_mcp/data/catalog/). No build step is required for regular use.


Claude Desktop configuration

Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or the equivalent on Linux.

Using uvx (recommended once published to PyPI)
{

"mcpServers": { "nbb": { "command": "uvx", "args": ["mcp-nbb"] } } }

From a local editable install

macOS / Linux:

{

"mcpServers": { "nbb": { "command": "/Users/you/projects/mcp-nbb/.venv/bin/mcp-nbb" } } }

Windows:

{

"mcpServers": { "nbb": { "command": "C:\\Users\\you\\projects\\mcp-nbb\\.venv\\Scripts\\mcp-nbb.exe" } } }

Restart Claude Desktop — the 6 nbb_* tools appear in the MCP panel.


Tools

ToolAPI callsPurpose
nbb_search(query, …)0Fuzzy search over the 221 local fiches (en/fr/nl/de).
nbb_describe(dataflow_id, …)0 (default)Full enriched fiche — dimensions, codelists, key template, common queries. force_refresh=True revalidates live.
nbb_query(dataflow_id, key=…, filters=…)1Generic data fetch. Either key (raw SDMX) or filters ({"FREQ":"D","EXR_CURRENCY":"USD"}).
nbb_quick(topic, …)1Topic-based shortcut for 18 common queries — see topic table below.
nbb_compare(series, …)NAlign 2-5 series on a common time index, downsampling finer frequencies via closing aggregation.
nbb_status()0Diagnostic snapshot: catalog, cache, API config.
nbb_quick topics
TopicDataflowParameters
exchange_rateBE2/DF_EXRcurrency, frequency
policy_rateBE2/DF_IRESCB—
mortgage_rateBE2/DF_MIR—
long_term_yieldBE2/DF_IROLOYLD—
inflation_hicpBE2/DF_HICP_2025—
inflation_nationalBE2/DF_NICP_2025—
ppiBE2/DF_PPI—
industrial_productionBE2/DF_INDPROD—
gdp / gdp_growthBE2/DF_QNA_DISS—
unemployment_rateBE2/DF_UNEMPLOY_RATE—
employmentBE2/DF_EMPLOY_DISS—
government_debtBE2/DF_CGD—
government_deficitBE2/DF_NFGOV_NET_DISS—
current_accountBE2/DF_BOPBPM6—
consumer_confidenceBE2/DF_CONSN—
business_confidenceBE2/DF_BUSSURVM—
trade_balanceBE2/DF_EXTERNAL_TRADE_OVERVIEW—
Resources
URIContent
nbb://catalogMarkdown index of all 221 dataflows by category.
nbb://dataflow/{agency}/{dataflow_id}Full enriched fiche for one flow.
nbb://category/{category}All flows in a category.

Example prompts in Claude

"What's the EUR/USD exchange rate over the last month?"

→ nbb_quick("exchange_rate", currency="USD", frequency="D", last_n_observations=30)

"Compare Belgian GDP growth to the unemployment rate since 2020."

→ nbb_compare([{dataflow_id:"DF_QNA_DISS",label:"GDP"}, {dataflow_id:"DF_UNEMPLOY_RATE",label:"Unemployment"}], start_period="2020-Q1")

"Find NBB dataflows about consumer credit."

→ nbb_search("consumer credit") → nbb_describe(...) → nbb_query(...).


Configuration (environment variables)

All settings have sensible defaults; override via environment variables.

VariableDefaultPurpose
NBB_API_BASE_URLhttps://nsidisseminate-stat.nbb.be/restSDMX REST base URL
NBB_API_TIMEOUT30Per-request timeout (s)
NBB_USER_AGENTbrowser UARequired for the WAF — default is a valid Chrome UA string
NBB_ORIGINhttps://dataexplorer.nbb.beRequired for the WAF
NBB_HTTP_CACHE_ENABLEDtruePersistent disk cache
NBB_HTTP_CACHE_PATHOS cache dirOverride cache location (defaults to platformdirs.user_cache_dir)
NBB_MEMORY_CACHE_TTL_DATA300TTL for data responses (s)
NBB_MEMORY_CACHE_TTL_STRUCTURE3600TTL for structure responses (s)
NBB_RATE_LIMIT_REQUESTS100Self-imposed rate limit (req/period)
NBB_RATE_LIMIT_PERIOD60Rate limit window (s)
NBB_RETRY_ATTEMPTS3Retries on transient errors
NBB_LOG_LEVELINFODEBUG/INFO/WARNING/ERROR
NBB_LOG_FORMATjsonjson or console

The default cache path resolves to:

  • Linux: ~/.cache/mcp-nbb/
  • macOS: ~/Library/Caches/mcp-nbb/
  • Windows: %LOCALAPPDATA%\mcp-nbb\Cache\

Refreshing the catalogue

The bundled src/nbb_mcp/data/catalog/ snapshot is regenerated by fetching the DSD + codelists for each of the 221 dataflows:

mcp-nbb-build-catalog --force

Options:

  • --force — rebuild every fiche, ignoring existing ones.
  • --limit N — only process the first N flows (debug).
  • --only BE2/DF_EXR,BE2/DF_HICP_2025 — rebuild specific flows.
  • --concurrency 5 — parallel DSD requests.

A full rebuild takes ~80 seconds against the live API. Catalogue footprint is capped at ~9 MB by truncating codelists to 200 codes per dimension (some IMF flows have 65 000+ codes).

A weekly GitHub Action (build-catalog.yml) rebuilds the catalogue and opens a PR if drift is detected.


Troubleshooting

"WAF returned an HTML redirect"

The NBB API is behind a WAF that returns an HTML 200 redirect for any request without a browser-like User-Agent and an Origin: https://dataexplorer.nbb.be header. The client injects both by default. If you override NBB_USER_AGENT, keep a genuine-looking browser string.

"HTTP 404 NoResultsFound" on a data query

The SDMX key didn't match any series. Use nbb_describe(dataflow_id) to see valid codes, or pass filters={} / key="all" to retrieve everything and then narrow via start_period/end_period.

"Too many observations, truncated"

Every data response is capped at max_observations=200 by default. Increase via nbb_query(max_observations=1000) or narrow the query with a period window.

Catalogue not found

If you run without the bundled src/nbb_mcp/data/catalog/, run mcp-nbb-build-catalog once to populate it.


Development

See CONTRIBUTING.md for the full dev workflow. Short form:

pip install -e ".[dev]"

pytest # full suite (unit + integration + E2E) pytest -m "not e2e" # fast subset ruff check src tests mcp-nbb-build-catalog # refresh the bundled catalogue mcp-nbb # run the server (stdio)

CI runs on Linux, macOS and Windows with Python 3.11 and 3.12. See DATAFLOWS_CATALOG.md for the classified inventory.


Security

Please report vulnerabilities privately — see SECURITY.md.

License

MIT — see LICENSE for the full text.

Disclaimer

This project is not affiliated with or endorsed by the National Bank of Belgium. It is an independent client of their public SDMX REST API. The browser-like User-Agent and Origin headers are required by the upstream WAF and used solely to access public statistical data. Users are responsible for complying with NBB's terms of use.

PopNxに聞く