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
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
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
claude mcp add africa-api-africa-api-mcp -- npx -y africa-api-mcp
{
"mcpServers": {
"africa-api-africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
]
}
}
} {
"servers": {
"africa-api-africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
]
}
}
} codex mcp add africa-api-africa-api-mcp -- npx -y africa-api-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"africa-api-africa-api-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"africa-api-mcp"
],
"enabled": true
}
}
} openclaw mcp add africa-api-africa-api-mcp --command npx --arg -y --arg africa-api-mcp
mcp_servers:
africa-api-africa-api-mcp:
command: "npx"
args: ["-y", "africa-api-mcp"] {
"McpServers": {
"africa-api-africa-api-mcp": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"africa-api-mcp"
]
}
}
} assistant mcp add africa-api-africa-api-mcp -t stdio -c npx -a -y africa-api-mcp
{
"mcpServers": {
"africa-api-africa-api-mcp": {
"command": "npx",
"args": [
"-y",
"africa-api-mcp"
]
}
}
} 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
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 →
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 →
get_cabinet ~52
Get the current cabinet for a country — ministers, deputy ministers, and key officials
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO alpha-2 code (e.g. "NG", "KE", "ZA") |
| top_limit | integer | – | Top 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO alpha-2 code (e.g. "NG", "KE", "ZA") |
| top_limit | integer | – | Top items per category |
No output schema declared.
No examples provided.
get_country_policy_timeline ~44
Get a chronological policy timeline for a country
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO alpha-2 code |
| top_limit | integer | – | Number 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO 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
| Name | Type | Req | Description |
|---|---|---|---|
| election_wikidata_id | string | yes | Wikidata 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
| Name | Type | Req | Description |
|---|---|---|---|
| election_wikidata_id | string | yes | Wikidata ID of the election |
| limit | integer | – | Max results |
No output schema declared.
No examples provided.
get_exchange ~41
Get details about a specific stock exchange
| Name | Type | Req | Description |
|---|---|---|---|
| exchange_code | string | yes | Exchange 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
| Name | Type | Req | Description |
|---|---|---|---|
| base_currency | string | yes | Base currency (e.g. "USD") |
| end_date | string | – | End date (YYYY-MM-DD) |
| limit | integer | – | Max data points |
| quote_currency | string | yes | Quote currency (e.g. "NGN", "KES", "ZAR") |
| start_date | string | – | Start 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
| Name | Type | Req | Description |
|---|---|---|---|
| base_currency | string | – | Base currency (3-letter code) |
| country_code | string | – | Filter by country |
| limit | integer | – | Max results |
| quote_currencies | string | – | Comma-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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO 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
| Name | Type | Req | Description |
|---|---|---|---|
| metric_key | string | yes | Indicator 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
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Number of results |
| metric_key | string | yes | Indicator key (e.g. "gdp_current_usd", "population_total") |
| order | string | – | Sort order |
| source | string | – | Source code filter |
| year | integer | yes | Year 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
| Name | Type | Req | Description |
|---|---|---|---|
| leader_wikidata_id | string | yes | Wikidata 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
| Name | Type | Req | Description |
|---|---|---|---|
| policy_wikidata_id | string | yes | Wikidata ID of the policy |
No output schema declared.
No examples provided.
get_policy_events ~44
Get all lifecycle events for a specific policy
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Max results |
| policy_wikidata_id | string | yes | Wikidata 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
| Name | Type | Req | Description |
|---|---|---|---|
| source_code | string | yes | Source code identifier |
No output schema declared.
No examples provided.
get_ticker ~53
Get details about a specific listed security
| Name | Type | Req | Description |
|---|---|---|---|
| exchange_code | string | yes | Exchange code (e.g. "NGX") |
| symbol | string | yes | Ticker symbol (e.g. "DANGCEM") |
No output schema declared.
No examples provided.
get_ticker_history ~82
Get price history (OHLC + volume) for a listed security
| Name | Type | Req | Description |
|---|---|---|---|
| end_date | string | – | End date (YYYY-MM-DD) |
| exchange_code | string | yes | Exchange code |
| limit | integer | – | Max data points |
| start_date | string | – | Start date (YYYY-MM-DD) |
| symbol | string | yes | Ticker symbol |
No output schema declared.
No examples provided.
get_trade_flows ~110
Query bilateral trade flows between countries — exports and imports with values
| Name | Type | Req | Description |
|---|---|---|---|
| end_year | integer | – | End year |
| flow_type | string | – | Flow type |
| limit | integer | – | Max results |
| partner_country_code | string | – | Partner country code |
| product_code | string | – | HS product code |
| reporter_country_code | string | – | Reporting country (ISO alpha-2) |
| start_year | integer | – | Start year |
| year | integer | – | Exact 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | yes | ISO alpha-2 code (e.g. "NG", "KE", "ZA") |
| end_year | integer | – | End year |
| start_year | integer | – | Start year |
| top_limit | integer | – | Top items per category |
No output schema declared.
No examples provided.
get_trade_partners ~79
Get top trading partners for a country
| Name | Type | Req | Description |
|---|---|---|---|
| end_year | integer | – | End year |
| flow_type | string | – | Flow type |
| limit | integer | – | Max results |
| reporter_country_code | string | yes | Reporting country (required) |
| start_year | integer | – | Start year |
| year | integer | – | Exact year |
No output schema declared.
No examples provided.
get_trade_products ~84
Get top traded products for a country — what it exports and imports
| Name | Type | Req | Description |
|---|---|---|---|
| end_year | integer | – | End year |
| flow_type | string | – | Flow type |
| limit | integer | – | Max results |
| reporter_country_code | string | yes | Reporting country (required) |
| start_year | integer | – | Start year |
| year | integer | – | Exact year |
No output schema declared.
No examples provided.
get_upcoming_elections ~29
Get upcoming elections across Africa sorted by date
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Max results |
No output schema declared.
No examples provided.
list_cabinet_members ~70
Search cabinet members across African governments
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| current_only | boolean | – | Only current members |
| limit | integer | – | Max results |
| q | string | – | Search by name |
| role_category | string | – | Filter 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)
| Name | Type | Req | Description |
|---|---|---|---|
| page | integer | – | Page number for pagination |
| per_page | integer | – | Items per page |
| region | string | – | Filter by region (e.g. "Eastern Africa", "Western Africa") |
| sort | string | – | Sort field |
No output schema declared.
No examples provided.
list_elections ~85
List elections across Africa — filter by country, scope, status, and year range
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| election_scope | string | – | Election scope |
| end_year | integer | – | To year |
| limit | integer | – | Max results |
| start_year | integer | – | From year |
| status | string | – | Election status |
No output schema declared.
No examples provided.
list_exchanges ~47
List African stock exchanges — NGX, JSE, BRVM, Casablanca, etc.
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| limit | integer | – | Max results |
No output schema declared.
No examples provided.
list_geographies ~80
List geographical entities — continents, regions, subregions, and countries in a hierarchy
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country code |
| limit | integer | – | Max results |
| parent_key | string | – | Filter by parent geography key |
| q | string | – | Search query |
| type | string | – | Filter by geography type |
No output schema declared.
No examples provided.
list_government_terms ~111
List leadership terms — who governed which country and when
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| current_only | boolean | – | Only current terms |
| end_date_to | string | – | Filter terms to date (YYYY-MM-DD) |
| leader_wikidata_id | string | – | Filter by leader |
| limit | integer | – | Max results |
| role_type | string | – | Role type filter |
| start_date_from | string | – | Filter 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
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | – | Filter by category (e.g. "economy", "health", "education") |
| has_data | boolean | – | If true, only return indicators that have observations |
| source | string | – | Filter by data source code |
No output schema declared.
No examples provided.
list_policies ~91
Search government policies, laws, and regulations across Africa
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| document_type | string | – | Document type |
| end_year | integer | – | To year |
| limit | integer | – | Max results |
| q | string | – | Search by title or content |
| start_year | integer | – | From year |
| status | string | – | Policy status |
No output schema declared.
No examples provided.
list_policy_events ~76
List policy lifecycle events — when policies were announced, adopted, amended, repealed
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| end_year | integer | – | To year |
| event_type | string | – | Event type |
| limit | integer | – | Max results |
| start_year | integer | – | From 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country |
| exchange_code | string | – | Filter by exchange (e.g. "NGX") |
| instrument_type | string | – | Filter by instrument type |
| limit | integer | – | Max results |
| q | string | – | Search 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
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | – | Filter by indicator category |
| country_code | string | – | Single ISO alpha-2 code (e.g. "NG") |
| country_codes | string | – | Comma-separated codes (e.g. "NG,KE,ZA") |
| end_year | integer | – | End of year range |
| latest | boolean | – | Only return most recent observation per country+indicator |
| limit | integer | – | Max results |
| metric_key | string | – | Single indicator key (e.g. "gdp_current_usd") |
| metric_keys | string | – | Comma-separated indicator keys |
| source | string | – | Filter by source code |
| start_year | integer | – | Start of year range |
| year | integer | – | Exact 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
| Name | Type | Req | Description |
|---|---|---|---|
| country_code | string | – | Filter by country (ISO alpha-2) |
| current_only | boolean | – | Only current leaders |
| limit | integer | – | Max results |
| q | string | – | Search by name |
No output schema declared.
No examples provided.
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.