Ayuntamiento de Barcelona (CKAN) MCP Server with 7 Tools for Claude, Cursor, and AI Agents
Access the Open Data BCN portal to query urban datasets, environmental records, and public statistics directly through AI. Vinkius routes your AI agents directly to Ayuntamiento de Barcelona (CKAN) through a governed connection. 7 tools ready to use with Claude, ChatGPT, Cursor, or any AI agent — no hosting, no setup, connect in 30 seconds.
Ask AI about this server
Compatible with every major AI agent and IDE

* 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
What is the Open Data BCN MCP Server?
The Open Data BCN MCP Server routes AI agents like Claude, ChatGPT, and Cursor directly to Open Data BCN via 7 tools. Access the Open Data BCN portal to query urban datasets, environmental records, and public statistics directly through AI. Powered by Vinkius — your credentials stay on your side of the connection, every request is auditable. Connect in under 2 minutes.
Built-in capabilities (7)
Tools for your AI Agents to operate Open Data BCN
Ask your AI agent "List the first 10 datasets available in the Barcelona Open Data catalogue." and get the answer without opening a single dashboard. With 7 tools connected to real Open Data BCN data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by Vinkius — your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you the infrastructure to connect your AI agents to thousands of MCP servers — and deploy your own to the Vinkius Edge. Your credentials stay yours. Your data flows directly between your agent and the API. DLP blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade routing and governance, zero maintenance.
Build your own MCP Server with our secure development framework →The Ayuntamiento de Barcelona (CKAN) App Connector works with every AI agent you already use
…and any MCP-compatible client


















Use all 7 Ayuntamiento de Barcelona (CKAN) tools with your AI agents right now
Vinkius routes your AI agents to Ayuntamiento de Barcelona (CKAN) through a governed proxy. Beyond a simple connection, you get full visibility into every action your agents perform, with enterprise-grade security and up to 60% savings on AI costs.
Bcn current packages on Ayuntamiento de Barcelona (CKAN)
List datasets including their resources
Bcn datastore search on Ayuntamiento de Barcelona (CKAN)
Search and filter records within a specific CSV resource
Bcn datastore search sql on Ayuntamiento de Barcelona (CKAN)
The table name must be the resource_id wrapped in double quotes. Execute SQL queries directly against a resource
Bcn package list on Ayuntamiento de Barcelona (CKAN)
List all dataset names in the Open Data BCN catalogue
Bcn package search on Ayuntamiento de Barcelona (CKAN)
Search for datasets matching specific criteria
Bcn package show on Ayuntamiento de Barcelona (CKAN)
Get metadata for a specific dataset
Bcn resource show on Ayuntamiento de Barcelona (CKAN)
Get metadata for a specific resource
What the Ayuntamiento de Barcelona (CKAN) MCP Server unlocks
Connect to the Ayuntamiento de Barcelona (Open Data BCN) portal and transform public data into actionable insights through natural conversation. This MCP server leverages the CKAN API to provide real-time access to Barcelona's official data repository.
What you can do
- Dataset Discovery — List all available datasets or search for specific topics like transportation, environment, or demographics using
bcn_package_search. - Metadata Inspection — Retrieve detailed metadata for specific datasets and resources to understand data structures and update frequencies.
- Deep Data Querying — Use
bcn_datastore_searchto filter records within CSV resources or execute complexbcn_datastore_search_sqlqueries for precise data extraction. - Resource Management — List all resources associated with a dataset, including download links and format specifications.
How it works
1. Subscribe to this server
2. Enter your Open Data BCN API Token (optional for public data, required for higher rate limits)
3. Start querying Barcelona's public data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Data Analysts & Researchers — Quickly fetch and filter urban data without manual CSV downloads.
- Urban Planners — Access real-time statistics on city infrastructure and services.
- Developers — Integrate official city data into applications using SQL-like queries directly from the AI.
Frequently asked questions about the Ayuntamiento de Barcelona (CKAN) MCP Server
Can I perform SQL queries on Barcelona's public datasets?
Yes, you can use the bcn_datastore_search_sql tool to execute SELECT statements directly against any resource that is stored in the portal's datastore.
How do I find datasets related to a specific topic like 'transport'?
Use the bcn_package_search tool with the query parameter q set to your topic. You can also limit the number of results for faster browsing.
Is it possible to see the actual rows of a CSV file without downloading it?
Absolutely. The bcn_datastore_search tool allows you to query and preview the contents of a resource directly, including filtering and sorting options.
More in this category

Salespanel
11 toolsAutomate lead tracking and visitor intelligence via Salespanel — manage contacts, website visitors, and engagement directly from any AI agent.

AB.GL
10 toolsShorten URLs, track click performance, and manage branded links with real-time analytics for every campaign.

U.S. Treasury Budget — Federal Revenue, Spending & Deficit
5 toolsTrack the U.S. Federal Government's wallet. Access daily Treasury cash balances, monthly and yearly federal revenue/spending, and track the ongoing multi-trillion dollar budget deficit.

Fireworks AI
6 toolsEmpower LLM applications via Fireworks AI — perform ultra-fast chat completions, generate embeddings and images, and transcribe audio directly from any AI agent.
You might also like

Crelate Talent CRM
10 toolsEquip your AI agent to manage candidates, jobs, and client companies directly via the Crelate API.

Jira Software Cloud
31 toolsManage Jira Software Agile workflows — list boards, track sprints, manage backlogs, and inspect epics directly from your AI agent.

Twilio SendGrid
10 toolsEquip your AI agent with capabilities to natively dispatch HTML emails, prune suppression bounce lists, and manage marketing contacts via the SendGrid API.

GitScrum Tasks
28 toolsMaster task execution via GitScrum — create, filter, assign, and track tasks with subtasks, checklists, and comments directly from any AI agent.
We built the connector to Ayuntamiento de Barcelona (CKAN). Now put your agents to work. Fully governed.
Vinkius is the AI Gateway with managed hosting. Stop building connectors. Every connection runs inside eight layers of security.
Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.
Every tool call, every token, every response. Logged and auditable. Data flows direct from Ayuntamiento de Barcelona (CKAN) to your agent. Nothing is stored on our side. Ever.
Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.
