mcp-belgium — Claude Code MCP server: features and setup
Connect Claude Code to Belgian transport, statistics, open data and geospatial services. Use it to ask about trips, addresses or public datasets in Belgium.
claude mcp add mcp-belgium -e STIB_API_KEY=<STIB_API_KEY> -e CBEAPI_KEY=<CBEAPI_KEY> -- npx -y mcp-belgiumWhat mcp-belgium does
The server brings together tools for rail connections, transfers, addresses, company records, statistics, weather, air quality and geospatial data. An agent can look up stations, check disruption reports, retrieve population figures or search public datasets. Tools are grouped by domain and use prefixes such as irail_ and statbel_.
A catalog layer lets the agent inspect available domains and identify those restricted by a key or an upstream issue. Live STIB/MIVB tools require STIB_API_KEY; company registry tools for KBO/BCE require CBEAPI_KEY. Without those credentials, those specific live services cannot be used, while other domains marked Live in the domain list need no authentication.
What it helps with
- find Belgian rail stations and connections
- check train information and disruption reports
- retrieve Statbel figures on population or employment
- look up a Belgian address or municipality
- search open geospatial data for Brussels or Wallonia
Example prompts for the agent
- Find a train from Antwerpen-Centraal to Bruxelles-Midi and check for disruptions.
- Show population figures for a municipality and find the related Statbel dataset.
- Look up a Belgian address and identify its municipality.
How to install mcp-belgium
Platform CLI
claude mcp add mcp-belgium -e STIB_API_KEY=<STIB_API_KEY> -e CBEAPI_KEY=<CBEAPI_KEY> -- npx -y mcp-belgiumReplace <…> with your own values
Platform CLI
codex mcp add mcp-belgium --env STIB_API_KEY=<STIB_API_KEY> --env CBEAPI_KEY=<CBEAPI_KEY> -- npx -y mcp-belgiumReplace <…> with your own values
Config file
{
"mcpServers": {
"mcp-belgium": {
"command": "npx",
"args": [
"-y",
"mcp-belgium"
],
"env": {
"STIB_API_KEY": "<STIB_API_KEY>",
"CBEAPI_KEY": "<CBEAPI_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"mcp-belgium": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-belgium"
],
"env": {
"STIB_API_KEY": "<STIB_API_KEY>",
"CBEAPI_KEY": "<CBEAPI_KEY>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e STIB_API_KEY=<STIB_API_KEY> -e CBEAPI_KEY=<CBEAPI_KEY> mcp-belgium npx -y mcp-belgiumReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp-belgium
How do I install mcp-belgium in Claude Code?
Run claude mcp add mcp-belgium -e STIB_API_KEY=<STIB_API_KEY> -e CBEAPI_KEY=<CBEAPI_KEY> -- npx -y mcp-belgium. The credentials enable the STIB/MIVB tools and the company registry tools.
What does mcp-belgium do?
It gives an agent one MCP connection to Belgian transport, statistics, public datasets, addresses and geospatial services. Its catalog helps the agent choose a domain.
Which API keys are needed for STIB and KBO?
Live STIB/MIVB tools use STIB_API_KEY. Tools for the KBO/BCE company registry require CBEAPI_KEY.