Connects Claude to the Africa API with read-only access to data on all 54 African countries. You get 40 tools across government (heads of state, cabinets), economics (GDP, 127+ indicators, time series), markets (stock exchanges, FX rates), trade flows, elections, and policy timelines. Useful when you need structured country comparisons, historical leadership data, or want Claude to pull real economic indicators instead of relying on training data. Requires an API key from africa-api.com. Runs via npx with zero install, just drop your key in the Claude config and restart.
An MCP server that gives Claude direct access to the Africa API — comprehensive data on all 54 African nations including economic indicators, markets, trade, government, elections, and policies.
Sign up at africa-api.com and create an API key from your dashboard.
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"africa-api": {
"command": "npx",
"args": ["-y", "africa-api-mcp"],
"env": {
"AFRICA_API_KEY": "your-api-key-here"
}
}
}
}
Claude Code — add to ~/.claude/settings.json:
{
"mcpServers": {
"africa-api": {
"command": "npx",
"args": ["-y", "africa-api-mcp"],
"env": {
"AFRICA_API_KEY": "your-api-key-here"
}
}
}
}
Restart Claude and you're ready to go. No install step needed — npx handles it automatically.
Once connected, Claude can answer questions like:
40 tools across 9 domains:
| Domain | Tools | What It Covers |
|---|---|---|
| Countries | 4 | Country details, profiles, real-time signals for all 54 nations |
| Indicators & Data | 4 | 127+ indicators (GDP, population, health, education, etc.), time-series queries, country rankings |
| Government | 6 | Heads of state, cabinets, leadership terms — current and historical |
| Elections | 5 | Election results, upcoming elections, country overviews |
| Markets | 7 | Stock exchanges, listed securities, price history, FX rates |
| Trade | 4 | Bilateral trade flows, top partners, product breakdowns |
| Policies | 6 | Laws, regulations, policy timelines, lifecycle events |
| Sources | 2 | Data provenance — World Bank, UN, central banks, etc. |
| Geographies | 1 | Continent / region / subregion hierarchy |
All tools are read-only with proper MCP safety annotations.
| Environment Variable | Required | Default | Description |
|---|---|---|---|
AFRICA_API_KEY | Yes | — | Your Africa API bearer token |
AFRICA_API_BASE_URL | No | https://api.africa-api.com | Override for local development |
git clone https://github.com/africa-api/africa-api-mcp.git
cd africa-api-mcp
npm install
npm run build
# Run directly
AFRICA_API_KEY=your-key node dist/index.js
# Test with MCP inspector
AFRICA_API_KEY=your-key npx @modelcontextprotocol/inspector node dist/index.js
MIT
AFRICA_API_KEY*secretYour Africa API bearer token from africa-api.com
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json