list_countries
Pack: unhcr · Endpoint: https://gateway.pipeworx.io/unhcr/mcp
Reference list of countries/territories UNHCR tracks. Use this to map a country name to the code you pass as coo/coa in the other tools. Each item has: code (UNHCR 3-letter, USE THIS for filtering), iso (true ISO3), iso2, name, region, majorArea. Paginated — large list, raise limit or page through (response.maxPages).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Rows per page (default 25; raise to fetch more at once). |
page | integer | no | 1-based page; see response.maxPages. |
Example call
curl -X POST https://gateway.pipeworx.io/unhcr/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_countries","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"unhcr": {
"url": "https://gateway.pipeworx.io/unhcr/mcp"
}
}
}
See Getting Started for client-specific install steps.