events
Pack: nyc-parks · Endpoint: https://gateway.pipeworx.io/nyc-parks/mcp
Upcoming NYC Parks events (next ~14 days): free/low-cost outdoor, fitness, nature, kids and recreation-center programming. Filter by date window, category (e.g. “Best for Kids”, “Sports”, “Nature”, “Fitness”), and keyword (title/park/location/description).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Earliest event date YYYY-MM-DD (default: today). |
to | string | no | Latest event date YYYY-MM-DD (default: no upper bound within the 14-day feed). |
category | string | no | Filter by a category keyword, e.g. “Best for Kids”, “Sports”, “Nature”, “Fitness”, “Free”. Discover via the categories tool. |
query | string | no | Keyword over title, park name, location, and description. |
limit | number | no | Max events to return (1-300, default 50). |
Example call
Arguments
{
"category": "Best for Kids",
"limit": 50
}
curl
curl -X POST https://gateway.pipeworx.io/nyc-parks/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"events","arguments":{"category":"Best for Kids","limit":50}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('events', {
"category": "Best for Kids",
"limit": 50
});
More examples
{
"query": "yoga",
"category": "Fitness",
"limit": 20
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nyc-parks": {
"url": "https://gateway.pipeworx.io/nyc-parks/mcp"
}
}
}
See Getting Started for client-specific install steps.