Bring Open Data
to Vercel AI SDK
Learn how to connect Datos.gob.es (Catálogo Nacional) to Vercel AI SDK and start using 22 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
Compatible with every major AI agent and IDE
What is the Datos.gob.es (Catálogo Nacional) MCP Server?
Connect to the official Datos.gob.es API to explore Spain's vast repository of public sector information. This MCP server allows AI agents to query, filter, and analyze thousands of datasets from national, regional, and local administrations.
What you can do
- Dataset Discovery — Search for specific datasets by title or browse the entire catalog with advanced pagination and sorting.
- Advanced Filtering — Narrow down results by publisher ID, specific themes (e.g., health, economy), or file formats like CSV, JSON, and RDF.
- Geographic Analysis — Filter data by spatial scope, including provinces, regions, or specific administrative levels.
- Metadata Inspection — Retrieve detailed metadata for any dataset, including its distributions, update frequency, and issuing body.
- Public Sector Mapping — List and inspect public sector organizations, provinces, and regions involved in the open data ecosystem.
How it works
- Subscribe to this server
- The server connects to the public Datos.gob.es API
- Start querying Spanish public data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Data Analysts — quickly find and inspect public datasets for research and reporting without manual browsing.
- Developers — identify API endpoints and data formats for integration into applications.
- Policy Researchers — track public sector transparency and data availability across different Spanish regions.
Built-in capabilities (22)
Get country-level information for Spain
Get a specific dataset by its URI identifier
g., Madrid). Get a specific province by ID
g., comercio). Get a specific primary sector by ID
g., Comunidad-Madrid). Get a specific Autonomous Community (Region) by ID
gob.es catalog. Get all datasets from the catalog
Filter datasets by modification date range
g., csv). Filter datasets by format
Filter datasets by keyword
g., A16003011). Filter datasets by publisher ID
g., word1=Autonomia, word2=Pais-Vasco). Filter datasets by geographic scope
g., hacienda). Filter datasets by theme/category
Get all data distributions
Get distributions by dataset ID
g., csv). Filter distributions by format
Get all provinces
Get the taxonomy of primary sectors
Get all publishers in the catalog
Get all Autonomous Communities (Regions)
Get all geographic coverage options
Get all categories/themes
Search datasets by title
Why Vercel AI SDK?
The Vercel AI SDK gives every Datos.gob.es (Catálogo Nacional) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 22 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Datos.gob.es (Catálogo Nacional) integration everywhere
- —
Built-in streaming UI primitives let you display Datos.gob.es (Catálogo Nacional) tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Datos.gob.es (Catálogo Nacional) in Vercel AI SDK
Datos.gob.es (Catálogo Nacional) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Datos.gob.es (Catálogo Nacional) to Vercel AI SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Datos.gob.es (Catálogo Nacional) in Vercel AI SDK
The Datos.gob.es (Catálogo Nacional) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 22 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Vercel AI SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Datos.gob.es (Catálogo Nacional) for Vercel AI SDK
Every tool call from Vercel AI SDK to the Datos.gob.es (Catálogo Nacional) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I search for datasets containing a specific word in the title?
Use the search_datasets_by_title tool. Provide the string you are looking for in the title parameter, and the agent will return all matching datasets from the national catalog.
Is it possible to filter datasets by a specific file format like CSV or JSON?
Yes! Use the list_datasets_by_format tool and specify the format (e.g., 'csv', 'json', 'xlsx'). This will retrieve only the datasets that offer distributions in that format.
Can I find datasets belonging to a specific category like 'Health' or 'Environment'?
Absolutely. Use the list_datasets_by_theme tool with the corresponding theme ID. You can first use list_themes to see all available categories in the catalog.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
WooCommerce Order Status Reader
1 toolsThis MCP gives your AI agent the ability to check the real-time status and tracking information of any WooCommerce order using an Order ID or a Customer Email. Perfect for automating "where is my order?" (WISMO) support queries.

Harmonic
11 toolsAutomate company and startup intelligence via Harmonic — enrich domains, track funding, and discover investors directly from any AI agent.

TaxJar
10 toolsConnect your AI to TaxJar. Calculate sales tax dynamically, validate active nexus regions, and assess order tax liability natively from the terminal.

Copy.ai
8 toolsEquip your AI agent to automate content production and business processes using Copy.ai Workflows.
