Skip to content
VS Code

africa api mcp for VS Code

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

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

client:VS Code transport:stdio runtime:npm

Install africa api mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "africa-api-key",
      "description": "AFRICA_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "africa-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "africa-api-mcp"
      ],
      "env": {
        "AFRICA_API_KEY": "${input:africa-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

africa api mcp in other clients