Use LeanVox TTS Directly from Claude, ChatGPT & Cursor — No Code Required
Source: Dev.to
What if your AI assistant could just… talk?
Instead of getting a link to an audio file, imagine the AI generating speech mid‑conversation, without you writing a single line of code. That’s what the LeanVox MCP server does.
npx leanvox-mcp
Add it to Claude Desktop, Cursor, VS Code, or any MCP‑compatible client. Your AI can now generate speech, create podcasts, clone voices, and check your balance — all through natural conversation.
Model Context Protocol (MCP)
Model Context Protocol is an open standard (created by Anthropic) that lets AI apps connect to external tools. Think of it as USB‑C for AI — one plug, works everywhere. Claude Desktop, ChatGPT, Cursor, Windsurf, VS Code, and hundreds of other apps support it. One MCP server = instant integration with all of them.
Setting Up the MCP Server
Claude Desktop
Edit claude_desktop_config.json:
{
"mcpServers": {
"leanvox": {
"command": "npx",
"args": ["leanvox-mcp"],
"env": {
"LEANVOX_API_KEY": "lv_live_your_key"
}
}
}
}
Cursor & VS Code
Add the same JSON configuration to the MCP settings in Cursor or to the Copilot MCP config in VS Code. Restart the application, and your AI can now speak.
Available Tools
| Tool | What it does |
|---|---|
leanvox_generate | Generate speech from text |
leanvox_stream | Stream audio to a file |
leanvox_dialogue | Create multi‑speaker conversations |
leanvox_list_voices | Browse available voices |
leanvox_check_balance | Check your credit balance |
Built‑in Prompts
| Prompt | Description |
|---|---|
narrate | Convert any text to natural speech |
podcast | Turn content into a multi‑speaker podcast |
voice-clone | Clone a voice from a reference file |
You can simply ask Claude, e.g., “Read this article aloud in a warm female voice” or “Turn this changelog into a podcast episode.” The AI handles everything.
Pricing
Same pricing as the LeanVox API — pay‑per‑character, no subscription:
| Tier | Rate |
|---|---|
| Standard | $0.005 per 1K characters |
| Pro (with cloning) | $0.01 per 1K characters |
- Credits never expire.
- $0.50 free on signup.
- A 500‑word article narration costs ≈ $0.015.
- A 5‑minute podcast episode costs ≈ $0.05.
Why This Matters
We believe TTS should be a native capability of AI agents, not an afterthought. MCP makes that possible. LeanVox is the first TTS provider with native MCP support—no wrappers, no middleware, just a purpose‑built MCP server.
Get Started
- API key: Get your API key
- GitHub: https://github.com/leanvox/leanvox-mcp
- npm: https://www.npmjs.com/package/leanvox-mcp