Brainiall Speech AI MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install fastmcp httpx
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "BRAINIALL_API_KEY=${BRAINIALL_API_KEY}" brainiall-speech-ai -- node "<FULL_PATH_TO_BRAINIALL_MCP_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_BRAINIALL_MCP_SERVER>/dist/index.js with the actual folder you prepared in step 1.

Required:BRAINIALL_API_KEY
README.md

AI-powered pronunciation assessment, speech-to-text, and text-to-speech tools.

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

Tool Description
assess_pronunciation Score how accurately a speaker pronounced a given text (0-100), with per-word and phoneme-level feedback
transcribe_speech Transcribe speech audio into text with automatic language detection
synthesize_speech Convert text to natural-sounding speech audio (MP3)
list_voices List all available text-to-speech voices

Prerequisites

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

Installation

Using pip

pip install fastmcp httpx

Using Docker

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:

export BRAINIALL_API_KEY=your-api-key

Claude Desktop

Add to your claude_desktop_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:

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

Streamable HTTP (Docker / Remote)

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

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

Running Locally

# 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

Parameter Type Required Description
text string Yes Reference text the user should have read
audio_base64 string Yes Base64-encoded audio (WAV or MP3)
language string No Language code, default en-US

transcribe_speech

Parameter Type Required Description
audio_base64 string Yes Base64-encoded audio (WAV, MP3, WEBM, OGG)
language string No Language hint for transcription

synthesize_speech

Parameter Type Required Description
text string Yes Text to convert to speech
voice string No Voice ID, default alloy
speed float No Speed multiplier (0.5-2.0), default 1.0

list_voices

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

License

MIT

Links

Tools (4)

assess_pronunciationScore how accurately a speaker pronounced a given text 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.
list_voicesList all available text-to-speech voices.

Environment Variables

BRAINIALL_API_KEYrequiredAPI key for accessing Brainiall Speech AI services

Configuration

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

Try it

Assess the pronunciation of the audio file 'recording.mp3' against the text 'The quick brown fox jumps over the lazy dog'.
Transcribe the speech from the provided audio file and detect the language used.
Convert the following text into speech using the default voice: 'Welcome to the Brainiall AI demonstration.'
List all available voices for text-to-speech synthesis.

Frequently Asked Questions

What are the key features of Brainiall Speech AI?

Pronunciation assessment with phoneme-level feedback. Speech-to-text transcription with automatic language detection. Text-to-speech synthesis with adjustable speed and voice selection. Support for multiple audio formats including WAV, MP3, WEBM, and OGG.

What can I use Brainiall Speech AI for?

Language learners practicing pronunciation and receiving automated feedback. Automating the transcription of meeting recordings or voice notes. Generating natural-sounding voiceovers for text-based content. Building accessibility tools that convert text to speech for users.

How do I install Brainiall Speech AI?

Install Brainiall Speech AI by running: pip install fastmcp httpx

What MCP clients work with Brainiall Speech AI?

Brainiall Speech AI works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Brainiall Speech AI docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare