es-eli-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@es-eli-mcpget the consolidated text of BOE-A-2018-16673"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
es-eli-mcp
An MCP server for the Spanish BOE (Boletin Oficial del Estado) open-data API. It grounds Spanish consolidated legislation: given a BOE id or a date in the official gazette, it returns metadata, structure and full consolidated text, with verifiable ELI identifiers and Spanish citations.
Part of the MateMatic eu-legal-mcp production line - after PL, DE and AT. Same citation
contract, BOE source.
No free-text search. The BOE open-data keyword-search endpoint (
/legislacion-consolidada) currently returns a server-side error, so this connector is grounding + gazette-browse, not keyword search. Discover documents viaes_browse_gazette(by date) or use a known BOE id / ELI. Every response carries adataset_note.Licence. Spanish BOE content is official public information published as open data; reuse presumes acceptance of the BOE reuse conditions. This connector relays that public content with attribution and a
source_url.
The tools
Tool | What it does |
| List documents published in the BOE on a date ( |
| Metadata for a BOE id (eli_uri, official |
| The block index (articles, titles) of a consolidated law. |
| Consolidated text (XML), whole or by block. |
Every response carries the contract: eli_uri (a full ELI URL, e.g.
https://www.boe.es/eli/es/lo/2018/12/05/3), human_readable_citation (the official
titulo), and source_url.
Related MCP server: Spanish Public Data MCP
Install
cd es-eli-mcp
pip install -e .Configure (Claude Code / any MCP client)
{
"mcpServers": {
"es-eli-mcp": { "command": "es-eli-mcp" }
}
}Environment:
ES_ELI_BASE_URL- defaulthttps://www.boe.es/datosabiertos/apiES_ELI_CACHE_DIR- default~/.matematic/cache/es-eliES_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. BOE open data is keyless.
Governance
Public data only - read-only against BOE; no client data leaves the machine.
Audit log - every tool call appends one JSON line to
~/.matematic/audit/es-eli-mcp.jsonl.Vendor-neutral - talks only to
boe.es; no LLM provider, no telemetry.Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py -v # offline
pytest tests/test_smoke.py -v # hits live BOELicence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/es-eli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server