Skip to main content
Glama

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

Related MCP server: Deepgram MCP Server

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

Available Tools

4 tools
assess_pronunciationA

Assess how accurately a speaker pronounced the given text.

Returns an overall pronunciation score (0-100), per-word scores, and phoneme-level feedback including accuracy, fluency, and completeness.

Inputs: text (required), audio_base64 (required), language. Returns: object

list_voicesA

List all available text-to-speech voices.

Returns voice IDs, names, supported languages, and sample previews.

Inputs: no named parameters. Returns: object

synthesize_speechA

Convert text to natural-sounding speech audio.

Returns base64-encoded audio in MP3 format. Use list_voices to see available voice options.

Inputs: text (required), voice, speed. Returns: object

transcribe_speechB

Transcribe speech audio into text.

Supports multiple languages with automatic language detection. Returns the transcription text and detected language.

Inputs: audio_base64 (required), language. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: assess_pronunciation evaluates speech quality, list_voices enumerates TTS options, synthesize_speech generates audio, and transcribe_speech converts audio to text. The descriptions clearly differentiate these functions, making misselection unlikely.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (e.g., assess_pronunciation, synthesize_speech). The verbs (assess, list, synthesize, transcribe) are descriptive and aligned with the actions, creating a predictable and readable naming convention throughout.

    Tool Count5/5

    With 4 tools, this server is well-scoped for speech and audio processing. Each tool earns its place by covering distinct aspects: pronunciation assessment, voice listing, speech synthesis, and transcription. This count is appropriate for the domain, avoiding bloat or thin coverage.

    Completeness4/5

    The tool set covers core speech processing workflows: synthesis, transcription, and pronunciation feedback. Minor gaps exist, such as no explicit tools for voice customization or audio editing, but agents can likely work around these with the provided tools. The surface is largely complete for the stated purpose.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers