Boe Legislacion
liveLegislatureSpain consolidated legislation — Agencia Estatal Boletín Oficial del Estado (BOE), open-data API.
Tools
boe_search_lawSearch Spain's consolidated legislation (Legislación Consolidada) by words in the title — e.g. "Código Civil", "ley de propiedad horizontal". Returns matching laws/decrees with their BOE id, rank (ley
No parameters required.
Try it
boe_lawGet one Spanish consolidated law by its BOE id (from boe_search_law, e.g. "BOE-A-1889-4763" = Código Civil). Without "article": returns metadata (rank, department, dates, consolidation status), subjec
No parameters required.
Try it
boe_daily_summaryTable of contents of one day's Boletín Oficial del Estado (BOE) issue — every disposition and announcement published that day, grouped by section and issuing department, with each item's BOE id and ti
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/boe-legislacion/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/boe-legislacion/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"boe_search_law","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("boe_search_law", {});// Or ask in plain English:
const answer = await px.ask("spain consolidated legislation — agencia estatal boletín oficial del estado (boe), open-data api");