mcp-belgium
One MCP server for Belgian public APIs. It bundles Belgian transport, official statistics, open data, addresses, weather, air quality, and geospatial services.
README
mcp-belgium
One MCP server for Belgian public APIs.
mcp-belgium is the public entry point. It exposes a single aggregated MCP server that bundles Belgian transport, official statistics, open data, addresses, weather, air quality, and geospatial services behind one install and one client config entry.
The package is also prepared for publication to the official MCP Registry under io.github.lacausecrypto/mcp-belgium.
Why use it
- one npm package
- one MCP server entry in your client config
- namespaced tools like
irail_*,statbel_*,best_*,kmi_*,urban_*, andurbis_* - built-in catalog tools, resources, and a prompt so the LLM can discover the right Belgian domain before calling tools
- explicit limitation surfaces when an upstream requires a key or has changed contract
Install
Run directly:
npx -y mcp-belgium
With pnpm:
pnpm dlx mcp-belgium
Global install:
pnpm add -g mcp-belgium
mcp-belgium
Default transport is stdio, which is what desktop MCP clients expect.
Claude Desktop
{
"mcpServers": {
"belgium": {
"command": "npx",
"args": [
"-y",
"mcp-belgium"
],
"env": {
"LOG_LEVEL": "silent"
}
}
}
}
Optional env vars:
STIB_API_KEY: enables live STIB/MIVB toolsCBEAPI_KEY: enables live KBO/BCE company registry toolsMCP_TRANSPORT=http: runs the server over Streamable HTTPPORT_BELGIUM=3017: sets the HTTP port for the aggregated server
What the LLM gets
Alongside the domain tools, mcp-belgium exposes a discovery layer:
belgium_catalog_overviewbelgium_list_domainsbelgium_describe_domainbelgium://catalogbelgium://catalog.jsonbelgium://domain/{domain}belgium_capability_guide
That means the LLM can:
- inspect the Belgian domains available from this single MCP
- see which domains are live, limited, or key-gated
- understand what kind of data each domain provides
- pick the right namespaced tool without guessing
Main domains
| Prefix | Domain | Status | Auth | Main data |
|---|---|---|---|---|
irail_* |
Belgian rail / iRail | Live | None | stations, connections, liveboards, vehicles, disruptions |
mobility_* |
Belgian mobility / SMOP | Live | None | intermodal trip planning, operators, GTFS references |
stib_* |
STIB/MIVB Brussels transit | Live | API key | waiting times, stops, routes, service messages |
infrabel_* |
Infrabel Open Data | Live | None | rail infrastructure datasets and records |
kbo_* |
Belgian company registry | Live | API key | enterprise search and company details |
best_* |
BeST Belgian addresses | Live | None | addresses, municipalities, streets, postal infos |
statbel_* |
Statbel | Live | None | population, CPI, employment, dataset search |
airquality_* |
IRCELINE air quality | Live | None | stations, live measurements, BelAQI, timeseries |
brussels_* |
Brussels Region open data | Live | None | datasets and records |
wallonia_* |
Wallonia open data | Live | None | datasets and records |
kmi_* |
KMI / IRM GeoServer | Live | None | stations, hourly observations, WFS discovery |
wallonia_geo_* |
Wallonia GeoServices | Live | None | ArcGIS folders, services, layer queries |
urban_* |
urban.brussels WFS | Live | None | feature types, schemas, GeoJSON features |
urbis_* |
URBIS public WMS | Live | None | WMS layer discovery and map URL generation |
datagov_* |
data.gov.be compatibility layer | Limited | None | explicit upstream-changed error surface |
flanders_* |
Datavindplaats compatibility layer | Limited | API key | explicit upstream limitation surface |
Docs / Wiki
The repo now includes a docs/ tree that works as a lightweight public wiki:
Local development
Requirements:
- Node.js >= 22
- pnpm >= 9
Setup:
pnpm install
pnpm run build
pnpm run test
pnpm run typecheck
Run the aggregated server over stdio:
pnpm --filter mcp-belgium start:stdio
Run it over Streamable HTTP:
MCP_TRANSPORT=http PORT_BELGIUM=3017 pnpm --filter mcp-belgium start
Run the whole workspace:
docker compose up --build
Monorepo shape
packages/core: shared HTTP, retry, cache, rate limiting, XML helpers, and MCP response helperspackages/mcp-belgium: public aggregated entry pointpackages/mcp-*: domain-specific packages kept modular for maintenance, testing, and isolated validation
The public consumer path is mcp-belgium. Internal workspace packages stay modular for development, but the published mcp-belgium package bundles them so end users install only one npm package.
Upstream caveats
This project wraps public upstream APIs. Some Belgian portals change authentication or endpoint contracts over time. When an upstream is no longer publicly compatible, this project prefers explicit, machine-readable limitation errors over silent failure.
Current examples:
mcp-stibrequiresSTIB_API_KEYmcp-kborequiresCBEAPI_KEYmcp-data-gov-bepreserves the old tool contract but returns an explicit upstream-changed errormcp-opendata-flanderspreserves the old tool contract but returns an explicit API-key limitation
Validation
Current workspace checks:
pnpm run buildpnpm run testpnpm run typecheckpnpm audit --prod
License
MIT. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。