Skip to main content
Glama
waxberry-dev

live-translate-mcp

by waxberry-dev

live-translate-mcp

live-translate-mcp MCP server

Real-time English ↔ Mandarin speech translation for Claude — powered by Whisper, Claude AI, and Piper TTS.

Give Claude the ability to listen, translate, and speak. live-translate-mcp is a Model Context Protocol (MCP) server that adds speech translation as a native tool inside Claude Desktop and Claude Code. Hand it an audio file, and it transcribes, translates, synthesises, and plays the result — entirely on your machine, with Claude handling the translation.


What it does

Step

Technology

Where it runs

Speech → Text

OpenAI Whisper (via @huggingface/transformers)

Local

Text → Translation

Claude (Opus 4.8)

Anthropic API

Translation → Speech

Piper TTS (ONNX)

Local

Audio never leaves your machine except for the translated text sent to the Claude API. ASR and TTS run fully on-device.


Related MCP server: Voice MCP

Tools

translate_file

Translate a WAV audio file. Pass an absolute path — the server transcribes it, translates the text via Claude, synthesises speech, saves <name>_translated.wav next to the original, and plays it automatically.

Translate /Users/alice/meeting_clip.wav

Returns: original text, translation, and the path to the saved output file.

translate_speech

Translate raw audio passed as a base64-encoded WAV string. Returns the transcription, translation, and synthesised audio as base64 WAV — useful for programmatic workflows.

health_check

Verify that all dependencies (Whisper model cache, Piper voice files, espeak-ng) are present and ready before making a translation request.


Installation

No installation required. Run it directly with npx:

npx -y live-translate-mcp

Or install globally:

npm install -g live-translate-mcp

Prerequisites:

  • Node.js 18+

  • An Anthropic API key

  • espeak-ng — for TTS phonemisation (brew install espeak-ng on macOS, apt install espeak-ng on Linux)

The Whisper model (~150 MB) and Piper voice models (~200 MB) download automatically on first use and are cached in ~/.live-translate/.


Claude Desktop setup

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "live-translate": {
      "command": "npx",
      "args": ["-y", "live-translate-mcp"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

Restart Claude Desktop. You'll see live-translate appear in the tools panel.


Claude Code setup

claude mcp add live-translate -- npx -y live-translate-mcp

Then set your API key in the environment before starting Claude Code, or pass it via the MCP env config.


Usage examples

Once configured, just ask Claude naturally:

"Translate this audio file for me: /Users/alice/recording.wav"

"Use translate_file on /tmp/interview.wav"

"Check if live-translate is ready"

Claude will call the appropriate tool automatically.


Supported languages

Language

ASR

Translation

TTS

English

Mandarin Chinese (普通话)

Language is detected automatically from the audio — no need to specify it.


How it compares

live-translate-mcp

Cloud speech APIs

ASR

Local (Whisper)

Remote

Translation

Claude API

Remote

TTS

Local (Piper)

Remote

Audio privacy

Audio stays on device

Audio uploaded

Cost

Claude API only

Per-minute pricing

Offline

Partially (ASR + TTS)

No


Environment variables

Variable

Default

Description

ANTHROPIC_API_KEY

Required. Your Anthropic API key.

PIPER_VOICE_DIR

~/.live-translate/voices

Path to Piper .onnx voice files.


  • live-translate — the standalone CLI for push-to-talk translation with no API key required, using local models end-to-end.

  • Model Context Protocol — the open standard this server implements.

  • Piper TTS — the local TTS engine powering speech synthesis.


Licence

MIT

Available Tools

3 tools
health_checkA

Check whether all live-translate-mcp dependencies are available: Whisper model cache, Piper voice files, and espeak-ng binary.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description lists the dependencies checked but does not detail what happens if a dependency is missing (e.g., error vs. warning), nor the return format. No annotations provided to supplement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with purpose, no wasted words. Efficient and clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple zero-parameter tool, the description covers what is checked. Could mention output but not essential given simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so the description adds no parameter info. Baseline score of 4 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks availability of three specific dependencies (Whisper, Piper, espeak-ng), distinguishing it from translation tools like translate_file and translate_speech.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives; usage is implied as a prerequisite check for translation operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

translate_fileA

Translate a speech audio file between English and Mandarin Chinese. Pass an absolute path to a WAV file. Automatically detects the input language and translates to the other. Saves the translated audio next to the source file and plays it. Returns original text and translation.

ParametersJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to a WAV audio file (16 kHz, mono, 16-bit recommended)

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, description fully discloses behavior: auto-detects language, saves audio next to source, plays it, and returns text. No mentions of side effects like file overwrite, but overall transparency is good.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five sentences, front-loaded with purpose, but somewhat repetitive ('automatically detects...', 'saves and plays'). Could be tightened without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers input format, language pair, output actions, and return value. Missing details like error handling or file size limits, but sufficient given tool simplicity and no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema already covers 'file_path' with recommendations (16 kHz, mono, 16-bit). Description adds minimal new info ('absolute path') beyond repeating schema content. Schema coverage is 100%, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool translates speech audio between English and Mandarin Chinese using a WAV file. It specifies the input and output, and implicitly distinguishes from sibling 'translate_speech' by focusing on file translation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance. It implies usage for translating speech audio files but doesn't compare to alternatives like 'translate_speech' or discuss prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

translate_speechB

Translate speech audio between English and Mandarin Chinese. Automatically detects the input language and translates to the other. Returns original text, translation, and synthesised audio as base64-encoded WAV.

ParametersJSON Schema
NameRequiredDescriptionDefault
audio_base64YesBase64-encoded WAV audio (16 kHz, mono, 16-bit recommended)
sample_rateNoSample rate of the input audio in Hz (default: 16000)

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description explains the core behavior: auto-language detection, bidirectional translation, and output components. However, it does not disclose potential side effects, required permissions, rate limits, or error handling. As there are no annotations, more safety context would be beneficial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise, using two well-structured sentences. The first sentence states the action and language pair; the second adds output details. No redundant or unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description sufficiently covers the tool's purpose, input format, and output structure (original text, translation, base64 audio). However, it does not specify that the translation is limited to English-Mandarin only, nor does it differentiate from the sibling translate_file, which may be relevant for similar use cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides detailed descriptions for both parameters (audio_base64 format and sample rate defaults). The tool description does not add new information about the parameters beyond what the schema offers, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool translates speech between English and Mandarin Chinese, with automatic language detection and output of original text, translation, and synthesized audio. However, it does not distinguish itself from the sibling tool 'translate_file', which could potentially translate speech files or text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus its siblings (health_check, translate_file) or when not to use it. It does not mention any prerequisites, limitations, or preferred scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.7
    • First observedhealth_check
    • First observedtranslate_file
    • First observedtranslate_speech

TDQS

A3.8/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: health_check checks dependencies, translate_file handles file-based translation with local saving, and translate_speech provides real-time speech translation with base64 output. No overlap.

Naming Consistency5/5

All tool names use consistent snake_case naming with a verb_noun pattern (health_check, translate_file, translate_speech), making it easy to infer functionality.

Tool Count4/5

With 3 tools, the server is small but well-scoped for its purpose of live translation between English and Mandarin. The count is reasonable, though slightly on the lower end, covering health check, file translation, and speech translation.

Completeness3/5

The server covers the core workflow of speech translation and file conversion but lacks text translation, language configuration, or support for additional language pairs, which are notable gaps for a translation tool.

Maintenance

ActivityStale
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/waxberry-dev/live-translate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server