factbook_country
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_country for the schema, then POST the same URL with its arguments for the data.
CIA World Factbook country profile (final 2026 edition): background history, geography, population and demographics, ethnic groups, languages, religions, government type, capital, constitution, legal system, executive and legislative branches, economy (GDP, growth, inflation, exports, imports, debt), energy, military, transnational issues. Use for “tell me about Kenya”, “what type of government does Chile have”, “Factbook profile of Vietnam”. Accepts a country or territory name, an ISO code, or “gec:”. Returns the five core sections by default; pass sections to choose others or “all”.
Parameters
Name Type Required Description countrystring yes Country or territory name (“Kenya”, “South Korea”, “Greenland”), ISO 3166 code (“KE”, “KOR”), or a Factbook code as “gec:ke”. sectionsarray no Sections to return. Default: Introduction, Geography, People and Society, Government, Economy. Others: Environment, Energy, Communications, Transportation, Military and Security, Space, Terrorism, Transnational Issues. [“all”] returns every section (~35 KB). itemsstring no
Example call
Arguments
{
"country": "Kenya"
}
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_country","arguments":{"country":"Kenya"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('factbook_country', {
"country": "Kenya"
});
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.