# Datos Gob Es Mcp

> MCP server for check Spanish Administrations data sets using datos.gob.es web API

- **Type:** MCP server
- **Install:** `agentstack add mcp-ancode666-datos-gob-es-mcp`
- **Verified:** Pending review
- **Seller:** [AnCode666](https://agentstack.voostack.com/s/ancode666)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AnCode666](https://github.com/AnCode666)
- **Source:** https://github.com/AnCode666/datos.gob.es-mcp

## Install

```sh
agentstack add mcp-ancode666-datos-gob-es-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Datos.gob.es-MCP. MCP integration with the Spanish Government Open Data Portal

[](README.md)
[](README_es.md)

[](https://mseep.ai/app/ancode666-datos-gob-es-mcp)
[](https://mseep.ai/app/ancode666-datos-gob-es-mcp)

**Datos.gob.es-mcp** enables querying and analyzing over 90,000 public datasets available on the [datos.gob.es](https://datos.gob.es/es/) portal directly from Claude AI and other compatible MCP clients using the **Model Context Protocol (MCP)**.

This MCP server exposes tools for LLMs to search, filter, and access open data across multiple sectors.

## Main features

- **Keyword search** across dataset titles, descriptions and tags.
- **Thematic category filtering** (environment, transportation, education, etc.)
- **Detailed metadata access** for each dataset.
- **Available distributions** listing (formats and access URLs)
- **Custom SPARQL queries** execution against the official SPARQL endpoint.

## Installation

### Install via uv

### Prerequisites

- Python 3.10 or higher
- [uv](https://docs.astral.sh/uv/getting-started/installation/) package manager

### uv Installation

First install `uv`, a modern Python package manager.
**Install from command line**:

En MAC y Linux:

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```

En Windows:

```bash
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

También se puede instalar con pip:

```bash
pip install uv
```

For more information about installing **uv**, visit the [uv documentation](https://docs.astral.sh/uv/getting-started/installation/).

## Integration with clients like Claude for Desktop

Once **uv** is installed, you can use the MCP server with any compatible client like Claude Desktop. Configuration steps:

1. Go to **Claude > Settings > Developer > Edit Config > `claude_desktop_config.json`**
2. Add this configuration block under `"mcpServers"`:

```json
"datos_gob_es_mcp": {
    "command": "uvx",
    "args": [
        "datos_gob_es_mcp"
    ]
}
```

3. If you have other MCP servers configured, separate them with commas `,`

For other MCP-compatible clients like Cursor, CODEGPT or Roo Code, add the same configuration block to their respective MCP server settings.

## Usage Examples

Once properly configured, you can request operations like:

```text
- "Search for public transportation datasets in Madrid"
- "List latest datasets published by Barcelona City Council"
- "Show details for dataset with URI https://datos.gob.es/es/catalogo/l01330241-padron-de-vehiculos-ano-2023-autobuses"
---

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AnCode666](https://github.com/AnCode666)
- **Source:** [AnCode666/datos.gob.es-mcp](https://github.com/AnCode666/datos.gob.es-mcp)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-ancode666-datos-gob-es-mcp
- Seller: https://agentstack.voostack.com/s/ancode666
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
