Brainiall MCP Server README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Brainiall MCP Server listing page.

Brainiall Speech AI - MCP Server

MCP server providing AI-powered pronunciation assessment, speech-to-text, and text-to-speech tools via Brainiall Speech AI APIs.

Tools

ToolDescription
assess_pronunciationScore how accurately a speaker pronounced a given text (0-100), with per-word and phoneme-level feedback
transcribe_speechTranscribe speech audio into text with automatic language detection
synthesize_speechConvert text to natural-sounding speech audio (MP3)
list_voicesList all available text-to-speech voices

Prerequisites

Get your free API key at app.brainiall.com.

Installation

Using pip

Terminal
pip install fastmcp httpx

Using Docker

Terminal
docker build -t brainiall-mcp .
docker run -e BRAINIALL_API_KEY=your-key -p 8000:8000 brainiall-mcp

Configuration

Set the BRAINIALL_API_KEY environment variable:

server.ts
export BRAINIALL_API_KEY=your-api-key

Claude Desktop

Add to your claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "brainiall-speech-ai": {
      "command": "fastmcp",
      "args": ["run", "server.py"],
      "env": {
        "BRAINIALL_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor / VS Code

Add to your MCP settings:

config.json
{
  "mcpServers": {
    "brainiall-speech-ai": {
      "command": "fastmcp",
      "args": ["run", "/path/to/server.py"],
      "env": {
        "BRAINIALL_API_KEY": "your-api-key"
      }
    }
  }
}

Streamable HTTP (Docker / Remote)

Terminal
docker run -e BRAINIALL_API_KEY=your-key -p 8000:8000 brainiall-mcp

Connect your MCP client to http://localhost:8000/mcp.

Running Locally

bash
# stdio (default for Claude Desktop / Cursor)
BRAINIALL_API_KEY=your-key fastmcp run server.py

# streamable-http
BRAINIALL_API_KEY=your-key fastmcp run server.py --transport streamable-http --port 8000

API Reference

All tools communicate with the Brainiall Speech AI API at https://api.brainiall.com. Full API documentation is available at app.brainiall.com.

assess_pronunciation

ParameterTypeRequiredDescription
textstringYesReference text the user should have read
audio_base64stringYesBase64-encoded audio (WAV or MP3)
languagestringNoLanguage code, default en-US

transcribe_speech

ParameterTypeRequiredDescription
audio_base64stringYesBase64-encoded audio (WAV, MP3, WEBM, OGG)
languagestringNoLanguage hint for transcription

synthesize_speech

ParameterTypeRequiredDescription
textstringYesText to convert to speech
voicestringNoVoice ID, default alloy
speedfloatNoSpeed multiplier (0.5-2.0), default 1.0

list_voices

No parameters. Returns available voice options with IDs and supported languages.

License

MIT

Links