Reference
Data source: Wikipedia (Wikimedia REST API)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/this-day/
claude_desktop_config.json
{
"mcpServers": {
"gnist-this-day": {
"url": "https://context.gnist.ai/mcp/this-day/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/this-day/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "report_feedback", "arguments": {"feedback": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/this-day/
2 endpoints available:
GET /rest/this-day/get_on_this_dayGET /rest/this-day/report_feedback
Shell
curl "https://context.gnist.ai/rest/this-day/report_feedback?feedback=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/this-day/report_feedback",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"feedback": "example"
},
)
print(resp.json())
Command Line
Command
gc this-day
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (2)
get_on_this_dayGet historical events, births, and deaths that happened on this day.
| Parameter | Type | Required | Description |
|---|---|---|---|
month | any | optional | Month (1-12). Defaults to today. |
day | any | optional | Day of month (1-31). Defaults to today. |
type | any | optional | Filter: 'events', 'births', or 'deaths'. Omit for all three. |
max_results | any | optional | Max entries per category (default: 20, max: 100). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |