Open Data BCN Connector for AI agents.
7 live capabilities
Query official Barcelona urban data and public statistics.
Waiting for input…
Why people use Open Data BCN
Ayuntamiento de Barcelona (CKAN) for Urban Planning Data
This Connector changes that. You just tell your agent what you're looking for, like find me all the bike lanes in Gràcia, and it handles the searching and filtering for you. You get the answer in seconds without ever opening a spreadsheet.
What Vinkius changes
You get direct, conversational access to official Barcelona city data without ever touching a spreadsheet.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Finding WiFi hotspots
A developer asks where public WiFi is located and gets a list of coordinates from the punts-wifi dataset.
- Real-world use case 02
Traffic accident counts
A researcher uses bcn_datastore_search_sql to count accidents in a specific district for 2023.
- Real-world use case 03
Environmental planning
A planner searches for tree zones and weather stations to map out new green spaces.
Complete set · 7capabilities
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 Capability
Bcn datastore search sql
Execute SQL queries directly against a specific resource. You just need to wrap the resource ID in double quotes as the table name.
- 02 Capability
Bcn datastore search
Search and filter records within a specific CSV resource. Use this to narrow down data without downloading the entire file.
- 03 Capability
Bcn package list
List all dataset names in the Open Data BCN catalogue. It's the fastest way to see the full scope of available public data.
- 04 Capability
Bcn current packages
Lists all available datasets including their resources. This helps you see what's available in the portal at a glance.
05—07
3 capabilities in this set.
Part of 7 available through Open Data BCN.
- 05 Capability
Bcn package search
Search for datasets matching specific criteria like topic or location. It makes finding relevant information much faster.
- 06 Capability
Bcn package show
Get metadata for a specific dataset. This lets you check update frequencies and data structures.
- 07 Capability
Bcn resource show
Get metadata for a specific resource. Use this to see download links and format specifications.
Set up in minutes
One URL. Then ask Open Data BCN to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Open Data BCN from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Open Data BCN, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Open Data BCN for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Open Data BCN URL.
- Step 03
Save and start
Save the connection and enable Open Data BCN in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan": {
"url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Open Data BCN
Open Agent mode in chat and ask: "Using Open Data BCN, help me...". 7 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan": {
"url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Open Data BCN
Ask Copilot: "Using Open Data BCN, help me...". 7 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan": {
"url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Open Data BCN
Open Cascade and ask: "Using Open Data BCN, help me...". 7 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan": {
"url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Open Data BCN
Ask Cline: "Using Open Data BCN, help me...". 7 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add ayuntamiento-de-barcelona-ckan --transport http "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Open Data BCN
Ask Claude: "Using Open Data BCN, show me...". 7 tools are ready
Where the request belongs
Work Open Data BCN can move forward.
This is for the urban planning nerd, the city data researcher, or the developer who needs to build apps using official municipal records without the headache of manual data scraping.
Urban Planner
Analyzes city infrastructure and service statistics to plan new projects.
Data Analyst
Extracts specific public records for research papers or reports.
GIS Developer
Pulls official city data into applications using SQL-like queries.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsAyuntamiento de Madrid (CKAN)
Access Madrid's open data portal. list datasets, search for municipal information, and inspect resources from the city's CKAN repository.
Dades Obertes Catalunya
Access Catalonia's Open Data portal. search catalogs and query datasets using SoQL to extract public information directly.
Comunidad de Madrid (Portal Regional)
Access the official Open Data portal of the Community of Madrid. Search datasets, inspect public resources, and query the datastore for regional information.
Gobierno Abierto Valencia
Access Valencia's Open Data portal to query datasets, resources, and public records directly from your AI agent.
Aragón Open Data
Access public data from the Government of Aragón. query datasets, preview views, and explore the CKAN catalog directly from your AI agent.
Datos Abiertos Castilla-La Mancha
Access the official Open Data portal of Castilla-La Mancha. Explore datasets, resources, and query tabular data directly through your AI agent.
Bring your own AI
Change the model, client or framework. Keep Open Data BCN connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Open Data BCN.
The practical details behind the request, access and result.
What kind of data can I get from the Ayuntamiento de Barcelona (CKAN) MCP?
You can access a wide range of official city data, including transportation stats, environmental records, urban planning datasets, and public demographics.
Do I need a special account to use the Ayuntamiento de Barcelona (CKAN) MCP?
No, you can access public data without an account. However, providing an API token is recommended if you need to perform high-volume queries.
Can I use SQL to query the Barcelona city data?
Yes, the Connector allows your AI agent to execute SQL queries directly against specific city resources, making it easy to filter and aggregate data.
How does the Ayuntamiento de Barcelona (CKAN) MCP help with urban planning?
It allows planners to quickly find and analyze infrastructure data, such as bike lanes or green spaces, without manually downloading and cleaning spreadsheets.
Is the data provided by the Ayuntamiento de Barcelona (CKAN) MCP up to date?
The Connector pulls directly from the official city portal, so you get the most current information available in the public repository.
Can I use this Connector to find public WiFi hotspots?
Yes, you can ask your agent to search for datasets like 'punts-wifi' to find all public WiFi locations across the city.
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.
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.
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.
One connection away
Give your agent a direct line to Open Data BCN.
Connect Open Data BCN once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available