yuppie-mcp-tts
This server provides a free, no-API-key text-to-speech MCP server powered by edge-tts, letting you convert text into natural-sounding speech.
text_to_speech – Convert text to speech and get back base64-encoded MP3 audio; optional voice and speed settings.
list_voices – List 50+ available voices across English, Chinese, and many other languages.
text_to_speech_file – Convert text to speech and save it directly as an MP3 file to disk.
Supports custom voice selection and speech speed (0.1–3.0x).
No API key or configuration required; works with MCP clients like Claude Code, Cursor, Cherry Studio, and others.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@yuppie-mcp-tts say 'hello world' in a female British voice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
yuppie-mcp-tts
TTS (文字转语音) MCP Server — 基于 edge-tts (微软 Edge 免费 TTS 引擎),无需 API Key,无需配置。
功能
工具名 | 说明 |
| 文字转语音,返回 base64 MP3 音频(可选嗓音、语速) |
| 列出 50+ 可用嗓音(中英文等多语种) |
| 文字转语音并保存为 MP3 文件到磁盘 |
参数说明:
voice: 嗓音名称,如en-US-JennyNeural、zh-CN-XiaoxiaoNeural,默认en-US-JennyNeuralspeed: 语速倍率 0.1~3.0,1.0 为正常速度
Related MCP server: Edge TTS MCP
只需要 TTS 库?(无 MCP)
本包是 MCP 壳:核心合成逻辑在库包 yuppie-tts(PyPI 分发,pip install yuppie-tts),本包依赖它。
如只需在 Python 项目中合成语音(不要 MCP),直接装库包:
pip install yuppie-ttsimport asyncio
from yuppie_tts import synthesize
async def main():
audio = await synthesize("你好世界", voice="zh-CN-XiaoxiaoNeural")
with open("/tmp/output.mp3", "wb") as f:
f.write(audio)
asyncio.run(main())快速开始
安装
pip install yuppie-mcp-tts运行
yuppie-mcp-tts无需任何配置,开箱即用。
MCP 集成
Claude Code
在 .mcp.json 中添加:
{
"mcpServers": {
"yuppie-mcp-tts": {
"type": "stdio",
"command": "uvx",
"args": ["--refresh", "yuppie-mcp-tts"]
}
}
}Cursor / Cherry Studio / Claude Desktop / OpenCode
{
"mcpServers": {
"yuppie-mcp-tts": {
"command": "uvx",
"args": ["--refresh", "yuppie-mcp-tts"]
}
}
}可用嗓音
50+ 嗓音覆盖多种语言和地区变体:
英语 (US): JennyNeural, GuyNeural, AriaNeural, DavisNeural, JaneNeural, JasonNeural, NancyNeural, SaraNeural, TonyNeural
英语 (UK): SoniaNeural, RyanNeural, LibbyNeural, MaisieNeural
英语 (AU): NatashaNeural, WilliamNeural
英语 (CA): ClaraNeural, LiamNeural
英语 (IN): NeerjaNeural, PrabhatNeural
中文: XiaoxiaoNeural, YunxiNeural, YunjianNeural, XiaoyiNeural, YunyangNeural
其他: 法语、德语、日语、韩语、葡萄牙语、西班牙语等
使用 list_voices 工具可查看完整列表。
示例
用户: 把 "你好世界" 转成语音
AI: [调用 text_to_speech(text="你好世界", voice="zh-CN-XiaoxiaoNeural")]
用户: 把 "Hello World" 用英式发音保存到 /tmp/hello.mp3
AI: [调用 text_to_speech_file(text="Hello World", voice="en-GB-SoniaNeural", output_path="/tmp/hello.mp3")]开发
uv pip install -e ".[dev]"
uv run pytest -v本地调试
npx @modelcontextprotocol/inspector uv run yuppie-mcp-tts许可证
MIT
Available Tools
3 toolslist_voicesARead-onlyIdempotent
列出所有可用的 TTS 嗓音(50+,覆盖中英文等多语种)。
Inputs: no named parameters. Returns: result
text_to_speechARead-onlyIdempotent
将文字转换为语音,返回 base64 编码的 MP3 音频。无需 API Key。
Inputs: text (required), speed, voice. Returns: result
text_to_speech_fileA
将文字转换为语音并保存为 MP3 文件到磁盘。无需 API Key。
Inputs: text (required), output_path (required), speed, voice. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: listing voices, generating speech as base64, and generating speech as a file. No overlap or confusion.
All tool names follow a consistent verb_noun pattern in snake_case: list_voices, text_to_speech, text_to_speech_file.
3 tools is slightly minimal but appropriate for a simple TTS server: list voices, generate speech (return and save). Each tool is necessary.
Covers core TTS operations: listing voices and generating speech. Missing explicit control over voice selection in generation tools, but the set is functional.
Maintenance
Related MCP Connectors
Text to speech in 149 languages: MP3 links from any assistant. Free without an account.
Generate English and Chinese speech, split long text, track batch jobs, and download audio.
Turn text into natural speech with AI voices in many languages
Synthesize short texts into WAV audio using offline formant voices in English, German and Spanish
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides text-to-speech functionality for AI agents using Microsoft Edge's text-to-speech technology, supporting multiple voices, languages, and voice customization.28MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to convert text to speech using Microsoft Edge's Text-to-Speech service with customizable voice options, speech rate, volume, and pitch parameters.MIT
- FlicenseNot gradedqualityDmaintenanceText-to-speech MCP server using Microsoft Edge TTS, supporting multiple voices and async processing.-
- FlicenseAqualityDmaintenanceConverts text or transcripts into MP3 audio using Microsoft Edge's free neural voices. Provides text-to-speech and voice listing tools with no API key required.2-