MCP server
Africa Api MCP
MCP server for Africa API — access data on all 54 African countries through Claude
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 5 days ago
About Africa Api MCP
Africa Api MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add africa-api-mcp --env AFRICA_API_KEY='<AFRICA_API_KEY>' -- npx -y africa-api-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
],
"env": {
"AFRICA_API_KEY": "<AFRICA_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
],
"env": {
"AFRICA_API_KEY": "<AFRICA_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"africa-api-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
],
"env": {
"AFRICA_API_KEY": "<AFRICA_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
],
"env": {
"AFRICA_API_KEY": "<AFRICA_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
],
"env": {
"AFRICA_API_KEY": "<AFRICA_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AFRICA_API_KEYYour Africa API bearer token from africa-api.comRequired
Pricing
Open source
Africa Api MCP FAQ
Is Africa Api MCP free?
Yes. Africa Api MCP is open source, so you can use and self-host it for free.
How do I add Africa Api MCP to Claude Code?
Run this command in your terminal: claude mcp add africa-api-mcp --env AFRICA_API_KEY='<AFRICA_API_KEY>' -- npx -y africa-api-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.