LuvVoice Text-to-Speech

v1.0.2
io.github.franzsy5/luvvoice-mcp Checked 4 days ago Published 1 month ago

Text-to-speech with 200+ voices in 70+ languages.

MCP (Model Context Protocol) server for LuvVoice — an AI-powered text-to-speech service with 200+ voices across 70+ languages. Connect your AI assistant (Claude, Cursor, VS Code, etc.) to LuvVoice and let it convert text to natural-sounding speech on demand. 👉 Website: https://luvvoice.com 📖 API Docs: https://luvvoice.com/doc 🔌 MCP Guide: https://luvvoice.com/mcp 🧩 AI Skill: https://luvvoice.com/skill

Summary extracted from the README.

LuvVoice MCP Server

npm version License: MIT

MCP (Model Context Protocol) server for LuvVoice — an AI-powered text-to-speech service with 200+ voices across 70+ languages.

Connect your AI assistant (Claude, Cursor, VS Code, etc.) to LuvVoice and let it convert text to natural-sounding speech on demand.

👉 Website: https://luvvoice.com 📖 API Docs: https://luvvoice.com/doc 🔌 MCP Guide: https://luvvoice.com/mcp 🧩 AI Skill: https://luvvoice.com/skill

Features

  • text_to_speech — Convert text to MP3 audio with customizable voice, speed, pitch, and volume
  • list_voices — Browse and filter all 200+ voices by language or gender
  • Resources — luvvoice://api-docs (API documentation) and luvvoice://voices (voice list)
  • Dual transport — stdio (default) and Streamable HTTP (--http)

Quick Start

1. Get an API Token

Sign up at luvvoice.com, subscribe to an API-enabled plan, and create a token at Dashboard → API Tokens.

2. Configure your AI client

Add to your MCP config (Claude Desktop, Cursor, VS Code, etc.):

{
  "mcpServers": {
    "luvvoice": {
      "command": "npx",
      "args": ["-y", "luvvoice-mcp"],
      "env": {
        "LUVVOICE_API_TOKEN": "YOUR_API_TOKEN"
      }
    }
  }
}

3. Use it

Just talk to your AI naturally:

"Read this paragraph aloud using a Chinese female voice"

The AI will automatically call list_voices to find the right voice and text_to_speech to generate audio.

Streamable HTTP Mode

For remote deployments, run as an HTTP server:

LUVVOICE_API_TOKEN=your_token npx luvvoice-mcp --http

Default port is 3000 (override with PORT env var). Client config:

{
  "mcpServers": {
    "luvvoice": {
      "type": "streamable-http",
      "url": "http://localhost:3000/mcp"
    }
  }
}

MCP Tools

text_to_speech

Parameter Type Required Description
text string Yes Text to convert (max 20,000 chars)
voice_id string Yes Voice ID, e.g. "voice-001"
rate number No Speed: -50 to 50 (default 0)
pitch number No Pitch: -50 to 50 (default 0)
volume number No Volume: -50 to 50 (default 0)

list_voices

Parameter Type Required Description
language string No Filter by language code, e.g. "zh-CN"
gender string No Filter by "Female" or "Male"
Voice ID Name Gender Language
voice-001 Jenny Female English (US)
voice-002 Guy Male English (US)
voice-093 Xiaoxiao Female Chinese (Mandarin)
voice-095 Yunxi Male Chinese (Mandarin)
voice-120 Nanami Female Japanese
voice-050 Alvaro Male Spanish
voice-111 Katja Female German
voice-140 Denise Female French

200+ voices available. Use list_voices to see all.

Compatible Clients

Client Transport
Claude Desktop stdio
Cursor stdio
VS Code (Copilot) stdio
Windsurf stdio
Factory Droid stdio
Cline stdio
OpenAI Agents HTTP

Environment Variables

Variable Required Description
LUVVOICE_API_TOKEN Yes Your API token from luvvoice.com
LUVVOICE_API_BASE_URL No Override API base URL (default: luvvoice.com)
PORT No HTTP server port (default: 3000, HTTP mode only)

License

MIT

Official MCP Registry

Registry name: io.github.franzsy5/luvvoice-mcp. The npm package and server.json use the same version and ownership marker (mcpName).

This listing installs the npm package over stdio. https://luvvoice.com/mcp is the documentation website, not a hosted MCP endpoint. API requests use the individual user's LUVVOICE_API_TOKEN and account credits.

To prepare a release, update package.json, package-lock.json, and server.json together, then run npm test and npm pack --dry-run. Publish the npm package first, authenticate with mcp-publisher login github, and run mcp-publisher publish server.json from this directory.