MCP Catalogs
HomeMCP-BOE screenshot

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.

ai-llmgovernmentknowledge-graph
11
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Legal research and analysis by querying consolidated Spanish legislation
you:Tracking daily government publications and changes in regulations
you:Comparing and analyzing relationships between different legal norms
you:What is the maximum size of PDF documents that can be processed?
you:How can I search for specific legislation?
you:Can this server be used with other LLMs besides Claude?

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 README
  • search_consolidated_legislation

    Busca en más de 50.000 normas consolidadas con filtros

  • get_consolidated_law

    Obtiene metadatos, análisis jurídico y texto de una norma

  • get_boe_summary

    Sumario completo del BOE para una fecha

  • get_borme_summary

    Sumario del BORME (Registro Mercantil)

  • get_departments_table

    Lista de departamentos oficiales con sus códigos

  • get_legal_ranges_table

    Rangos normativos (Ley, Real Decreto, Orden, etc.)

  • read_boe_pdf

    Descarga y extrae el texto de un PDF del BOE

  • find_related_laws

    Normas que modifican, derogan o son modificadas por una norma

  • search_recent_boe

    Busca documentos en los últimos N días

  • normalize_boe_reference

    Normaliza una referencia textual a una norma o sumario

  • get_weekly_summary

    Estadísticas y resumen de una semana completa

  • watch_boe_changes

    Radar normativo: busca publicaciones recientes por palabras clave

Comparable tools

mcp-wikipediamcp-web-searchspain-legislation-api

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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.