GnistAI GnistAI
Log in

Historical Events

Curated database of major historical events — wars, discoveries, revolutions, and milestones across all eras.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 6 tools tools 6 6 Education

Data source: Curated dataset (Wikipedia, academic sources)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/historical-events/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-historical-events": {
      "url": "https://context.gnist.ai/mcp/historical-events/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/historical-events/" \
  -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": "get_historical_event", "arguments": {"event_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/historical-events/

6 endpoints available:

Shell
curl "https://context.gnist.ai/rest/historical-events/get_historical_event?event_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/historical-events/get_historical_event",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "event_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc historical-events

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (6)

get_historical_event
Get a single historical event by its ID.
ParameterTypeRequiredDescription
event_idstringrequiredEvent slug ID (e.g. 'moon-landing-1969', 'magna-carta').
search_historical_events
Search historical events by keyword.
ParameterTypeRequiredDescription
querystringrequiredSearch keyword — matches event title and description.
limitanyoptionalMaximum number of results (default: 20, max: 100).
list_events_by_era
List historical events filtered by era.
ParameterTypeRequiredDescription
erastringrequiredEra name: Ancient, Medieval, Early Modern, Modern, or Contemporary.
limitanyoptionalMaximum number of results (default: 50, max: 100).
list_events_by_category
List historical events filtered by category.
ParameterTypeRequiredDescription
categorystringrequiredCategory: War & Conflict, Science & Technology, Politics, Exploration, Culture, Economics, Religion, or Natural Disaster.
limitanyoptionalMaximum number of results (default: 50, max: 100).
list_events_by_year_range
List historical events within a year range (inclusive).
ParameterTypeRequiredDescription
start_yearintegerrequiredStart year (use negative values for BCE, e.g. -500).
end_yearintegerrequiredEnd year (use negative values for BCE, e.g. -100).
limitanyoptionalMaximum number of results (default: 50, max: 100).
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related