Skip to main content

BOE API integration with MCP (Model Context Protocol)

Project description

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

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boe_mcp-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boe_mcp-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file boe_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: boe_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for boe_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97fd6196c529db7f19703f736fdb1193d1e74fb48db0d08514d29de99a25bc7d
MD5 43b0971ce899614f3faa00c20ee9af23
BLAKE2b-256 d78d2f66474c76599480df7bc70e6ce10a8cf050ca3fc4d8ab073cb9c9022d16

See more details on using hashes here.

Provenance

The following attestation bundles were made for boe_mcp-0.1.0.tar.gz:

Publisher: pypi-publish.yml on AnCode666/boe-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file boe_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: boe_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for boe_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 063e444fa99a6e31173358766ac24ada21dcef284e35306a9df357b45d54d4ef
MD5 1736a9705b9261bedf77e5e61b119c87
BLAKE2b-256 c8e203c5a86684b44eba69518795b8c610cb384563f54d24810bade5a85d6eed

See more details on using hashes here.

Provenance

The following attestation bundles were made for boe_mcp-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on AnCode666/boe-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page