events

Pack: barcelona-events · Endpoint: https://gateway.pipeworx.io/barcelona-events/mcp

Find upcoming cultural events & activities in Barcelona, Spain. Filter by keyword, district (e.g. “Eixample”, “Ciutat Vella”, “Gràcia”) and date window. Returns events with venue, district, coordinates and dates. Content is in Catalan/Spanish.

Parameters

NameTypeRequiredDescription
querystringnoKeyword over title and description, e.g. “música”, “exposició”, “infantil”.
districtstringnoFilter by district, e.g. “Eixample”, “Ciutat Vella”, “Gràcia”, “Sant Martí”.
fromstringnoInclude events ending on/after this date YYYY-MM-DD (default: today).
tostringnoInclude events starting on/before this date YYYY-MM-DD.
limitnumbernoMax events (1-${MAX_LIMIT}, default 20).
offsetnumbernoPagination offset (default 0).

Example call

Arguments

{
  "query": "música",
  "district": "Ciutat Vella",
  "from": "2024-01-15",
  "to": "2024-02-15",
  "limit": 20
}

curl

curl -X POST https://gateway.pipeworx.io/barcelona-events/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"events","arguments":{"query":"música","district":"Ciutat Vella","from":"2024-01-15","to":"2024-02-15","limit":20}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('events', {
  "query": "música",
  "district": "Ciutat Vella",
  "from": "2024-01-15",
  "to": "2024-02-15",
  "limit": 20
});

More examples

{
  "query": "exposició",
  "from": "2024-01-15"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "barcelona-events": {
      "url": "https://gateway.pipeworx.io/barcelona-events/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 7, 2026