GDELT MCP
A remote, read-only MCP server for global media intelligence using GDELT DOC 2.0 API, enabling search and analysis of multilingual news coverage, tone, and attention trends.
README
GDELT MCP
A remote, read-only Model Context Protocol server for global media intelligence using the public GDELT DOC 2.0 API.
The server requires no GDELT API key and is deployed on Vercel.
Tools
| Tool | Purpose |
|---|---|
search_articles |
Search multilingual global news coverage and return structured article results |
get_coverage_timeline |
Track normalized media attention or raw matching article counts over time |
get_tone_timeline |
Track the average tone of matching coverage over time |
get_source_country_timeline |
Compare attention across countries where publishing outlets are based |
The documented GDELT GEO API currently returns HTTP 404, so geographic mapping is deliberately not exposed as a tool.
Important interpretation note
GDELT is a large-scale automated media-monitoring system. Its translation and tone analysis can contain errors. Results should be interpreted as signals about news coverage, not as verified facts or direct measurements of real-world events.
Reliability controls
GDELT currently asks API users to keep requests at least five seconds apart. This server therefore:
- serializes outbound GDELT requests at least 5.5 seconds apart per warm instance;
- limits each upstream attempt to 15 seconds;
- retries HTTP 429 once after at least six seconds;
- respects a longer
Retry-Afterheader when supplied; - caches successful identical requests for five minutes; and
- limits response size and MCP request volume.
Because Vercel uses shared serverless egress, GDELT may still occasionally return HTTP 429 during periods of heavy traffic. The MCP returns that error transparently instead of fabricating data.
Architecture
- Plain Node.js with no runtime dependencies
- Vercel serverless functions in the Dubai region
- Stateless MCP Streamable HTTP
- Primary MCP endpoint:
/mcp - Alternate MCP endpoint:
/api/mcp - Health endpoint:
/health - Optional deep DOC check:
/health?deep=1
Local validation
npm install
npm test
npm run build
Local development with Vercel CLI
npm install -g vercel
vercel dev
Then connect an MCP client to:
http://localhost:3000/mcp
Deploy to Vercel
- Import this repository into Vercel.
- No environment variables are required.
- Deploy and open
/health. - Connect the MCP client to
https://<your-domain>/mcp.
Optional environment variables
| Variable | Purpose |
|---|---|
GDELT_DOC_API_BASE |
Override the public DOC endpoint for testing |
MCP_ALLOWED_ORIGINS |
Comma-separated allowed browser origins |
MCP_RATE_LIMIT_PER_MINUTE |
MCP requests per IP per minute; defaults to 30 |
No secrets should be committed.
Example prompts
- “Search global coverage of sovereign AI published in the last 24 hours.”
- “Compare how much attention different publishing countries are giving to data-centre power constraints.”
- “Show the seven-day coverage-volume and tone trends for NVIDIA export restrictions.”
- “Find the latest Arabic-language coverage of AI regulation.”
GDELT query examples
The query field supports GDELT syntax, including:
"artificial intelligence"
(climate OR flooding OR drought)
near20:"Trump Putin"
theme:ECON_INFLATION
tone<-5
Structured tool arguments can also add source-country, language, exact-domain, theme and tone filters.
MCP client configuration
{
"mcpServers": {
"gdelt": {
"url": "https://<your-domain>/mcp"
}
}
}
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.