Cia Factbook

liveGeography

CIA World Factbook MCP — country profiles from The World Factbook.

4tools
0msauth
free tier50 calls/day

Tools

factbook_country

CIA World Factbook country profile (final 2026 edition): background history, geography, population and demographics, ethnic groups, languages, religions, government type, capital, constitution, legal

No parameters required.

▶Try it
factbook_compare

Compare CIA World Factbook fields side by side across up to 10 countries — population, median age, life expectancy, real GDP per capita, GDP growth, inflation, unemployment, public debt, military expe

No parameters required.

▶Try it
factbook_fields

List the sections and field names the CIA World Factbook carries for a country (e.g. Economy → "Real GDP per capita", "Inflation rate (consumer prices)", "Exports - partners"). Use before factbook_com

No parameters required.

▶Try it
factbook_entities

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 region

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/cia-factbook/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/cia-factbook/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"factbook_country","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("factbook_country", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("cia world factbook mcp — country profiles from the world factbook");