get_events
Pack: onthisday · Endpoint: https://gateway.pipeworx.io/onthisday/mcp
Search historical events on a specific date. Provide month (1-12) and day (1-31). Returns event descriptions, years, and details.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
month | number | yes | Month as a number (1-12). |
day | number | yes | Day of the month (1-31). |
Example call
Arguments
{
"month": 7,
"day": 20
}
curl
curl -X POST https://gateway.pipeworx.io/onthisday/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_events","arguments":{"month":7,"day":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_events', {
"month": 7,
"day": 20
});
More examples
{
"month": 12,
"day": 25
}
Response shape
Always returns: date, type, count, events
| Field | Type | Description |
|---|---|---|
date | string | The date string from the API response |
type | string | The type of entries returned |
count | number | Number of events found |
events | array | Array of historical events |
Full JSON Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "The date string from the API response"
},
"type": {
"type": "string",
"enum": [
"events"
],
"description": "The type of entries returned"
},
"count": {
"type": "number",
"description": "Number of events found"
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "string",
"description": "Year the event occurred"
},
"description": {
"type": "string",
"description": "Event description"
},
"wikipedia": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Wikipedia article title"
},
"url": {
"type": "string",
"description": "Wikipedia article URL"
}
}
},
"description": "Wikipedia references for the event"
}
},
"required": [
"year",
"description",
"wikipedia"
]
},
"description": "Array of historical events"
}
},
"required": [
"date",
"type",
"count",
"events"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"onthisday": {
"url": "https://gateway.pipeworx.io/onthisday/mcp"
}
}
}
See Getting Started for client-specific install steps.