ucdp_countries
Pack: ucdp · Endpoint: https://gateway.pipeworx.io/ucdp/mcp
The countries the Uppsala Conflict Data Program codes, with their Gleditsch-Ward country codes, region, years covered and the latest year’s total deaths from organized violence. Use it to resolve a country name or code before calling other ucdp tools, or to rank countries by conflict deaths. Example: ucdp_countries({ query: “congo” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Substring of the country name; omit for the full list |
region | string | no | Filter by UCDP region: Africa, Americas, Asia, Europe, Middle East |
min_deaths | integer | no | Only countries with at least this many organized-violence deaths (best estimate) in the latest year |
Example call
Arguments
{
"query": "congo"
}
curl
curl -X POST https://gateway.pipeworx.io/ucdp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ucdp_countries","arguments":{"query":"congo"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ucdp_countries', {
"query": "congo"
});
More examples
{
"min_deaths": 5000
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ucdp": {
"url": "https://gateway.pipeworx.io/ucdp/mcp"
}
}
}
See Getting Started for client-specific install steps.