This project implements a **Model Context Protocol (MCP) server** that enables seamless interaction with the **Africa's Talking API** for
If you want an AI assistant working directly with Africastalking Airtime MCP, the africastalking airtime mcp mcp server is the bridge. This project implements a Model Context Protocol (MCP) server that enables seamless interaction with the Africa's Talking API for airtime-related operations. It provides a suite of tools for checking account balances, sending airtime, viewing transaction history, and summarizing top-up.
This project implements a Model Context Protocol (MCP) server that enables seamless interaction with the Africa's Talking API for airtime-related operations. It provides a suite of tools for checking account balances, sending airtime, viewing transaction history, and summarizing top-up data. The server uses an SQLite database for persistent storage and includes logic for formatting phone numbers for various African countries.
Once connected, the assistant can call these 6 tools directly:
Prerequisites — 1. Python 3.10 or higher: Ensure you have a modern version of Python installed. 2. uv Package Manager: This project uses uv for dependency managementcheck_balance — The check_balance tool exposed by this serverload_airtime — The load_airtime tool exposed by this serverget_last_topups — The get_last_topups tool exposed by this serversum_last_n_topups — The sum_last_n_topups tool exposed by this servercount_topups_by_number — The count_topups_by_number tool exposed by this serverThe server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
uv Package Manager: This project uses uv for dependency management. Install it by running:Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Africastalking Airtime MCP sits in that group, and the shape of its toolset — Prerequisites, check_balance, load_airtime among others — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Prerequisites | 1. **Python 3.10 or higher**: Ensure you have a modern version of Python installed. 2. **uv Package Manager**: This project uses uv for dependency management. Install it by running: bash curl -LsSf https://astral.sh/uv/i |
| check_balance | The check_balance tool exposed by this server. |
| load_airtime | The load_airtime tool exposed by this server. |
| get_last_topups | The get_last_topups tool exposed by this server. |
| sum_last_n_topups | The sum_last_n_topups tool exposed by this server. |
| count_topups_by_number | The count_topups_by_number tool exposed by this server. |
{
"mcpServers": {
"africastalking-airtime": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
uv Package Manager: This project uses uv for dependency management. Install it by running:Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.