Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

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

NPM · AFRICA-API-MCP · SCANNED SEP 22

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

Available components

0 this week 84 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 31 of 95 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 86 days ago).Pass
  • Security-disclosure policy not yet verified: we couldn't inspect the source repository.Unverified
Schema Quality & AI Usability77
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 2684 tokens (~67/item across 40 items; 40 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management97
  • Stability observed for 29 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 40 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 40 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

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

io.github.africa-api/africa-api-mcp runs locally as an npm package, launched with npx -y africa-api-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · africa-api-mcp

# add to Claude Code
claude mcp add africa-api-africa-api-mcp -- npx -y africa-api-mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "africa-api-africa-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "africa-api-mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "africa-api-africa-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "africa-api-mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add africa-api-africa-api-mcp -- npx -y africa-api-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "africa-api-africa-api-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "africa-api-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add africa-api-africa-api-mcp --command npx --arg -y --arg africa-api-mcp
# ~/.hermes/config.yaml
mcp_servers:
  africa-api-africa-api-mcp:
    command: "npx"
    args: ["-y", "africa-api-mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "africa-api-africa-api-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "africa-api-mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add africa-api-africa-api-mcp -t stdio -c npx -a -y africa-api-mcp
// mcp.json
{
  "mcpServers": {
    "africa-api-africa-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "africa-api-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 22 Sept 26 +1
    • Security disclosure: fail → unverified functional
  • 20 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 18 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

  • 16 Sept 26 −3
    • Stability: pass → 0.77 functional
  • 15 Sept 26 0
    • Stability: 0.97 → pass security
  • 14 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 12 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 10 Sept 26 −2
    • Stability: pass → 0.83 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 22 Sept 2026 · Analysed npm/africa-api-mcp@0.1.1

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Dependencies 95 packages
Packages resolved 95
Stale 31
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 40 exposed · ~2,684 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_cabinet ~52

Get the current cabinet for a country — ministers, deputy ministers, and key officials

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")

No output schema declared.

No examples provided.

get_country ~56

Get detailed information about a specific African country including coordinates, borders, currencies, and languages

NameTypeReqDescription
country_codestringyesISO 3166-1 alpha-2 code (e.g. "NG", "KE", "ZA")

No output schema declared.

No examples provided.

get_country_elections ~62

Get an election overview for a country — recent and upcoming elections with results

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")
top_limitintegerTop results per category

No output schema declared.

No examples provided.

get_country_policies ~63

Get a policy overview for a country — recent and notable policies grouped by type

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")
top_limitintegerTop items per category

No output schema declared.

No examples provided.

get_country_policy_timeline ~44

Get a chronological policy timeline for a country

NameTypeReqDescription
country_codestringyesISO alpha-2 code
top_limitintegerNumber of events

No output schema declared.

No examples provided.

get_country_profile ~51

Get a curated profile for a country — key macro, demographic, and economic indicators

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")

No output schema declared.

No examples provided.

get_country_signals ~58

Get real-time signals for a country — macro snapshot, market data, FX rates, power status, humanitarian alerts

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")

No output schema declared.

No examples provided.

get_election ~34

Get detailed information about a specific election

NameTypeReqDescription
election_wikidata_idstringyesWikidata ID of the election

No output schema declared.

No examples provided.

get_election_results ~51

Get results for a specific election — candidates, parties, and vote counts

NameTypeReqDescription
election_wikidata_idstringyesWikidata ID of the election
limitintegerMax results

No output schema declared.

No examples provided.

get_exchange ~41

Get details about a specific stock exchange

NameTypeReqDescription
exchange_codestringyesExchange code (e.g. "NGX", "JSE", "BRVM")

No output schema declared.

No examples provided.

get_fx_rate_history ~98

Get historical FX rate data for a currency pair

NameTypeReqDescription
base_currencystringyesBase currency (e.g. "USD")
end_datestringEnd date (YYYY-MM-DD)
limitintegerMax data points
quote_currencystringyesQuote currency (e.g. "NGN", "KES", "ZAR")
start_datestringStart date (YYYY-MM-DD)

No output schema declared.

No examples provided.

get_fx_rates ~80

Get current FX rates for African currencies against a base currency

NameTypeReqDescription
base_currencystringBase currency (3-letter code)
country_codestringFilter by country
limitintegerMax results
quote_currenciesstringComma-separated quote currencies (e.g. "NGN,KES,ZAR")

No output schema declared.

No examples provided.

get_government_overview ~54

Get a government overview — current head of state, head of government, and cabinet summary

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")

No output schema declared.

No examples provided.

get_indicator ~55

Get detailed metadata about a specific indicator including description, unit, source, and available years

NameTypeReqDescription
metric_keystringyesIndicator key (e.g. "gdp_current_usd", "population_total", "life_expectancy")

No output schema declared.

No examples provided.

get_indicator_rankings ~90

Rank African countries by a specific indicator for a given year — great for comparisons

NameTypeReqDescription
limitintegerNumber of results
metric_keystringyesIndicator key (e.g. "gdp_current_usd", "population_total")
orderstringSort order
sourcestringSource code filter
yearintegeryesYear to rank by

No output schema declared.

No examples provided.

get_leader ~50

Get detailed information about a specific leader including biography, terms, and political party

NameTypeReqDescription
leader_wikidata_idstringyesWikidata ID of the leader (e.g. "Q7939")

No output schema declared.

No examples provided.

get_platform_info ~17

Get Africa API platform version and status

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_policy ~38

Get detailed information about a specific policy, law, or regulation

NameTypeReqDescription
policy_wikidata_idstringyesWikidata ID of the policy

No output schema declared.

No examples provided.

get_policy_events ~44

Get all lifecycle events for a specific policy

NameTypeReqDescription
limitintegerMax results
policy_wikidata_idstringyesWikidata ID of the policy

No output schema declared.

No examples provided.

get_source ~37

Get details about a specific data source — description, URL, coverage, and update frequency

NameTypeReqDescription
source_codestringyesSource code identifier

No output schema declared.

No examples provided.

get_ticker ~53

Get details about a specific listed security

NameTypeReqDescription
exchange_codestringyesExchange code (e.g. "NGX")
symbolstringyesTicker symbol (e.g. "DANGCEM")

No output schema declared.

No examples provided.

get_ticker_history ~82

Get price history (OHLC + volume) for a listed security

NameTypeReqDescription
end_datestringEnd date (YYYY-MM-DD)
exchange_codestringyesExchange code
limitintegerMax data points
start_datestringStart date (YYYY-MM-DD)
symbolstringyesTicker symbol

No output schema declared.

No examples provided.

get_trade_flows ~110

Query bilateral trade flows between countries — exports and imports with values

NameTypeReqDescription
end_yearintegerEnd year
flow_typestringFlow type
limitintegerMax results
partner_country_codestringPartner country code
product_codestringHS product code
reporter_country_codestringReporting country (ISO alpha-2)
start_yearintegerStart year
yearintegerExact year

No output schema declared.

No examples provided.

get_trade_overview ~86

Get a trade overview — total exports/imports, top partners, top products, and trends

NameTypeReqDescription
country_codestringyesISO alpha-2 code (e.g. "NG", "KE", "ZA")
end_yearintegerEnd year
start_yearintegerStart year
top_limitintegerTop items per category

No output schema declared.

No examples provided.

get_trade_partners ~79

Get top trading partners for a country

NameTypeReqDescription
end_yearintegerEnd year
flow_typestringFlow type
limitintegerMax results
reporter_country_codestringyesReporting country (required)
start_yearintegerStart year
yearintegerExact year

No output schema declared.

No examples provided.

get_trade_products ~84

Get top traded products for a country — what it exports and imports

NameTypeReqDescription
end_yearintegerEnd year
flow_typestringFlow type
limitintegerMax results
reporter_country_codestringyesReporting country (required)
start_yearintegerStart year
yearintegerExact year

No output schema declared.

No examples provided.

get_upcoming_elections ~29

Get upcoming elections across Africa sorted by date

NameTypeReqDescription
limitintegerMax results

No output schema declared.

No examples provided.

list_cabinet_members ~70

Search cabinet members across African governments

NameTypeReqDescription
country_codestringFilter by country
current_onlybooleanOnly current members
limitintegerMax results
qstringSearch by name
role_categorystringFilter by role

No output schema declared.

No examples provided.

list_countries ~81

List all 54 African countries with key facts (capital, region, area, currencies, languages)

NameTypeReqDescription
pageintegerPage number for pagination
per_pageintegerItems per page
regionstringFilter by region (e.g. "Eastern Africa", "Western Africa")
sortstringSort field

No output schema declared.

No examples provided.

list_elections ~85

List elections across Africa — filter by country, scope, status, and year range

NameTypeReqDescription
country_codestringFilter by country
election_scopestringElection scope
end_yearintegerTo year
limitintegerMax results
start_yearintegerFrom year
statusstringElection status

No output schema declared.

No examples provided.

list_exchanges ~47

List African stock exchanges — NGX, JSE, BRVM, Casablanca, etc.

NameTypeReqDescription
country_codestringFilter by country
limitintegerMax results

No output schema declared.

No examples provided.

list_geographies ~80

List geographical entities — continents, regions, subregions, and countries in a hierarchy

NameTypeReqDescription
country_codestringFilter by country code
limitintegerMax results
parent_keystringFilter by parent geography key
qstringSearch query
typestringFilter by geography type

No output schema declared.

No examples provided.

list_government_terms ~111

List leadership terms — who governed which country and when

NameTypeReqDescription
country_codestringFilter by country
current_onlybooleanOnly current terms
end_date_tostringFilter terms to date (YYYY-MM-DD)
leader_wikidata_idstringFilter by leader
limitintegerMax results
role_typestringRole type filter
start_date_fromstringFilter terms from date (YYYY-MM-DD)

No output schema declared.

No examples provided.

list_indicators ~86

List all available data indicators (127+) across categories like GDP, population, health, education, agriculture, energy, climate

NameTypeReqDescription
categorystringFilter by category (e.g. "economy", "health", "education")
has_databooleanIf true, only return indicators that have observations
sourcestringFilter by data source code

No output schema declared.

No examples provided.

list_policies ~91

Search government policies, laws, and regulations across Africa

NameTypeReqDescription
country_codestringFilter by country
document_typestringDocument type
end_yearintegerTo year
limitintegerMax results
qstringSearch by title or content
start_yearintegerFrom year
statusstringPolicy status

No output schema declared.

No examples provided.

list_policy_events ~76

List policy lifecycle events — when policies were announced, adopted, amended, repealed

NameTypeReqDescription
country_codestringFilter by country
end_yearintegerTo year
event_typestringEvent type
limitintegerMax results
start_yearintegerFrom year

No output schema declared.

No examples provided.

list_sources ~26

List all data sources — World Bank, UN agencies, central banks, exchanges, etc.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list_tickers ~82

Search listed securities (equities) across African exchanges

NameTypeReqDescription
country_codestringFilter by country
exchange_codestringFilter by exchange (e.g. "NGX")
instrument_typestringFilter by instrument type
limitintegerMax results
qstringSearch by name or symbol

No output schema declared.

No examples provided.

query_data ~184

Query time-series observations for any combination of countries and indicators

NameTypeReqDescription
categorystringFilter by indicator category
country_codestringSingle ISO alpha-2 code (e.g. "NG")
country_codesstringComma-separated codes (e.g. "NG,KE,ZA")
end_yearintegerEnd of year range
latestbooleanOnly return most recent observation per country+indicator
limitintegerMax results
metric_keystringSingle indicator key (e.g. "gdp_current_usd")
metric_keysstringComma-separated indicator keys
sourcestringFilter by source code
start_yearintegerStart of year range
yearintegerExact year (cannot combine with start_year/end_year)

No output schema declared.

No examples provided.

search_leaders ~67

Search African heads of state and government — current and historical

NameTypeReqDescription
country_codestringFilter by country (ISO alpha-2)
current_onlybooleanOnly current leaders
limitintegerMax results
qstringSearch by name

No output schema declared.

No examples provided.

Common questions

What is the io.github.africa-api/africa-api-mcp server?

io.github.africa-api/africa-api-mcp is listed in the public MCP registry as io.github.africa-api/africa-api-mcp. MCP server for Africa API, access data on all 54 African countries through Claude. This page covers its npm package (africa-api-mcp).

Is the io.github.africa-api/africa-api-mcp server safe to use?

io.github.africa-api/africa-api-mcp scores 84 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 22 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.africa-api/africa-api-mcp server expose?

io.github.africa-api/africa-api-mcp exposes 40 tools: list_countries, get_country, get_country_profile, get_country_signals, list_indicators, and 35 more. Their descriptions and schemas cost roughly 2,684 tokens of context every time the server is loaded.

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

io.github.africa-api/africa-api-mcp is still listed as active in the MCP registry. We last reached this channel on 22 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.africa-api/africa-api-mcp server under?

io.github.africa-api/africa-api-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.