datasets

Pack: datos-gob-es · Endpoint: https://gateway.pipeworx.io/datos-gob-es/mcp

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.

Parameters

NameTypeRequiredDescription
querystringno
pagenumberno
page_sizenumberno
themestringno

Example call

Arguments

{
  "query": "population"
}

curl

curl -X POST https://gateway.pipeworx.io/datos-gob-es/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"datasets","arguments":{"query":"population"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('datasets', {
  "query": "population"
});

More examples

{
  "query": "economic indicators",
  "theme": "economia",
  "page": 1,
  "page_size": 20
}

Response shape

FieldTypeDescription
resultsarrayArray of dataset results
pagenumberCurrent page number
pageSizenumberResults per page
Full JSON Schema
{
  "type": "object",
  "description": "Search results from datos.gob.es catalog",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of dataset results",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Dataset identifier"
          },
          "title": {
            "type": "string",
            "description": "Dataset title"
          },
          "description": {
            "type": "string",
            "description": "Dataset description"
          },
          "theme": {
            "type": "string",
            "description": "Dataset theme category"
          },
          "publisher": {
            "type": "string",
            "description": "Publisher name"
          },
          "issued": {
            "type": "string",
            "description": "Publication date"
          },
          "modified": {
            "type": "string",
            "description": "Last modification date"
          }
        }
      }
    },
    "page": {
      "type": "number",
      "description": "Current page number"
    },
    "pageSize": {
      "type": "number",
      "description": "Results per page"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "datos-gob-es": {
      "url": "https://gateway.pipeworx.io/datos-gob-es/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026