• DATA
  • LOGIC
  • INSIGHT
  • HUMAN

How to filter Barcelona dataset records with your agent

Connect to the Ayuntamiento de Barcelona (CKAN) repository once. From then on, your agent handles the data lookups for you.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I filter specific rows in the Barcelona datasets?

Your agent uses the datastore search tool to query the CKAN repository for exact matches. You can isolate specific records by providing criteria like dates, locations, or categories. This gives you access to the specific rows you need.

The results

Where your data lands

Your agent translates your questions into precise queries to pull the right information.

DATA

Filtered row sets

Your agent pulls only the rows that match your criteria. You get a clean subset of the dataset instead of a massive file.

LOGIC

Targeted queries

Your agent handles the filtering logic. It maps your natural language requests to the specific columns in the CKAN resource.

INSIGHT

Immediate answers

Once the rows are isolated, your agent can summarize the data. You get direct answers to questions about the specific records found.

HUMAN

Final verification

Your agent provides the data, but you decide if the results are correct. You remain in control of the final interpretation.

The workflow

What your agent does when the request arrives.

Your agent acts as the interface between your chat and the Barcelona open data repository.

  1. Identify the target

    Your agent determines which dataset and which specific columns you want to query based on your prompt.

    bcn_datastore_search
  2. Run the query

    Your agent executes a search against the CKAN datastore to find rows that meet your constraints.

    bcn_datastore_search
  3. Parse the data

    The tool returns the matching records, which your agent then organizes into a readable format.

    bcn_datastore_search
  4. Deliver findings

    Your agent presents the filtered rows or the specific answer you asked for.

    bcn_datastore_search

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Open Data BCN tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin querying the Barcelona datasets.

Starting points

Replace the bracketed text with the actual dataset names or column values you want to find.

Open Data BCN Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Open Data BCN capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ayuntamiento-de-barcelona-ckan-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_iv5GYpi3FqmjfmjJOIvg9apgeu4Cf7aNs3ZIC6cs/mcp"
    }
  }
}
Copy into chat04
  • 01

    Find all records in the [dataset name] where the [column name] is [value].

  • 02

    Search the [dataset name] for any entries from the year [year].

  • 03

    List the top 10 rows from [dataset name] that match the criteria [criteria].

  • 04

    Filter the [dataset name] to show only records located in [district name].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Ayuntamiento de Barcelona (CKAN) once, then ask.

One link connects this MCP to your client. Your login stays encrypted on our side, and you can start searching immediately.

Connect Ayuntamiento de Barcelona (CKAN) to your agent

FAQ

How the task behaves

  • 01

    Can your agent edit the Barcelona datasets?

    No. The tool only allows for searching and reading data. It cannot change or delete any records in the repository.

  • 02

    Can I use this to download huge files?

    No. This tool is for searching and filtering specific rows. It is not meant for bulk downloading entire datasets.

  • 03

    Does your agent know which columns are in a dataset?

    Yes. Your agent uses the search tool to see the dataset structure so it knows which fields you can filter by.

  • 04

    Can I ask for math on the results?

    Yes. Once your agent has filtered the rows, you can ask it to calculate sums, averages, or other statistics.

  • 05

    What if my filter doesn't find anything?

    Your agent will tell you that no records matched your criteria. It won't make up data.

  • More questions about Ayuntamiento de Barcelona (CKAN)? The Connector page answers them. See everything the Ayuntamiento de Barcelona (CKAN) Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Open Data BCN to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Open Data BCN plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Open Data BCN to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.