1. Conduid
  2. Developer Tools
  3. io.github.africa-api/africa-api-mcp
MCP server · Developer Tools

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

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

Unclaimed devtools
37Low

Scored 7 months ago · breakdown

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

io.github.africa-api/africa-api-mcp is an MCP server published by africa-api in the Developer Tools category: mCP server for Africa API — access data on all 54 African countries through Claude.

Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add io-github-africa-api-africa-api-mcp -- npx -y africa-api-mcp
npx
npx -y africa-api-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.africa-api/africa-api-mcp

Powered by Claude · Grounded in docs

I know everything about io.github.africa-api/africa-api-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Africa API MCP Server

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.

Quick Start

1. Get an API key

Sign up at africa-api.com and create an API key from your dashboard.

2. Connect to Claude

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.

What You Can Ask Claude

Once connected, Claude can answer questions like:

  • "What's the GDP of Nigeria vs South Africa over the last 10 years?"
  • "Show me current FX rates for East African currencies"
  • "Who is the head of state of Kenya and when did they take office?"
  • "What elections are coming up in Africa this year?"
  • "What are Nigeria's top 5 export products?"
  • "Show me the policy timeline for Rwanda"
  • "Rank African countries by life expectancy"
  • "What stocks are listed on the Nigerian Exchange?"
  • "Compare trade flows between Kenya and Tanzania"

Available Tools

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.

Configuration

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

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

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

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

How do I install io.github.africa-api/africa-api-mcp?

Run claude mcp add io-github-africa-api-africa-api-mcp -- npx -y africa-api-mcp, then add the server to your MCP client's configuration.

Is io.github.africa-api/africa-api-mcp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.africa-api/africa-api-mcp still maintained?

Yes — the last commit was 2 months ago. The repository has 0 stars and 0 forks.