Moses Voice

v0.2.0
com.moses-ai/voice Checked 4 days ago Published 3 days ago

Text to speech in 7 languages and transcription in 25 European languages, hosted in Germany

MCP server for the Moses speech APIs. It lets Claude, Cursor, VS Code and other AI tools speak text as audio files and transcribe recordings. 1. Create an API key with the TTS and STT scopes at moses-ai.com/console (new accounts come with trial credit). 2. Add the server to your AI tool. It runs locally over stdio with Node.js 18 or newer. Ask for example: *"Read this paragraph aloud in German and save it as mp3"*, *"Transcribe ~/Downloads/meeting.m4a as subtitles"*, *"Which voices are there for French?"*.

Summary extracted from the README.

@mosesai/mcp

MCP server for the Moses speech APIs. It lets Claude, Cursor, VS Code and other AI tools speak text as audio files and transcribe recordings.

  • Text to speech in English, German, French, Italian, Portuguese, Spanish and Dutch: 27 built-in voices or your own recorded voice. Saved as mp3, wav, opus or flac.
  • Speech to text in 25 European languages, detected automatically: plain text, subtitles (srt, vtt) or JSON with segment and word timestamps. Files up to 25 MB.
  • Hosted in Germany, nothing stored: audio, text and transcripts are processed in memory and dropped. Only the amount (characters, seconds of audio) is recorded for billing. Prepaid credit, no subscription.

Setup

  1. Create an API key with the TTS and STT scopes at moses-ai.com/console (new accounts come with trial credit).
  2. Add the server to your AI tool. It runs locally over stdio with Node.js 18 or newer.

Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "moses-voice": {
      "command": "npx",
      "args": ["-y", "@mosesai/mcp"],
      "env": { "MOSES_API_KEY": "mk_..." }
    }
  }
}

Claude Code:

claude mcp add moses-voice --env MOSES_API_KEY=mk_... -- npx -y @mosesai/mcp

VS Code (.vscode/mcp.json):

{
  "servers": {
    "moses-voice": { "command": "npx", "args": ["-y", "@mosesai/mcp"], "env": { "MOSES_API_KEY": "mk_..." } }
  }
}

Tools

Tool What it does
text_to_speech text (up to 20,000 characters), optional voice, language, format (mp3, wav, opus, flac), speed (0.5–2), output_path. Saves the audio and returns the file's path; never overwrites a file. embed_audio: true also returns the audio for clients that can play it.
speech_to_text file_path of an audio or video file, optional language, format (text, srt, vtt, verbose_json), word_timestamps. Returns the transcript.
list_voices Voices for text_to_speech, optionally for one language, including your own (clone:<name>).
account_status Credit, today's usage and limits.

Ask for example: "Read this paragraph aloud in German and save it as mp3", "Transcribe ~/Downloads/meeting.m4a as subtitles", "Which voices are there for French?".

Settings

Variable Default
MOSES_API_KEY required Key with the TTS and STT scopes (one scope is enough for its tools)
MOSES_OUTPUT_DIR ~/moses-audio Where text_to_speech saves files (relative output_paths are inside it)
MOSES_BASE_URL https://moses-ai.com

For realtime use

This server works with whole texts and files. For live voice (an LLM's tokens to speech as they arrive, live transcription) use the SDKs @mosesai/tts and @mosesai/stt, or the Pipecat and LiveKit plugins (pipecat-moses, livekit-plugins-moses).

Pricing · TTS API · STT API · OpenAPI

License

MIT