> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bakbak.si/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bakbak.si/_mcp/server.

# Overview

The Bakbak MCP server lets AI assistants generate speech with Bakbak TTS. Ask
in plain language ("read this announcement in Hindi with a female voice, as a
phone-quality file") and the assistant picks a voice and creates the audio.

It also carries Bakbak's developer documentation, so a coding assistant such as
Claude Code or Cursor can [build Bakbak into your app](/mcp-server/build-with-bakbak): the
Python and JavaScript SDKs, the LiveKit plugin, Pipecat, Twilio and other
telephony, web and mobile apps, or the API from any language.

It has four tools:

| Tool             | What it does                                                                                                               |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `text_to_speech` | Turns text into audio, up to 50,000 characters (long text is split into sentences and joined into one file). Uses credits. |
| `list_voices`    | Lists voices, filtered by language, model or name. Free.                                                                   |
| `search_docs`    | Searches the bundled developer documentation and returns the matching sections. Free; needs no API key.                    |
| `read_docs`      | Returns a documentation page or one section of it, or the index of every page. Free; needs no API key.                     |

> **Note**
>
> This server is for text-to-speech. The [Raya Agents MCP server](https://docs.getraya.app/mcp/overview) is a separate product for building and testing voice agents.

You can use it **hosted** (`https://mcp.bakbak.si/mcp`: nothing to install, audio
comes back as a private link valid for one hour) or **locally** (`npx bakbak-mcp`:
audio is saved to a folder on your computer).

## Privacy

The hosted server keeps no account data. Your API key travels inside an
encrypted sign-in token that only the server can read; generated audio is kept
for one hour behind an unguessable link, then deleted. Text you synthesize is
never logged. The documentation tools read pages bundled in the server and make
no requests. See the [privacy policy](https://bakbak.si/privacy-policy).