events
Pack: madrid-events · Endpoint: https://gateway.pipeworx.io/madrid-events/mcp
Find cultural events & activities in Madrid, Spain (next ~100 days). Filter by keyword, free admission, and date window. Returns events with venue, address, geo, audience and price. Content is in Spanish.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Keyword over title, description and venue, e.g. “música”, “exposición”, “teatro”. |
free_only | boolean | no | If true, only free events. |
from | string | no | Include events on/after this date YYYY-MM-DD (default: today). |
to | string | no | Include events starting on/before this date YYYY-MM-DD. |
limit | number | no | Max events (1-${MAX_LIMIT}, default 20). |
offset | number | no | Pagination offset (default 0). |
Example call
Arguments
{
"query": "música",
"free_only": false,
"from": "2025-01-15",
"to": "2025-04-15",
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/madrid-events/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"events","arguments":{"query":"música","free_only":false,"from":"2025-01-15","to":"2025-04-15","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('events', {
"query": "música",
"free_only": false,
"from": "2025-01-15",
"to": "2025-04-15",
"limit": 20
});
More examples
{
"query": "exposición",
"free_only": true,
"limit": 10
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"madrid-events": {
"url": "https://gateway.pipeworx.io/madrid-events/mcp"
}
}
}
See Getting Started for client-specific install steps.