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. The africa mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 8 defined tools rather than through you.
Sign up at africa-api.com and create an API key from your dashboard.
Everything the assistant can do here goes through one of these:
Domain — ToolsCountries — 4Government — 6Elections — 5Markets — 8Trade — 4Policies — 6Geographies — 1africa-api-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
You will need 2 environment variables: AFRICA_API_KEY, AFRICA_API_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Africa's toolset — Domain, Countries, Government and 5 more — is a fair guide to whether it matches your workflow. It is maintained by africa-api; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Domain | Tools |
| Countries | 4 |
| Government | 6 |
| Elections | 5 |
| Markets | 8 |
| Trade | 4 |
| Policies | 6 |
| Geographies | 1 |
{
"mcpServers": {
"africa-api": {
"command": "npx",
"args": ["-y", "africa-api-mcp"],
"env": {
"AFRICA_API_KEY": "your-value",
"AFRICA_API_BASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| AFRICA_API_KEY | Credential the server authenticates with. | Yes |
| AFRICA_API_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.