factbook_entities
Pack: cia-factbook · 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/factbook_entities for the schema, then POST the same URL with its arguments for the data.
List or search the 261 entities in the CIA World Factbook — sovereign countries, dependencies and territories, the oceans, the European Union and the World — with their Factbook (GEC) codes and regions. Use to find how the Factbook names a place (“Burma”, “Congo (Brazzaville)”, “DRC”) or to list every entity in a region such as africa or central-america-n-caribbean.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Name substring to search, e.g. “guinea” or “island”. Omit to list all. |
region | string | no | Restrict to one Factbook region. |
limit | number | no | Max rows (default 50, max 300). |
Example call
Arguments
{
"query": "guinea"
}
curl
curl -X POST https://gateway.pipeworx.io/cia-factbook/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"factbook_entities","arguments":{"query":"guinea"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('factbook_entities', {
"query": "guinea"
});
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 cia-factbook pack
{
"mcpServers": {
"cia-factbook": {
"url": "https://gateway.pipeworx.io/cia-factbook/mcp"
}
}
}
See Getting Started for client-specific install steps.