timeline_volume
Pack: gdelt · Endpoint: https://gateway.pipeworx.io/gdelt/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | GDELT query string |
timespan | string | no | Lookback window (default “1m”) |
startdatetime | string | no | YYYYMMDDHHMMSS — only with timespan=custom |
enddatetime | string | no | YYYYMMDDHHMMSS — only with timespan=custom |
Example call
Arguments
{
"query": "climate change"
}
curl
curl -X POST https://gateway.pipeworx.io/gdelt/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"timeline_volume","arguments":{"query":"climate change"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('timeline_volume', {
"query": "climate change"
});
More examples
{
"query": "Ukraine conflict",
"timespan": "1m"
}
Response shape
Always returns: query, timespan, metric, points, series
| Field | Type | Description |
|---|---|---|
query | string | The query string used |
timespan | string | Lookback window applied (default 1m) |
metric | string | Metric type: volume_pct (% of news) |
points | number | Number of datapoints returned |
series | array | Day-by-day volume datapoints |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query string used"
},
"timespan": {
"type": "string",
"description": "Lookback window applied (default 1m)"
},
"metric": {
"type": "string",
"description": "Metric type: volume_pct (% of news)"
},
"points": {
"type": "number",
"description": "Number of datapoints returned"
},
"series": {
"type": "array",
"description": "Day-by-day volume datapoints",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "Date of datapoint"
},
"value": {
"type": "number",
"description": "Volume as percentage of total news"
}
},
"required": [
"date",
"value"
]
}
}
},
"required": [
"query",
"timespan",
"metric",
"points",
"series"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"gdelt": {
"url": "https://gateway.pipeworx.io/gdelt/mcp"
}
}
}
See Getting Started for client-specific install steps.