boe-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read Spain's official gazette, the Boletín Oficial del Estado (BOE), from its open-data API.
get_daily_summary: what the BOE published on a day (today by default).
search_legislation: find a rule in the consolidated-legislation collection and get its id.
get_legislation: whether a rule is in force, its outline and the later rules that changed it.
read_legislation_block: the current wording of one article or other block of a rule.
To quote an article: search_legislation, then get_legislation for the outline, then read_legislation_block with the block_id of that article. Answer with the BOE identifier and the link, and say that consolidated texts are informative: only the signed PDF of the BOE is official.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_daily_summaryA | List what the BOE published on one day, with links to the official PDFs. The answer always counts the items in every section, so a filtered or paged answer still shows what else that day holds. Sundays have no bulletin. |
| search_legislationA | Search Spain's consolidated legislation: laws, royal decrees, orders and more. Give at least one of title_words, text_words or official_number. Results come newest publication first. The collection holds the most relevant state and regional rules, not every item ever published in the BOE. |
| get_legislationA | Describe one consolidated rule: its status today, its outline and its later changes. Later changes come most recent first. Use the outline's block_id with read_legislation_block to read an article. |
| read_legislation_blockA | Read the latest wording of one block of a consolidated rule, and whether it is in force. A block is an article, the preamble, an annex or a provision. The answer also gives any approved wording that takes effect later, and lists the earlier versions of the block with the rules that introduced them. Check in_force before presenting the text as law. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: daily bulletin listing, legislation search, rule-level overview, and block-level reading. The workflow from search to rule description to block text is easy to follow, with no apparent overlap.
All names use consistent snake_case and follow a verb_noun pattern: get_daily_summary, search_legislation, get_legislation, read_legislation_block. The verbs vary appropriately by action without introducing confusion.
Four tools are well-scoped for a BOE-focused server covering daily summaries and consolidated legislation. Each tool serves a distinct stage of access or retrieval, and none feels redundant.
The surface covers the core legislative workflow: search rules, inspect a rule's structure and changes, and read specific blocks. Minor gaps remain, such as no keyword search over daily summaries and no direct document-content retrieval beyond linked PDFs, but agents can work around these.