MCP server for the Spanish BOE open-data API (boe.es) - ground consolidated legislation by id/ELI with verifiable citations. Fourth connector in the eu-legal-mcp line.
SaferSkills independently audited Es Eli Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<!-- mcp-name: io.github.matematicsolutions/es-eli-mcp -->
Opublikowany na PyPI + MCP Registry (io.github.matematicsolutions/es-eli-mcp). Uruchomienie bez klonowania:
uvx es-eli-mcpKonfiguracja klienta MCP (stdio):
{ "mcpServers": { "es-eli-mcp": { "command": "uvx", "args": ["es-eli-mcp"] } } }(Budowanie ze źródeł — niżej.)
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.| Tool | What it does |
|---|---|
es_browse_gazette | List documents published in the BOE on a date (YYYYMMDD) - discovery. |
es_get_act | Metadata for a BOE id (eli_uri, official titulo, source). |
es_get_index | The block index (articles, titles) of a consolidated law. |
es_get_text | 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.
cd es-eli-mcp
pip install -e .{
"mcpServers": {
"es-eli-mcp": { "command": "es-eli-mcp" }
}
}Environment:
ES_ELI_BASE_URL - default https://www.boe.es/datosabiertos/apiES_ELI_CACHE_DIR - default ~/.matematic/cache/es-eliES_ELI_AUDIT_DIR - default ~/.matematic/auditNo API key. BOE open data is keyless.
~/.matematic/audit/es-eli-mcp.jsonl.boe.es; no LLM provider, no telemetry.source_url.See CONSTITUTION.md and DISCOVERY.md.
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py -v # offline
pytest tests/test_smoke.py -v # hits live BOEApache-2.0. © Matematic Solutions / Wieslaw Mazur.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.