speech-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
speech-mcp-server

Local Stdio Model Context Protocol (MCP) server wrapping the Kokoro ONNX Neural TTS Engine with real-time Voice Vector Algebra, Central Wisconsin Vernacular Lexicon Overrides, and thread-clamped zero-VRAM CPU execution.
"Neural voice vectors mixed mathematically. Zero VRAM overhead. Pure local performance."
π Key Architectural Features
Voice Vector Algebra Engine: Mix multiple voice profiles using linear vector algebra directly in Python: $$\text{Voice} = (\text{am_adam} \times 0.65) + (\text{bm_lewis} \times 0.30) + (\text{am_michael} \times 0.05)$$
Central Wisconsin Vernacular Dict: Built-in phonetic lexicon mapper enforcing regional dialect pacing and word pronunciations (
bag$\to$bayg,roof$\to$ruff,creek$\to$crick,know'm'sayin).Zero GPU VRAM Overhead: Operates entirely on CPU via ONNX Runtime Execution Provider. Keeps GPU completely idle (0% load, 0 MB VRAM).
Thread-Clamped CPU Execution: Throttled to 2 worker threads (
OMP_NUM_THREADS = 2) to eliminate CPU spikes while maintaining sub-200ms latency.Kokoro ONNX Engine: High-fidelity 24kHz neural TTS with multiple base voice profiles (
am_adam,af_bella,bm_lewis,am_michael).MCP Stdio Transport: Full Model Context Protocol compatibility for AI agents and LLM tool integration (
/speak).
Related MCP server: STT2TTS MCP
π Quickstart
Prerequisites
Node.js v18+
Python 3.10+ with
kokoro-onnx,onnxruntime,soundfile,numpy
Installation & Build
git clone https://github.com/yavru421/speech-mcp-server.git
cd speech-mcp-server
npm install
npm run buildUsage
python synth.py "Lexicon overrides active for DuckDB and WASAPI." "am_adam*0.65 + bm_lewis*0.30" "0.94"Configuration (MCP Client)
Add to your mcpServers configuration:
{
"speech-mcp-server": {
"command": "node",
"args": ["<path_to_repo>/build/index.js"]
}
}π License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Hosted text-to-speech MCP server: 66 voices in 9 languages, long-form narration, podcasts.
MCP server for Text-to-Speech
MCP server for Speech-to-Text
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides text-to-speech capabilities using the Kokoro TTS model, offering multiple voice options and customizable speech parameters.433 npm1MIT
- AlicenseNot gradedqualityDmaintenanceLocal-first speech-to-text and text-to-speech MCP server. Hot-swappable engines via config.yaml β no code changes, no API keys required.2MIT
- AlicenseNot gradedqualityBmaintenanceA text-to-speech MCP server with 48 voices across 9 languages, supporting emotion spans, SFX tags, and multi-speaker dialogue. Deployable via a single npx command with built-in guardrails and swappable backends.MIT
- AlicenseNot gradedqualityDmaintenanceText-to-speech MCP server using the Kokoro-82M model accelerated with MLX on Apple Silicon, enabling local Claude and Codex clients to speak text aloud and convert text to audio.4MIT