GnistAI GnistAI
Log in

GDELT Global Events

Global event intelligence — article search, event timelines, tone analysis, and geographic coverage from 150+ countries.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Media

Data source: GDELT Project

MCP MCP Protocol

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

API REST API

API Root https://context.gnist.ai/rest/gdelt/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/gdelt/search_articles?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

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

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc gdelt

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

Install
pip install gnistai

Available Tools (5)

search_articles
Search global news articles across 150+ countries and 65+ languages.
ParameterTypeRequiredDescription
querystringrequiredSearch query — keywords, exact phrases in quotes, or GDELT syntax (e.g. "climate change", "domain:bbc.com").
timespanstringoptionalLookback window: "24h" (default), "7d", "2w", "3m". Max 3 months. (default: "24h")
max_resultsintegeroptionalMax articles to return (default 25, max 250). (default: 25)
sortstringoptionalSort order: "HybridRel" (relevance, default), "DateDesc", "DateAsc", "ToneDesc", "ToneAsc". (default: "HybridRel")
source_countryanyoptionalFilter by source country (e.g. "US", "france", "norway"). Optional.
source_langanyoptionalFilter by source language (e.g. "english", "spanish"). Optional.
get_event_timeline
Get media coverage volume over time — tracks how a story rises and falls.
ParameterTypeRequiredDescription
querystringrequiredSearch query — keywords or GDELT syntax.
timespanstringoptionalLookback window: "7d" (default), "24h", "2w", "3m". Max 3 months. (default: "7d")
smoothintegeroptionalMoving-average smoothing (0-30 time steps). 0 = no smoothing (default). (default: 0)
get_tone_timeline
Get media tone/sentiment over time for a topic.
ParameterTypeRequiredDescription
querystringrequiredSearch query — keywords or GDELT syntax.
timespanstringoptionalLookback window: "7d" (default), "24h", "2w", "3m". Max 3 months. (default: "7d")
smoothintegeroptionalMoving-average smoothing (0-30 time steps). 0 = no smoothing (default). (default: 0)
get_source_country_breakdown
Get which countries' media are covering a topic, ranked by volume.
ParameterTypeRequiredDescription
querystringrequiredSearch query — keywords or GDELT syntax.
timespanstringoptionalLookback window: "24h" (default), "7d", "3m". Max 3 months. (default: "24h")
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related