# Datos Gob Es

> Datos Gob Es is a freemium MCP server for legal and government. MCP server for searching Spain's national open data portal datos.gob.es. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, self-hosted
- **Website:** https://pipeworx.io/packs/datos-gob-es
- **Repository:** https://github.com/pipeworx-io/mcp-datos-gob-es
- **MCP Registry name:** io.github.pipeworx-io/datos-gob-es
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-18

## About

The README says this server wraps the public datos.gob.es API, the catalogue run by Spain's government for open datasets. It exposes four tools: keyword and theme search across datasets, a lookup for full metadata on a single dataset by ID, a list of public-sector publishers, and a list of DCAT-style themes that can be passed back as a filter.

The server is hosted by Pipeworx, which provides the gateway endpoint. Calls can be made anonymously with a daily cap, and a free Pipeworx key raises that cap. The npm package is a local stdio bridge that forwards requests to the same hosted endpoint, so it needs network access.

The server suits developers and analysts who want an AI assistant to look up Spanish public datasets, check their publishers and licences, or find distribution download links without browsing the portal by hand.

## Features

- **Dataset keyword search:** Searches the catalogue by keyword, theme, or both, returning paginated listings with title, publisher and download links.
- **Single dataset metadata:** Fetches title, description, publisher, themes, distribution URLs and licence for one dataset by its ID.
- **Publisher listing:** Lists public-sector publishers with their names and IDs, up to 50 per call.
- **Theme listing for filters:** Returns theme labels and IDs that can be used as a filter in the dataset search.
- **Optional API key:** Calls work anonymously with a daily cap; a free Pipeworx key raises the cap.

## Good for

- Finding Spanish government datasets on economy, health or transport from an AI assistant
- Retrieving download URLs and licence terms for a specific open dataset
- Identifying which public bodies publish data on a given theme
- Building a catalogue of Spanish open data sources for research

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http datos-gob-es https://gateway.pipeworx.io/datos-gob-es/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/datos-gob-es/mcp
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "datos-gob-es": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/datos-gob-es/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "datos-gob-es": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/datos-gob-es/mcp"
    }
  }
}
```

## Tools

- `datasets`: Search datasets by query, page, page size and theme.
- `dataset`: Fetch full metadata for a single dataset by ID.
- `publishers`: List public-sector publishers, up to a limit.
- `themes`: List dataset themes (DCAT classification).

## FAQ

### Does the server need an API key?

No. The README says calls are anonymous without a key but capped daily; a free Pipeworx key raises the cap to 200 calls a day.

### Which tools does the server provide?

The README lists four pack tools: datasets, dataset, publishers and themes. The hosted endpoint also lists shared Pipeworx meta-tools alongside them.

### Can the npm package run offline?

No. The README states it is a stdio bridge to the Pipeworx gateway and needs network access, with no offline mode.

### Is Datos Gob Es free?

Datos Gob Es has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Datos Gob Es to Claude Code?

Run this command in your terminal: claude mcp add --transport http datos-gob-es https://gateway.pipeworx.io/datos-gob-es/mcp

### What are the best alternatives to Datos Gob Es?

The closest alternatives to Datos Gob Es are Datos Cl, Data Europa, Data Govt Nz, Data Ny and DataX Spain & EU Official Registries.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Datos Cl](https://ai-powered.com/mcp/datos-cl): Datos Cl is a freemium MCP server for legal and government.
- [Data Europa](https://ai-powered.com/mcp/data-europa): Data Europa is a freemium MCP server for legal and government.
- [Data Govt Nz](https://ai-powered.com/mcp/data-govt-nz): Data Govt Nz is a freemium MCP server for legal and government.
- [Data Ny](https://ai-powered.com/mcp/data-ny): Data Ny is a freemium MCP server for legal and government.
- [DataX Spain & EU Official Registries](https://ai-powered.com/mcp/datax-spain-and-eu-official-registries): DataX Spain & EU Official Registries is a paid MCP server for legal and government.
- [Eu Parliament](https://ai-powered.com/mcp/eu-parliament): Eu Parliament is a freemium MCP server for legal and government.
- [DataX Portugal & EU Official Registries](https://ai-powered.com/mcp/datax-portugal-and-eu-official-registries): DataX Portugal & EU Official Registries is a freemium MCP server for legal and government.
- [EU & Spain Public Data (BOE, BORME, EU funding, TED)](https://ai-powered.com/mcp/eu-and-spain-public-data-boe-borme-eu-funding-ted): EU & Spain Public Data (BOE, BORME, EU funding, TED) is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/datos-gob-es
