Server data from the Official MCP Registry
MCP server for Africa API — access data on all 54 African countries through Claude
MCP server for Africa API — access data on all 54 African countries through Claude
Valid MCP server (2 strong, 4 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.
3 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: AFRICA_API_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-africa-api-africa-api-mcp": {
"env": {
"AFRICA_API_KEY": "your-africa-api-key-here"
},
"args": [
"-y",
"africa-api-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
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
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.