mcp-belgium

io.github.lacausecryptoPublished by GitHub account lacausecryptov1.0.4Updated Oct 24, 2026

Single MCP server for Belgian public transport, statistics, open data, and geospatial services.

Overview

AI-generated overview

An aggregated MCP server giving assistants access to Belgian public transport, statistics, open data, addresses, weather, air quality and geospatial services.

What you can do
Bundles many Belgian public APIs behind one install and one client config entry, exposing namespaced tools such as irail_*, statbel_*, best_*, kmi_*, urban_* and urbis_*. Covers rail and intermodal trip planning, Brussels transit, addresses, population and CPI statistics, air quality, weather observations, and regional open data and geospatial layers. A discovery layer (catalog overview, domain listing and description, catalog resources, capability guide) lets the assistant find the right domain before calling tools. Some upstreams are limited or key-gated and return explicit limitation errors.
When to use it
Use it when an assistant needs Belgian data or services: train and transit queries, official statistics, addresses, weather, air quality, or regional open data and geospatial layers. It is convenient when several of these domains are needed, since one package and one config entry replace many separate servers.
Requirements
Runs locally over stdio via npx or pnpm (Node.js >= 22 for development). Optional secrets STIB_API_KEY and CBEAPI_KEY enable the live Brussels transit and Belgian company registry tools. Optional MCP_TRANSPORT=http with PORT_BELGIUM sets an HTTP transport and port. Network access to the upstream Belgian public APIs is required.
Before you install
Two optional secrets are read from the environment: STIB_API_KEY and CBEAPI_KEY; without them those domains stay key-gated. The server queries third-party public Belgian APIs, so requests and any data sent to them leave the machine. Some upstream portals change authentication or endpoint contracts, so tools may return explicit limitation or upstream-changed errors rather than data.

Installation

In SourceWeft

  1. Open mcp-belgium in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcp-belgium

[npm version] [npm downloads] [CI] [license] [node] [pnpm] [typescript] [mcp]

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_*, and urbis_*
  • 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:

bash
npx -y mcp-belgium

With pnpm:

bash
pnpm dlx mcp-belgium

Global install:

bash
pnpm add -g mcp-belgiummcp-belgium

Default transport is stdio, which is what desktop MCP clients expect.

Claude Desktop

json
{  "mcpServers": {    "belgium": {      "command": "npx",      "args": [        "-y",        "mcp-belgium"      ],      "env": {        "LOG_LEVEL": "silent"      }    }  }}

Optional env vars:

  • STIB_API_KEY: enables live STIB/MIVB tools
  • CBEAPI_KEY: enables live KBO/BCE company registry tools
  • MCP_TRANSPORT=http: runs the server over Streamable HTTP
  • PORT_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_overview
  • belgium_list_domains
  • belgium_describe_domain
  • belgium://catalog
  • belgium://catalog.json
  • belgium://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

PrefixDomainStatusAuthMain data
irail_*Belgian rail / iRailLiveNonestations, connections, liveboards, vehicles, disruptions
mobility_*Belgian mobility / SMOPLiveNoneintermodal trip planning, operators, GTFS references
stib_*STIB/MIVB Brussels transitLiveAPI keywaiting times, stops, routes, service messages
infrabel_*Infrabel Open DataLiveNonerail infrastructure datasets and records
kbo_*Belgian company registryLiveAPI keyenterprise search and company details
best_*BeST Belgian addressesLiveNoneaddresses, municipalities, streets, postal infos
statbel_*StatbelLiveNonepopulation, CPI, employment, dataset search
airquality_*IRCELINE air qualityLiveNonestations, live measurements, BelAQI, timeseries
brussels_*Brussels Region open dataLiveNonedatasets and records
wallonia_*Wallonia open dataLiveNonedatasets and records
kmi_*KMI / IRM GeoServerLiveNonestations, hourly observations, WFS discovery
wallonia_geo_*Wallonia GeoServicesLiveNoneArcGIS folders, services, layer queries
urban_*urban.brussels WFSLiveNonefeature types, schemas, GeoJSON features
urbis_*URBIS public WMSLiveNoneWMS layer discovery and map URL generation
datagov_*data.gov.be compatibility layerLimitedNoneexplicit upstream-changed error surface
flanders_*Datavindplaats compatibility layerLimitedAPI keyexplicit 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:

bash
pnpm installpnpm run buildpnpm run testpnpm run typecheck

Run the aggregated server over stdio:

bash
pnpm --filter mcp-belgium start:stdio

Run it over Streamable HTTP:

bash
MCP_TRANSPORT=http PORT_BELGIUM=3017 pnpm --filter mcp-belgium start

Run the whole workspace:

bash
docker compose up --build

Monorepo shape

  • packages/core: shared HTTP, retry, cache, rate limiting, XML helpers, and MCP response helpers
  • packages/mcp-belgium: public aggregated entry point
  • packages/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-stib requires STIB_API_KEY
  • mcp-kbo requires CBEAPI_KEY
  • mcp-data-gov-be preserves the old tool contract but returns an explicit upstream-changed error
  • mcp-opendata-flanders preserves the old tool contract but returns an explicit API-key limitation

Validation

Current workspace checks:

  • pnpm run build
  • pnpm run test
  • pnpm run typecheck
  • pnpm audit --prod

License

MIT. See LICENSE.

Source: README.md at commit cb3e21e

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.4LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts