Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for the National Bank of Belgium SDMX statistical API (221 dataflows).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
NBB_LOG_LEVEL, NBB_LOG_FORMAT, NBB_HTTP_CACHE_ENABLEDต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"nbb": {
"command": "uvx",
"args": [
"mcp-nbb"
],
"env": {
"NBB_LOG_LEVEL": "ใส่ค่าของคุณ",
"NBB_LOG_FORMAT": "ใส่ค่าของคุณ",
"NBB_HTTP_CACHE_ENABLED": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add nbb --env NBB_LOG_LEVEL='ใส่ค่าของคุณ' --env NBB_LOG_FORMAT='ใส่ค่าของคุณ' --env NBB_HTTP_CACHE_ENABLED='ใส่ค่าของคุณ' -- uvx mcp-nbbเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"nbb": {
"command": "uvx",
"args": [
"mcp-nbb"
],
"env": {
"NBB_LOG_LEVEL": "ใส่ค่าของคุณ",
"NBB_LOG_FORMAT": "ใส่ค่าของคุณ",
"NBB_HTTP_CACHE_ENABLED": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"nbb": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-nbb"
],
"env": {
"NBB_LOG_LEVEL": "ใส่ค่าของคุณ",
"NBB_LOG_FORMAT": "ใส่ค่าของคุณ",
"NBB_HTTP_CACHE_ENABLED": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
NBB_LOG_LEVEL envNBB_LOG_FORMAT envNBB_HTTP_CACHE_ENABLED envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub lacausecrypto ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tools MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
https://nsidisseminate-stat.nbb.be/rest (NSI Web Service v8)# With uv (runs without installing globally)
uvx mcp-nbb
pip install mcp-nbb
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.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or the equivalent on Linux.
uvx (recommended once published to PyPI){
"mcpServers": { "nbb": { "command": "uvx", "args": ["mcp-nbb"] } } }
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.
| Tool | API calls | Purpose |
|---|---|---|
nbb_search(query, …) | 0 | Fuzzy 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=…) | 1 | Generic data fetch. Either key (raw SDMX) or filters ({"FREQ":"D","EXR_CURRENCY":"USD"}). |
nbb_quick(topic, …) | 1 | Topic-based shortcut for 18 common queries — see topic table below. |
nbb_compare(series, …) | N | Align 2-5 series on a common time index, downsampling finer frequencies via closing aggregation. |
nbb_status() | 0 | Diagnostic snapshot: catalog, cache, API config. |
nbb_quick topics| Topic | Dataflow | Parameters |
|---|---|---|
exchange_rate | BE2/DF_EXR | currency, frequency |
policy_rate | BE2/DF_IRESCB | — |
mortgage_rate | BE2/DF_MIR | — |
long_term_yield | BE2/DF_IROLOYLD | — |
inflation_hicp | BE2/DF_HICP_2025 | — |
inflation_national | BE2/DF_NICP_2025 | — |
ppi | BE2/DF_PPI | — |
industrial_production | BE2/DF_INDPROD | — |
gdp / gdp_growth | BE2/DF_QNA_DISS | — |
unemployment_rate | BE2/DF_UNEMPLOY_RATE | — |
employment | BE2/DF_EMPLOY_DISS | — |
government_debt | BE2/DF_CGD | — |
government_deficit | BE2/DF_NFGOV_NET_DISS | — |
current_account | BE2/DF_BOPBPM6 | — |
consumer_confidence | BE2/DF_CONSN | — |
business_confidence | BE2/DF_BUSSURVM | — |
trade_balance | BE2/DF_EXTERNAL_TRADE_OVERVIEW | — |
| URI | Content |
|---|---|
nbb://catalog | Markdown 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. |
"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(...).
All settings have sensible defaults; override via environment variables.
| Variable | Default | Purpose |
|---|---|---|
NBB_API_BASE_URL | https://nsidisseminate-stat.nbb.be/rest | SDMX REST base URL |
NBB_API_TIMEOUT | 30 | Per-request timeout (s) |
NBB_USER_AGENT | browser UA | Required for the WAF — default is a valid Chrome UA string |
NBB_ORIGIN | https://dataexplorer.nbb.be | Required for the WAF |
NBB_HTTP_CACHE_ENABLED | true | Persistent disk cache |
NBB_HTTP_CACHE_PATH | OS cache dir | Override cache location (defaults to platformdirs.user_cache_dir) |
NBB_MEMORY_CACHE_TTL_DATA | 300 | TTL for data responses (s) |
NBB_MEMORY_CACHE_TTL_STRUCTURE | 3600 | TTL for structure responses (s) |
NBB_RATE_LIMIT_REQUESTS | 100 | Self-imposed rate limit (req/period) |
NBB_RATE_LIMIT_PERIOD | 60 | Rate limit window (s) |
NBB_RETRY_ATTEMPTS | 3 | Retries on transient errors |
NBB_LOG_LEVEL | INFO | DEBUG/INFO/WARNING/ERROR |
NBB_LOG_FORMAT | json | json or console |
The default cache path resolves to:
~/.cache/mcp-nbb/~/Library/Caches/mcp-nbb/%LOCALAPPDATA%\mcp-nbb\Cache\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.
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.
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.
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.
If you run without the bundled src/nbb_mcp/data/catalog/, run mcp-nbb-build-catalog once to populate it.
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.
Please report vulnerabilities privately — see SECURITY.md.
MIT — see LICENSE for the full text.
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.