Sunbird AI MCP server

Sunbird AI for your agent

An MCP server that gives AI agents Sunbird AI's African-language models as tools: translation and chat with Sunflower, speech-to-text in 51 languages and text-to-speech with 48 voices. You connect with your own Sunbird API token, so every call is billed and rate-limited on your account, not a shared one.

…//mcp
Streamable HTTP. Send Authorization: Bearer <token> with each request. Create a token on the Sunbird API portal.
Examplesunbird_translate_text
Arguments
{ "text": "How are you?", "target_language": "lug" }
Result
{
  "translated_text": "Oli otya?",
  "source_language": "eng",
  "target_language": "lug"
}

Quick start

  1. Create a Sunbird API token

    Sign in at api.sunbird.ai and create a token under API keys. Keep it private: it is the only credential this server needs from you.

  2. Add the server to your agent

    Run once in your terminal
    claude mcp add --transport http sunbird … \
      --header "Authorization: Bearer YOUR_SUNBIRD_TOKEN"
  3. Make a free call first

    Ask your agent to run sunbird_check_connection. It confirms the token and shows the account it belongs to without spending anything. Then sunbird_list_languages gives you the language codes to use.

Tools

Eleven tools with typed inputs and structured outputs. Tools marked run inference on Sunbird and count against your account; the rest are free lookups.

ToolWhat it doesCost
Text
sunbird_translate_textTranslate between English and 67 African languages with Sunflower.
sunbird_chat_completionChat and question answering in African languages (Sunflower 9B).
sunbird_identify_languageDetect which language a text is written in.
Speech
sunbird_transcribe_audioSpeech-to-text in 51 languages from a public URL, a local file or inline audio.
sunbird_generate_speechText-to-speech with 48 voices in 17 languages. Returns a download URL by default, or a file or inline audio.
sunbird_generate_speech_batchSynthesise several texts in one request.
sunbird_refresh_speech_urlGet a fresh download link for audio generated earlier.free
Lookups and checks
sunbird_list_languagesLanguage codes per capability. Validate a code here before a billed call.free
sunbird_list_voicesVoice identifiers, optionally filtered by language.free
sunbird_list_modelsAvailable models and what each is for.free
sunbird_check_connectionConfirms your token and shows the account it belongs to.free

Full parameter and output reference: docs/tools.md.

Authentication

There is no separate sign-up for the MCP server. Your Sunbird API token is the credential, sent as a bearer token on every request.

  • The server verifies the token with Sunbird, caches the result for a few minutes, and forwards the same token upstream only for your calls.
  • Requests without a valid token are rejected with 401 before any tool runs.
  • Tokens never appear in logs. Audit entries record the tool name, outcome, latency and your Sunbird username only.
  • Billable tools are never retried automatically after an ambiguous failure, so a timeout cannot silently double-charge you. If you retry, check first.

If your token is rejected, create a new one at api.sunbird.ai/keys and run sunbird_check_connection again.

Languages and limits

CapabilityCoverageLimit per call
Translation and chatEnglish and 67 African languages (Sunflower 9B)5,000 characters of text; 50 chat messages
Speech-to-text51 languages25 MB of audio
Text-to-speech20 languages, 48 voices in 17 of them2,000 characters

Codes follow ISO 639-3, for example lug Luganda, ach Acholi, nyn Runyankole, teo Ateso, swa Swahili, eng English. Call sunbird_list_languages for the full matrix; it is free and always current.

Discovery

Agents and catalogues can find this server without hand-written configuration. These documents are public and describe how to connect; the tool list itself comes from the live server after you authenticate.

Server Card
Name, version, endpoint and the required header, served as application/mcp-server-card+json (SEP-2127).
AI Catalog
Domain-level index pointing at the Server Card (AI Catalog specification).
MCP Registry
Listed as ai.sunbird/sunbird-mcp in the official MCP Registry.
Health
/healthz and /readyz answer without a token and never call Sunbird.

Help and links

Sunbird AI API documentation
The upstream API this server wraps: models, pricing, tutorials.
Source code and self-hosting
Run the server yourself over stdio or HTTP, in Docker or on Cloud Run.
Client guides
Claude Code, Cursor, the OpenAI tool-calling bridge and CI usage, with worked examples.
Security model
Threat model, what is enforced where, and known limitations.
Report a problem
Bugs, missing languages, feature requests.