gpr_monthly
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_monthly for the schema, then POST the same URL with its arguments for the data.
Monthly Geopolitical Risk Index (headline, threats, acts, or one of ~44 countries) from Caldara and Iacoviello.
Tool description as the model sees it
Geopolitical Risk Index (GPR) monthly values from Dario Caldara and Matteo Iacoviello (a newspaper-based measure of geopolitical tension: the share of articles in leading newspapers discussing war, terrorism, military threats and related events). Answers ‘monthly GPR values 1997-2026’, ‘geopolitical risk index for China’, ‘GPR threats vs acts’, ‘geopolitical risk for USD/JPY context’, ‘how high is geopolitical risk now’. series: gpr (headline, default), threats (threat sub-index), acts (acts sub-index), or a 3-letter country code (CHN, JPN, USA, RUS, UKR, ISR, TWN, KOR, DEU, GBR and about 35 more) for that country’s own index. historical=true switches to the long history back to 1900 (headline, threats, acts and country series, built on fewer newspapers); the default recent series starts in 1985. Returns one dated value per month with the publisher’s file date; the recent headline index is normalised so 100 is its 1985-2019 average (country series are on a much smaller scale of their own). Source: Caldara and Iacoviello, Geopolitical Risk Index.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
series | string | no | gpr (default), threats, acts, or a 3-letter country code (CHN, JPN, USA, …). |
from | string | no | First month, YYYY-MM (default: 12 months before the latest month). |
to | string | no | Last month, YYYY-MM (default: latest published month). |
historical | boolean | no | Use the long-history series back to 1900 instead of the 1985+ series. Default false. |
Example call
Arguments
{
"series": "CHN",
"from": "2025-01",
"to": "2026-10"
}
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_monthly","arguments":{"series":"CHN","from":"2025-01","to":"2026-10"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gpr_monthly', {
"series": "CHN",
"from": "2025-01",
"to": "2026-10"
});
Response shape
| Field | Type | Description |
|---|---|---|
series | string | |
description | string | |
count | number | |
first_available_month | string | |
latest_available_month | string | |
data_as_of | string | |
publisher_file_date | string | |
rows | array | |
citation | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"series": {
"type": "string"
},
"description": {
"type": "string"
},
"count": {
"type": "number"
},
"first_available_month": {
"type": "string"
},
"latest_available_month": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"publisher_file_date": {
"type": "string"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "string"
},
"value": {
"type": "number"
}
},
"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.