New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

africa.politics.elections

List presidential, parliamentary, and local government elections across all 54 African countries. Returns election scope (presidential/parliamentary/local), status (upcoming/completed/ongoing), dates, and country. Filter by country code, election status, or year range. Use status="upcoming" to fi...

SERVERApibase SOURCEapibase-mcp-client
Low RISK CLASS
Category Read
Parameters 50 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-whiteknightonhorse-apibase/africa.politics.elections.md

What africa.politics.elections does on Apibase

AI agents call africa.politics.elections to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
limit integer — Maximum number of elections to return (1–100, default 20).
status string — Filter by election status: "upcoming" (future elections), "completed" (past elections), or "ongoing" (elections currently in progress).
end_year integer — Filter elections up to and including this year (e.g. 2025).
start_year integer — Filter elections from this year onwards (e.g. 2020).
country_code string — ISO 3166-1 alpha-2 country code to filter elections to a single country (e.g. "ng", "ke", "za", "eg"). Omit to return elections for all 54 countries.

Parameters from the server's own tool schema.

Why africa.politics.elections is rated Low

Tool retrieves and queries election information without modifying data or triggering external actions.

From the tool's definition List elections, filter by country/status/year, returns election data.

Questions about africa.politics.elections

What does the africa.politics.elections tool do? +

List presidential, parliamentary, and local government elections across all 54 African countries. Returns election scope (presidential/parliamentary/local), status (upcoming/completed/ongoing), dates, and country. Filter by country code, election status, or year range. Use status="upcoming" to find upcoming African elections relevant to political risk analysis or investment due diligence. Data sourced from Wikidata and official election commission records. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.

What parameters does africa.politics.elections accept? +

africa.politics.elections accepts 5 parameters: limit, status, end_year, start_year, country_code. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on africa.politics.elections? +

Register the Apibase MCP server in PolicyLayer and add a rule for africa.politics.elections: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.

What risk level is africa.politics.elections? +

africa.politics.elections is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit africa.politics.elections? +

Yes. Add a rate_limit block to the africa.politics.elections rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block africa.politics.elections completely? +

Set action: deny in the PolicyLayer policy for africa.politics.elections. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides africa.politics.elections? +

africa.politics.elections is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Apibase, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Apibase's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.