mcp-belgium

mcp-belgium

One MCP server for Belgian public APIs. It bundles Belgian transport, official statistics, open data, addresses, weather, air quality, and geospatial services.

Category
Visit Server

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:

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 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

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 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured