list_locations
Pack: hdx · 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/list_locations for the schema, then POST the same URL with its arguments for the data.
List the locations on HDX (CKAN group_list) — countries and crises, each keyed by a lowercase ISO3 code (e.g. {“name”:“syr”,“display_name”:“Syrian Arab Republic”}). Use a code as fq=“groups:
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Max locations, 1-1000 (default 300; HDX has ~250). |
Example call
Arguments
{
"limit": 300
}
curl
curl -X POST https://gateway.pipeworx.io/hdx/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_locations","arguments":{"limit":300}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_locations', {
"limit": 300
});
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 hdx pack
{
"mcpServers": {
"hdx": {
"url": "https://gateway.pipeworx.io/hdx/mcp"
}
}
}
See Getting Started for client-specific install steps.