Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
africa-api avatar

Africa API MCP

  • Updated August 2, 2026
  • africa-api/africa-api-mcp

io.github.africa-api/africa-api-mcp is a MCP server that queries Africa API data for all 54 African countries through your agent.

About

Africa API MCP is a stdio Model Context Protocol server that lets Claude and other MCP clients query Africa API data across 54 countries during early product research. Developers validating pan-African SaaS, content products, or distribution plays can ask the agent for country-level facts, compare markets, and draft positioning without manually copying from spreadsheets or scattered reports. You need an Africa API bearer token set as AFRICA_API_KEY before tools succeed. The package africa-api-mcp on npm at version 0.1.1 is the registry-published entry point. This is a phase-specific research integration: it does not replace legal diligence or on-the-ground validation, but it compresses desk research into conversational workflows in the Idea phase. Tag it as Data Analytics with a business vertical because outputs are structured geographic and market intelligence rather than code generation.

  • Bearer-authenticated MCP over stdio (africa-api-mcp npm 0.1.1)
  • Coverage narrative: data paths for all 54 African countries via Africa API
  • Required secret AFRICA_API_KEY from africa-api.com
  • GitHub repo africa-api/africa-api-mcp for install reference
  • Keeps research inside the agent instead of tab-hopping dashboards

Africa API MCP by the numbers

  • Data as of Aug 10, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env AFRICA_API_KEY=YOUR_AFRICA_API_KEY africa-api-mcp -- npx -y africa-api-mcp

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Packageafrica-api-mcp
TransportSTDIO
AuthRequired
Last updatedAugust 2, 2026
Repositoryafrica-api/africa-api-mcp

What it does

Pull structured country and market facts for all 54 African nations into agent chats while scoping an Africa-focused product.

Who is it for?

Best when you're researching African markets, cross-border expansions, or country pick-lists before Validate prototypes.

Skip if: Products with zero African users where generic world data APIs already suffice.

What you get

With AFRICA_API_KEY configured, your agent can fetch Africa API-backed answers inline while you research segments and opportunities.

  • Agent-callable tools backed by Africa API responses
  • Faster country comparison notes during Idea research
  • Reusable MCP config for Africa-focused product workflows

By the numbers

  • Documented coverage: 54 African countries
  • Registry version 0.1.1
  • npm identifier africa-api-mcp with stdio transport
README.md

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

Recommended MCP Servers

How it compares

Geographic data MCP integration, not a landing-page or validation methodology skill.

FAQ

Who is io.github.africa-api/africa-api-mcp for?

Developers and operators who need agent-native access to Africa API country data while researching ideas for African markets.

When should I use io.github.africa-api/africa-api-mcp?

Use it in Idea research when comparing countries, sizing opportunities, or drafting narratives that require consistent Africa API facts.

How do I add io.github.africa-api/africa-api-mcp to my agent?

Register stdio MCP with npm package africa-api-mcp, set the secret environment variable AFRICA_API_KEY to your africa-api.com bearer token, then reload tools.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.