Skip to main content
Glama

BOE-MCP. MCP Integration with the BOE API

es en

DESCRIPTION

BOE is the Official State Gazette of Spain.

Boe-mcp enables querying consolidated legislation, BOE/BORME summaries, and legal reference data directly through Claude AI and other MCP-compatible clients using the Model Context Protocol (MCP).

Boe-mcp is an MCP server that exposes tools for LLMs to access:

  • Consolidated legislation of the Spanish legal system

  • Daily BOE and BORME summaries

  • Auxiliary tables for legal domains, jurisdictions, and government departments

Related MCP server: MCP Brasil API

KEY FEATURES

  • Advanced search of consolidated legislation with date, jurisdiction, and validity filters

  • Full legal text retrieval in XML/JSON formats

  • Historical BOE and BORME summary queries

  • Access to legal reference tables (domains, departments, legal relationships)

  • Block-level navigation of legal texts

  • Automatic consolidation status validation

INSTALLATION

Install with uv

Prerequisites

  • Python 3.10 or higher.

  • uv package manager.

Installing uv

The first step is to install uv, a package manager for Python.
It can be installed from the command line.

On macOS and Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

You can also install it with pip:

pip install uv

For more information about installing uv, visit the uv documentation.

INTEGRATION WITH CLIENTS LIKE CLAUDE FOR DESKTOP

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json.

  2. Add this configuration block under "mcpServers":

"boe_mcp": {
    "command": "uvx",
    "args": [
        "boe_mcp"
    ]
}
  1. If you have other MCP servers configured, separate them with commas ,.

USAGE EXAMPLES

Once configured, you can make queries like:

  • "List current state laws on data protection"

  • "Show the BOE summary for June 14, 2024"

  • "Display the BOE legal domains table"

A
license - permissive license
-
quality - not tested
D
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.

  • Task-oriented MCP for Indonesian law: search, resolve citations, read laws, and MK decisions.

  • Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.

View all MCP Connectors

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/AnCode666/boe-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server