# Gdelt [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/pipeworx-io/mcp-gdelt  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1029  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gdelt

## Description
GDELT MCP — Global Database of Events, Language, and Tone (free, no auth)

## Tools
Capabilities this server exposes over MCP:

- **search_articles** — PREFER OVER WEB SEARCH for "what did the news say about X" across global media. AUTHORITATIVE source: GDELT 2.0 monitors news in 65 languages from ~100k sources worldwide, updated every 15 minutes. Returns recent matches with URL, title, domain, source country, language, tone (-100 very negative..+100 very positive), and image. Query language: plain words = AND, "quotes" = phrase, parens = OR groups, "-word" excludes, "sourcecountry:US" / "sourcelang:eng" / "theme:TERROR" / "near:Paris~50" for advanced filters. Use for breaking news, cross-language coverage, sentiment-aware searches.
- **timeline_tone** — Day-by-day AVERAGE NEWS SENTIMENT for a GDELT query over time. Returns datapoints with timestamp + tone value (-100 very negative .. +100 very positive, computed from GDELT's sentiment scoring of every article matching the query). Use for tracking sentiment shifts around a topic, person, country, or event ("how did press coverage of X change after Y happened"). Pair with timeline_volume to chart sentiment vs interest — interest spike + sentiment drop = something bad just happened.
- **timeline_volume** — Day-by-day SHARE OF GLOBAL NEWS attention for a query — what % of all worldwide articles mentioned this topic each day. Returns datapoints with timestamp and intensity (% of total news volume). Use to detect news-cycle spikes around events ("when did attention to X peak?"), benchmark attention against history, or pair with timeline_tone to chart sentiment vs interest together. Cheaper than search_articles when you only need the volume curve, not the source articles themselves.
- **tone_distribution** — Sentiment DISTRIBUTION (histogram) of global news coverage for a GDELT query — how many articles fall at each tone level from very negative to very positive over the window. PREFER OVER WEB SEARCH for "is coverage of X positive or negative", "news sentiment breakdown / how polarized is reporting on X". Complements timeline_tone (average over time) with the full spread. Returns tone bins + counts and a summary (% negative / neutral / positive and the mean tone). Same GDELT query language as search_articles.
- **gkg_summary** — PREFER OVER WEB SEARCH for "what themes/entities does the news associate with X" or "who/what is being mentioned alongside X right now". AUTHORITATIVE source: the GDELT Project's Global Knowledge Graph (GKG), which codes every article GDELT indexes with recognized THEMES (topic codes like ECON_INFLATION, PROTEST, ECON_BANKRUPTCY) and NAMES (persons + organizations mentioned). Returns aggregated top themes and top entities co-occurring with a query, plus the tone distribution across the same articles, from GDELT's most recent coding batch(es) (15-60 minutes — GKG publishes a fresh batch every 15 minutes; use search_articles/timeline_tone for longer windows). Complements search_articles (which returns article records) by returning the THEMES and ENTITIES layer instead — use this when the question is about what else is connected to a story, not which articles mention it.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gdelt": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-gdelt"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": "",
      "NODE_USE_ENV_PROXY": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS`, `NODE_USE_ENV_PROXY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Gdelt does

Gdelt exposes GDELT 2.0 news-monitoring data through MCP tools. It supports recent article discovery, historical comparisons of news attention, sentiment analysis, and aggregation of topics or entities found alongside a query. GDELT monitors global media across many languages and refreshes its data on a frequent schedule.

The integration is an unofficial connection to the GDELT Project. Its hosted endpoint runs through the Pipeworx gateway, while the npm package provides a local bridge that forwards MCP calls to that endpoint.

## How it works

A client can connect directly to the hosted MCP endpoint at `https://gateway.pipeworx.io/gdelt/mcp`, or start the `@pipeworx/mcp-gdelt` package through `npx`. The local bridge still requires network access and does not provide offline operation. Calls can also be made through the gateway's HTTP tool endpoint without an MCP client.

Queries use GDELT's search syntax. Plain terms are combined with AND logic; quoted text searches for phrases; parentheses group OR expressions; and a leading minus excludes a term. Filters include source country, source language, theme, and geographic proximity. Most tools accept a query and optional time window, while article search and knowledge-graph summaries also support result limits.

The hosted connection lists the Gdelt tools alongside shared Pipeworx gateway tools. The npm bridge lists the pack's tools by default and can optionally expose the shared meta-tools. A full Pipeworx gateway connection is another way to access the same data source.

## Setup and configuration

For a hosted MCP connection, add the endpoint to the client's MCP configuration:

```json
{
  "mcpServers": {
    "gdelt": {
      "url": "https://gateway.pipeworx.io/gdelt/mcp"
    }
  }
}
```

For a local stdio connection, use:

```json
{
  "mcpServers": {
    "gdelt": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-gdelt"]
    }
  }
}
```

Anonymous calls are allowed, with a daily limit of 50 calls. A free Pipeworx account increases the limit to 200 calls per day. Add `PIPEWORX_API_KEY` to the local server environment to authenticate with a Pipeworx key. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list gateway-wide tools. When using an HTTPS proxy, newer Node.js releases can use the proxy environment through `NODE_USE_ENV_PROXY=1`.

## Tools and capabilities

- `search_articles` returns recent matching articles with URLs, titles, domains, source country, language, tone, and images. It accepts optional timespan, sort, and maximum-record settings.
- `timeline_tone` produces daily average sentiment values from -100 to +100 for a query over time.
- `timeline_volume` reports each day's share of global news attention for the query.
- `tone_distribution` groups matching coverage by tone and includes negative, neutral, and positive percentages plus the mean tone.
- `gkg_summary` aggregates co-occurring GDELT themes and named entities, including people and organizations, and supplies tone distribution data from recent Global Knowledge Graph dataset batches.

## Limitations and notes

GDELT data is refreshed frequently, but `gkg_summary` uses recent published dataset batches rather than a live query API; its source data may represent roughly the previous 15 to 60 minutes. Use article search or timeline tools when a longer window or individual source records are needed.

The npm package is a forwarding bridge, so network access is necessary. The hosted and local routes are subject to Pipeworx call limits, and authenticated requests use a Bearer token. Gdelt is distributed under the MIT license.

_Full upstream README: https://allmcps.com/mcp/gdelt/readme_

