gpr_daily
Pack: geopolitical-risk · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/gpr_daily for the schema, then POST the same URL with its arguments for the data.
Daily Geopolitical Risk Index with acts/threats split, moving averages and event tags.
Tool description as the model sees it
Daily Geopolitical Risk Index (GPR) from Dario Caldara and Matteo Iacoviello, one value per day from 1985 to within a few days of today, with the daily acts and threats sub-indices, 7-day and 30-day moving averages and the publisher’s tag for the major event that day. Answers ‘daily geopolitical risk index this week’, ‘GPR spike on the day of the Ukraine invasion’, ‘geopolitical risk last 30 days’. Default is the last 30 days; pass from/to (YYYY-MM-DD) for a range, at most 1000 rows. Source: Caldara and Iacoviello, Geopolitical Risk Index.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | First day, YYYY-MM-DD (default: 30 days before the latest day). |
to | string | no | Last day, YYYY-MM-DD (default: latest published day). |
limit | number | no | Maximum rows, 1-1000 (default 1000 within the range; the newest rows are kept). |
Example call
Arguments
{
"from": "2026-11-01",
"to": "2026-11-16"
}
curl
curl -X POST https://gateway.pipeworx.io/geopolitical-risk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gpr_daily","arguments":{"from":"2026-11-01","to":"2026-11-16"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gpr_daily', {
"from": "2026-11-01",
"to": "2026-11-16"
});
Response shape
| Field | Type | Description |
|---|---|---|
count | number | |
first_available_day | string | |
latest_available_day | string | |
data_as_of | string | |
publisher_file_date | string | |
truncated | null | |
rows | array | |
citation | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number"
},
"first_available_day": {
"type": "string"
},
"latest_available_day": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"publisher_file_date": {
"type": "string"
},
"truncated": {
"type": "null"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"gpr": {
"type": "number"
},
"acts": {
"type": "number"
},
"threats": {
"type": "number"
},
"ma7": {
"type": "number"
},
"ma30": {
"type": "number"
},
"event": {
"type": "null"
}
},
"additionalProperties": true
}
},
"citation": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the geopolitical-risk pack
{
"mcpServers": {
"geopolitical-risk": {
"url": "https://gateway.pipeworx.io/geopolitical-risk/mcp"
}
}
}
See Getting Started for client-specific install steps.