Global Peace Index
v0.2.1Global Peace Index — annual country peacefulness score and rank, for country-risk context…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gpi_country_score
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 <country>", "<country> global peace index", "peace ranking for <country>", 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).
| Parameter | Type | Description |
|---|---|---|
country * | string | Country name (e.g. "Ukraine", "Japan", "USA"). |
gpi_ranking
Rank 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 countries", "top 10 most peaceful nations", "which countries have the worst peace ranking". direction defaults to "most_peaceful".
| Parameter | Type | Description |
|---|---|---|
direction | string | Which end of the ranking to return. Default "most_peaceful". |
limit | number | How many countries to return (default 10, max 50). |