Skip to content
Gemini CLI

africa api mcp for Gemini CLI

io.github.africa-api/africa-api-mcp

MCP server for Africa API — access data on all 54 African countries through Claude

client:Gemini CLI transport:stdio runtime:npm

Install africa api mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "africa-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "africa-api-mcp"
      ],
      "env": {
        "AFRICA_API_KEY": "<AFRICA_API_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

africa api mcp in other clients