MCP-BOE
by ComputingVictor·★ 39·Score 47
MCP server providing access to Spanish BOE legislation, daily summaries, and official documents via MCP and REST API.
Overview
MCP-BOE is a comprehensive Model Context Protocol server that connects AI assistants to Spain's Official State Gazette (BOE) API. It provides access to over 50,000 consolidated laws, daily publications, auxiliary tables, and PDF documents from Spanish government sources. The server includes 31 tools organized into 5 categories: consolidated legislation, BOE/BORME summaries, auxiliary tables, quality-of-life functions for LLMs, and PDF reading capabilities. It offers both tool-based access and pre-built prompt templates for common use cases.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this server when you need comprehensive access to Spanish legal documents, legislation, and official publications in Spanish.
When NOT to choose this
Don't choose this if you need access to legal documents from countries other than Spain or if you require real-time updates beyond the BOE's publication schedule.
Tools this server exposes
12 tools extracted from the READMEsearch_consolidated_legislationBusca en más de 50.000 normas consolidadas con filtros
get_consolidated_lawObtiene metadatos, análisis jurídico y texto de una norma
get_boe_summarySumario completo del BOE para una fecha
get_borme_summarySumario del BORME (Registro Mercantil)
get_departments_tableLista de departamentos oficiales con sus códigos
get_legal_ranges_tableRangos normativos (Ley, Real Decreto, Orden, etc.)
read_boe_pdfDescarga y extrae el texto de un PDF del BOE
find_related_lawsNormas que modifican, derogan o son modificadas por una norma
search_recent_boeBusca documentos en los últimos N días
normalize_boe_referenceNormaliza una referencia textual a una norma o sumario
get_weekly_summaryEstadísticas y resumen de una semana completa
watch_boe_changesRadar normativo: busca publicaciones recientes por palabras clave
Comparable tools
Installation
Installation
**Option 1: Using uvx (Recommended)**
uvx --from git+https://github.com/ComputingVictor/MCP-BOE.git mcp-boe**Option 2: From source with uv**
git clone https://github.com/ComputingVictor/MCP-BOE.git
cd MCP-BOE
uv run python -m mcp_boe.server**Option 3: With pip**
git clone https://github.com/ComputingVictor/MCP-BOE.git
cd MCP-BOE
pip install -e .Configuration with Claude Desktop
Add to your configuration:
{
"mcpServers": {
"mcp-boe": {
"command": "uvx",
"args": ["--from", "git+https://github.com/ComputingVictor/MCP-BOE.git", "mcp-boe"]
}
}
}FAQ
- What is the maximum size of PDF documents that can be processed?
- The server can handle PDFs up to 10 MB in size and extracts up to 80,000 characters of text.
- How can I search for specific legislation?
- Use the `search_consolidated_legislation` tool with filters for department, legal range, matter, date range, and search terms.
- Can this server be used with other LLMs besides Claude?
- Yes, the server implements the MCP protocol and can be used with any MCP-compatible client.
Compare MCP-BOE with
Last updated · Auto-generated from public README + GitHub signals.