asylum_decisions
Pack: unhcr · 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/asylum_decisions for the schema, then POST the same URL with its arguments for the data.
Decisions on asylum claims, by year, country of origin (coo) and country of asylum (coa). Each row breaks out dec_recognized, dec_other, dec_rejected, dec_closed and dec_total; response.total aggregates the same fields. coo/coa take UNHCR 3-letter codes (see list_countries).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
yearFrom | integer | no | Start year, inclusive. |
yearTo | integer | no | End year, inclusive. |
coo | string | no | Country of ORIGIN — UNHCR 3-letter code. |
coa | string | no | Country of ASYLUM — UNHCR 3-letter code. |
limit | integer | no | Rows per page (default 25). |
page | integer | no | 1-based page. |
Example call
Arguments
{
"yearFrom": 2020,
"yearTo": 2023
}
curl
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":"asylum_decisions","arguments":{"yearFrom":2020,"yearTo":2023}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('asylum_decisions', {
"yearFrom": 2020,
"yearTo": 2023
});
More examples
{
"yearFrom": 2022,
"yearTo": 2023,
"coa": "DEU"
}
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 unhcr pack
{
"mcpServers": {
"unhcr": {
"url": "https://gateway.pipeworx.io/unhcr/mcp"
}
}
}
See Getting Started for client-specific install steps.