Datos Gob Es

liveGovernmentEurope

datos.gob.es — Spain's national open data portal for searching datasets, publishers, and themes across Spanish government data.

4tools
0msauth
free tier50 calls/day

Tools

datasets

Search the Spanish open data portal (datos.gob.es) catalog by keyword, theme, or both; returns paginated dataset listings with title, publisher, and download links.

No parameters required.

▶Try it
dataset

Fetch full metadata for a single datos.gob.es dataset by its ID; returns title, description, publisher, themes, distribution URLs, and license.

No parameters required.

▶Try it
publishers

List public-sector publishers on datos.gob.es (Spanish open data portal); returns publisher names and IDs, up to 50 results.

No parameters required.

▶Try it
themes

List available dataset themes/categories on datos.gob.es (e.g. Economy, Health, Transport); returns theme labels and IDs for use as a filter in the datasets tool.

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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/datos-gob-es/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/datos-gob-es/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"datasets","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("datasets", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("datos");