
Connect Ayuntamiento De Barcelona Ckan to ChatGPT and Claude
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Turn city statistics into actionable insights instantly.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 7 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 7 available through Open Data BCN.
- 01
Bcn package list
Use this capability to list every dataset available in the Open Data BCN catalog.
- 02
Bcn current packages
This capability lists all available datasets, including details about the resources attached to each one.
- 03
Bcn datastore search
You can search and filter records within a specific CSV resource using this capability.
- 04
Bcn datastore search SQL
Execute SQL queries directly against a resource. Remember to wrap the table name in double quotes.
05-07
3 capabilities in this set.
Part of 7 available through Open Data BCN.
- 05
Bcn package search
Search for datasets by matching specific criteria or keywords.
- 06
Bcn package show
Get detailed metadata for a specific dataset, helping you understand its structure and update frequency.
- 07
Bcn resource show
Use this capability to retrieve metadata for a specific data resource.
Real work
What teams actually run
Analyzing Traffic Patterns
You can run a query to count accident records for a specific year and filter those results by district.
Checking Environmental Data
You search for datasets related to environmental records to track changes in air quality or green spaces.
Mapping Public Assets
You find and inspect resources detailing public WiFi hotspots or municipal market locations.
Demographic Research
You pull and filter records to understand population density or demographic shifts in specific city zones.
Automate a task
Put Open Data BCN to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
Open Data BCN works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Open Data BCN to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
1092ms average. Fast in production.
Open Data BCN is checked daily against the live service.
- Fastest day
- 981ms
- Slowest day
- 1415ms
- 14-day trend
- Stable+3%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 7 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Open Data BCN, so you can see the experience inside your AI.
It does not authenticate your account with Open Data BCN. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Open Data BCN Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Open Data BCN capabilities are ready to use.
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan-mcp": {
"url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Open Data BCN in Claude and other AIs
Who it's for
Built for the work Open Data BCN owners hand off.
This MCP is essential for professionals who deal with large, structured public datasets. If your job requires analyzing city infrastructure, environmental trends, or demographic shifts, this connector gets you the data you need without manual steps.
- 01
Data Analysts
You use this MCP to quickly fetch and filter urban data without having to manually download and clean CSV files.
- 02
Urban Planners
You access real-time statistics on city services and infrastructure to inform planning decisions.
- 03
Developers
You integrate official city data into applications by running SQL-like queries directly from your agent.
FAQ
Questions Open Data BCN owners ask.
- 01
Do I need an API token to use this MCP?
The token is optional for accessing public data. However, you will need it if you plan on hitting higher rate limits or accessing restricted datasets.
- 02
Can I run SQL queries on the data?
Yes. The MCP includes a capability that lets you execute SQL queries directly against specific resources, letting you filter and count records precisely.
- 03
Is this just a directory of data, or can I actually query it?
This is not a directory. It's a live connection. You talk to your AI client, and the MCP executes the search, filtering, and querying actions on the city's live data.
- 04
What kind of data is available?
The catalog includes urban datasets, environmental records, public statistics, and information on city infrastructure and services.
- 05
Can I perform SQL queries on Barcelona's public datasets?
Yes, you can use the bcn_datastore_search_sql capability to execute SELECT statements directly against any resource that is stored in the portal's datastore.
- 06
How do I find datasets related to a specific topic like 'transport'?
Use the bcn_package_search capability with the query parameter q set to your topic. You can also limit the number of results for faster browsing.
- 07
Is it possible to see the actual rows of a CSV file without downloading it?
Absolutely. The bcn_datastore_search capability allows you to query and preview the contents of a resource directly, including filtering and sorting options.
Explore
More in Data Analytics
UK ONS Discovery — Search 337+ Statistical Datasets AI Connector
Explore the full ONS dataset catalog: search 337+ datasets by keyword, browse metadata and dimensions, discove
ViewAyuntamiento de Madrid (CKAN) AI Connector
Access Madrid's open data portal — list datasets, search for municipal information, and inspect resources from
ViewEurostat Discovery — Dataset Catalog Explorer AI Connector
Explore Eurostat's catalog of 7,000+ official datasets: search by keyword, inspect dataset dimensions and code
ViewData.gov Catalog AI Connector
Access the official US Government open data catalog. Search thousands of datasets, organizations, and spatial
View
Suggestions
ECB Discovery — Universal Statistical Data Access AI Connector
Explore the complete ECB statistical catalog: browse all available dataflows (datasets) and query any ECB SDMX
ViewMaranhão Open Data AI Connector
Access public datasets from Maranhão, Brazil — search packages, inspect resources, and query the datastore via
ViewEMT Madrid (Open Data) AI Connector
Access real-time Madrid public transport data: bus arrivals, BiciMAD bike status, and route planning via EMT O
ViewAragón Open Data AI Connector
Access public data from the Government of Aragón — query datasets, preview views, and explore the CKAN catalog
View
Connect Open Data BCN to Claude, Cursor, ChatGPT & more
