gpi_country_score

Pack: global-peace-index · 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/gpi_country_score for the schema, then POST the same URL with its arguments for the data.

Global 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). Published annually by the Institute for Economics & Peace. PREFER for “how peaceful is ”, ” global peace index”, “peace ranking for ”, or as background context on a country before/alongside news-event data (complements gdelt). Pass a country name (e.g. “Iceland”, “Russia”, “United States” — common aliases like “USA”/“DRC” are accepted).

Parameters

NameTypeRequiredDescription
countrystringyesCountry name (e.g. “Ukraine”, “Japan”, “USA”).

Example call

Arguments

{
  "country": "Iceland"
}

curl

curl -X POST https://gateway.pipeworx.io/global-peace-index/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gpi_country_score","arguments":{"country":"Iceland"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('gpi_country_score', {
  "country": "Iceland"
});

More examples

{
  "country": "USA"
}

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 global-peace-index pack
{
  "mcpServers": {
    "global-peace-index": {
      "url": "https://gateway.pipeworx.io/global-peace-index/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 18, 2026