MCP server exposing 4 tools for cia-factbook.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/cia-factbook/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 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:<code>". Returns the five core sections by default; pass sections to choose others or "all".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 expenditures, area, internet users, etc. Use for "compare population and GDP per capita of Kenya, Nigeria and Ghana" or "life expectancy in Japan vs Germany". Field names match the Factbook headings (case-insensitive, partial match allowed; "Economy > Exports" pins a section). factbook_fields lists the exact names.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_compare to find the exact field to ask for. Defaults to the United States profile, which carries the full field set.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 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.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/cia-factbook/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io