be-eli-mcp
Enables retrieval of Belgian legislation metadata and full text by ELI coordinates from the official gazette (Moniteur Belge), supporting French, Dutch, and German languages.
README
be-eli-mcp
<!-- mcp-name: io.github.matematicsolutions/be-eli-mcp -->
An MCP server for Belgian legislation via [Moniteur Belge / Belgisch Staatsblad] (https://www.ejustice.just.fgov.be), the official gazette of the Belgian Federal Public Service Justice. It fetches act metadata and full text by ELI coordinates, with verifiable citations. Part of the eu-legal-mcp line of national legal connectors by MateMatic.
Belgian legislation is addressed by ELI coordinates - type / year / month / day / numac
(the Belgian legislative numbering system) - at
https://www.ejustice.just.fgov.be/eli/{type}/{yyyy}/{mm}/{dd}/{numac}/justel. Every response
carries a native eli_uri, a human_readable_citation and a source_url.
Read-only. The server only queries ejustice.just.fgov.be and writes a local audit log. It never modifies official text.
Belgium is trilingual (French / Dutch / German).
human_readable_citationdefaults to the French form by LDH convention; usebe_get_text(language=...)for Dutch (Belgisch Staatsblad) or German. See CONSTITUTION.md Art. 4 for the full caveat.
Tools
| Tool | What it does |
|---|---|
be_get_act(doc_type, year, month, day, numac) |
Metadata for an act by its ELI coordinates. doc_type is one of loi, decret, ordonnance, arrete, constitution. Returns the native eli_uri, title, source authority, publication date, entry-into-force date, table of contents, and the citation contract. |
be_get_text(doc_type, year, month, day, numac, language="fr") |
The verbatim consolidated text ("Texte"/"Tekst" section) in fr (default), nl or de. |
be_list_year(doc_type, year) |
Browse a year's listing for one doc_type, to discover NUMAC coordinates. Titles in this listing are best-effort (may be None); call be_get_act for the authoritative title. |
There is no free-text search: ejustice.just.fgov.be exposes no keyword-search API. Discover
acts by ELI coordinates (from a citation you already hold) or by browsing be_list_year.
Configuration
ejustice.just.fgov.be is keyless. Configuration is optional:
| Variable | Meaning |
|---|---|
BE_ELI_BASE_URL |
ejustice host (default https://www.ejustice.just.fgov.be). |
BE_ELI_CACHE_DIR |
Disk cache dir (default ~/.matematic/cache/be-eli). |
BE_ELI_AUDIT_DIR |
Audit log dir (default ~/.matematic/audit). |
Copy .mcp.json.example to your MCP client config.
Install
py -3.13 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]" # Windows
# or: python -m pip install -e ".[dev]" # POSIX
Tests
pytest tests/test_instructions_drift.py tests/test_parse.py # offline
pytest tests/test_smoke.py -v # live, hits ejustice.just.fgov.be
Licence
Apache-2.0. Moniteur Belge / Belgisch Staatsblad content is © the Belgian federal state; this software only retrieves and cites it. See CONSTITUTION.md Art. 1 for a note on the licence status of the source data (widely described as CC0 by third-party catalogs; not independently re-verified against ejustice.just.fgov.be's own terms page in this project).
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.