BOE API integration with MCP (Model Context Protocol)
Project description
BOE-MCP. MCP Integration with the BOE API
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
- Go to Claude > Settings > Developer > Edit Config >
claude_desktop_config.json. - Add this configuration block under
"mcpServers":
"boe_mcp": {
"command": "uvx",
"args": [
"boe_mcp"
]
}
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97fd6196c529db7f19703f736fdb1193d1e74fb48db0d08514d29de99a25bc7d
|
|
| MD5 |
43b0971ce899614f3faa00c20ee9af23
|
|
| BLAKE2b-256 |
d78d2f66474c76599480df7bc70e6ce10a8cf050ca3fc4d8ab073cb9c9022d16
|
Provenance
The following attestation bundles were made for boe_mcp-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on AnCode666/boe-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boe_mcp-0.1.0.tar.gz -
Subject digest:
97fd6196c529db7f19703f736fdb1193d1e74fb48db0d08514d29de99a25bc7d - Sigstore transparency entry: 238788880
- Sigstore integration time:
-
Permalink:
AnCode666/boe-mcp@6e84a31aeb1ac4bdb85ba6bddcc75957a7ff78a6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AnCode666
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6e84a31aeb1ac4bdb85ba6bddcc75957a7ff78a6 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
063e444fa99a6e31173358766ac24ada21dcef284e35306a9df357b45d54d4ef
|
|
| MD5 |
1736a9705b9261bedf77e5e61b119c87
|
|
| BLAKE2b-256 |
c8e203c5a86684b44eba69518795b8c610cb384563f54d24810bade5a85d6eed
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boe_mcp-0.1.0-py3-none-any.whl -
Subject digest:
063e444fa99a6e31173358766ac24ada21dcef284e35306a9df357b45d54d4ef - Sigstore transparency entry: 238788881
- Sigstore integration time:
-
Permalink:
AnCode666/boe-mcp@6e84a31aeb1ac4bdb85ba6bddcc75957a7ff78a6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AnCode666
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6e84a31aeb1ac4bdb85ba6bddcc75957a7ff78a6 -
Trigger Event:
release
-
Statement type: