@pipeworx/geopolitical-risk

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/geopolitical-risk’s. Install: one-click buttons

Connect to just the @pipeworx/geopolitical-risk pack

https://gateway.pipeworx.io/geopolitical-risk/mcp — only @pipeworx/geopolitical-risk’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 2

The Geopolitical Risk (GPR) Index of Dario Caldara and Matteo Iacoviello: monthly values (headline, threats, acts, and about 44 country series) and a daily series with event tags.

Tools

  • gpr_monthly(series?, from?, to?, historical?) — one dated value per month. series is gpr (default), threats, acts, or a 3-letter country code (CHN, JPN, USA, RUS, UKR, ISR, TWN, KOR, and others). The recent series starts in 1985 (headline index is normalised so 100 is its 1985-2019 average; country series are on a much smaller scale of their own). historical=true switches to the long-history series back to 1900. Default window is the latest 12 months.
  • gpr_daily(from?, to?, limit?) — daily headline index with acts and threats sub-indices, 7-day and 30-day moving averages and the publisher’s event tag for the day, from 1985 to within days of today. Default window is the last 30 days, at most 1,000 rows.

Every response carries data_as_of (the date the authors last updated the file; for the monthly tool latest_period is the last month with a value) and the citation the authors ask users to give.

Auth

Keyless.

Data sources

  • Dario Caldara and Matteo Iacoviello, Geopolitical Risk Index, monthly and daily series. Called live per request and kept for 30 minutes in the isolate; nothing is bundled in this repo. No reuse terms are stated by the publisher; cite: Caldara, Dario and Matteo Iacoviello (2022), “Measuring Geopolitical Risk,” American Economic Review, 112(4), pp. 1194-1225.

The publisher ships legacy Excel workbooks (a 2.7 MB monthly file and a 3.3 MB daily file). src/xls.ts is a small dependency-free reader for that format (copied from the china-stocks pack’s reader), so the Worker needs no spreadsheet library. A format change makes the pack fail loudly rather than return partial rows. The first call after a cold start downloads and parses a workbook (about half a second measured from a laptop); later calls in the same isolate are served from memory.

Verified 2026-11-18: headline GPR averages 100.0 over 1985-2019; the long-history headline series (historical=true) averages 81.7 over the same months, so it is not on the same scale.

Tools

  • gpr_monthly — Monthly Geopolitical Risk Index (headline, threats, acts, or one of ~44 countries) from Caldara and Iacoviello.
  • gpr_daily — Daily Geopolitical Risk Index with acts/threats split, moving averages and event tags.

Tools

  • gpr_daily — Daily Geopolitical Risk Index with acts/threats split, moving averages and event tags.
  • gpr_monthly — Monthly Geopolitical Risk Index (headline, threats, acts, or one of ~44 countries) from Caldara and Iacoviello.

Regenerated from source · build November 18, 2026