GnistAI GnistAI
Log in

News Intelligence

Track any topic across global media and the tech community. Sentiment timelines, geographic coverage maps, and trending stories from 150+ countries — powered by GDELT and Hacker News.

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

Data source: GDELT 2.0 API, Hacker News (Algolia)

MCP MCP Protocol

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

API REST API

API Root https://context.gnist.ai/rest/news-intelligence/

7 endpoints available:

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

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

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc news-intelligence

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

Install
pip install gnistai

Available Tools (7)

search_news
Search news across GDELT (global media, 150+ countries) and Hacker News (tech community) in parallel.
ParameterTypeRequiredDescription
querystringrequiredSearch query for news articles.
timespanstringoptionalGDELT time window (e.g. '24h', '7d', '3m'). (default: "24h")
max_resultsintegeroptionalMax articles to return. (default: 25)
source_countryanyoptionalFilter GDELT by source country code.
source_langanyoptionalFilter GDELT by source language code.
get_trending_stories
Get trending tech and startup stories from Hacker News.
ParameterTypeRequiredDescription
hours_agointegeroptionalLookback window in hours. (default: 24)
min_pointsintegeroptionalMinimum points threshold. (default: 10)
max_resultsintegeroptionalMax stories to return. (default: 25)
get_news_sentiment
Get media sentiment timeline for a topic from global news sources (GDELT).
ParameterTypeRequiredDescription
querystringrequiredTopic to analyze sentiment for.
timespanstringoptionalTime window (e.g. '24h', '7d', '3m'). (default: "7d")
smoothintegeroptionalSmoothing factor for timeline. (default: 0)
get_news_coverage
Get media coverage volume timeline for a topic from global news sources (GDELT).
ParameterTypeRequiredDescription
querystringrequiredTopic to measure coverage for.
timespanstringoptionalTime window (e.g. '24h', '7d', '3m'). (default: "7d")
smoothintegeroptionalSmoothing factor for timeline. (default: 0)
get_news_geography
Get geographic breakdown of media coverage for a topic from GDELT.
ParameterTypeRequiredDescription
querystringrequiredTopic to analyze geographic coverage for.
timespanstringoptionalTime window (e.g. '24h', '7d', '3m'). (default: "24h")
list_news_intelligence_sources
List all news intelligence data sources, their coverage, and data types.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related