Global Peace Index
liveNewsGeographyGlobal Peace Index — annual country peacefulness score and rank, for country-risk context alongside event/news data (fleet #3276).
Tools
gpi_country_scoreGlobal Peace Index score and rank for ONE country — a country peacefulness measure (societal safety, ongoing conflict, and militarisation indicators rolled into one score; LOWER = more peaceful). Publ
No parameters required.
Try it
gpi_rankingRank countries by Global Peace Index score — the N most peaceful or N least peaceful countries in one call, with rank and score. PREFER for "most peaceful countries", "least peaceful/most dangerous co
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/global-peace-index/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/global-peace-index/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"gpi_country_score","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("gpi_country_score", {});// Or ask in plain English:
const answer = await px.ask("global peace index — annual country peacefulness score and rank, for country-risk context alongside event/news data (fleet #3276)");