list_locations

Pack: hdx · Endpoint: https://gateway.pipeworx.io/hdx/mcp

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:” in search_datasets to scope results to a country/crisis.

Parameters

NameTypeRequiredDescription
limitnumbernoMax 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, or use one-click install buttons:

{
  "mcpServers": {
    "hdx": {
      "url": "https://gateway.pipeworx.io/hdx/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026