Use Open Data BCN with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Access the Open Data BCN portal to query urban datasets, environmental records, and public statistics directly through AI.
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.
Complete set · 7 capabilities
The complete Open Data BCN capability set.
These are the exact actions your AI can choose when you ask it to work with Open Data BCN.
01-04
4 capabilities in this set.
Part of 7 available through Open Data BCN.
- 01
Bcn package list
List all dataset names in the Open Data BCN catalogue
- 02
Bcn current packages
List datasets including their resources
- 03
Bcn datastore search
Search and filter records within a specific CSV resource
- 04
Bcn datastore search SQL
The table name must be the resource_id wrapped in double quotes. Execute SQL queries directly against a resource
05-07
3 capabilities in this set.
Part of 7 available through Open Data BCN.
- 05
Bcn package search
Search for datasets matching specific criteria
- 06
Bcn package show
Get metadata for a specific dataset
- 07
Bcn resource show
Get metadata for a specific resource
Observed, not estimated
891ms average. Fast in production.
Open Data BCN is checked daily against the live service.
- Fastest day
- 735ms
- Slowest day
- 1100ms
- 14-day trend
- Slowing+24%
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
FAQ
Questions Open Data BCN owners ask.
- 01
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.
- 02
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.
- 03
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
ANEEL Dados Abertos AI Connector
Access the Brazilian National Electric Energy Agency (ANEEL) Open Data Portal to query electricity sector data
ViewHHS Open Payments AI Connector
Access the HHS Open Payments database to search for physicians, teaching hospitals, and financial relationship
ViewHoneycomb AI Connector
Automate observability via Honeycomb — manage datasets, queries, and markers directly from any AI agent.
ViewRagas AI Connector
Equip your AI with Ragas to create datasets, run RAG evaluations, and track experiment metrics directly from y
View
Suggestions
4D AI Connector
Standard REST API for 4D Database — explore catalogs, query DataClasses, and manage entities via AI.
ViewECB Discovery — Universal Statistical Data Access AI Connector
Explore the complete ECB statistical catalog: browse all available dataflows (datasets) and query any ECB SDMX
ViewDISCO AI Connector
Query your DISCO eDiscovery datasets, data-usage changes, and review metrics directly from any AI agent via th
ViewOceanBase AI Connector
Enterprise distributed relational database — manage clusters, tenants, and databases via AI.
View
