Claude Code Tts
C

Claude Code Tts

A text - to - speech MCP server plugin designed for Claude Code. It uses the OpenAI TTS API to convert text into voice and provides automatic voice feedback.
2.5 points
3.6K

What is the Claude Code TTS Plugin?

The Claude Code TTS plugin is a Model Context Protocol (MCP) server specifically designed for Claude Code, capable of converting text into voice. It generates high-quality voice through OpenAI's TTS API and plays it on your device, enabling you to receive Claude's responses via voice while focusing on other tasks.

How to use the Claude Code TTS Plugin?

After installing the plugin, Claude will automatically use voice to reply to your queries. You can also manually call the speak tool to make Claude speak specific content. The plugin will automatically detect your operating system and use the corresponding audio player.

Applicable Scenarios

It is suitable for scenarios that require long - term focus, such as programming, writing, and learning. You can receive Claude's guidance, code explanations, or error messages via voice without frequently looking at the screen. It is also suitable for users with visual impairments or those who prefer auditory learning.

Main Features

Automatic Voice Reply
Automatically convert the first sentence of each of Claude's replies into voice playback through the Stop hook, without manual triggering.
6 High - Quality Voices
Provide six different voices with different timbres and styles: alloy, echo, fable, onyx, nova, and shimmer.
Worker Pool Architecture
Adopt a worker pool design with non - blocking queues and concurrent processing to ensure that voice generation and playback do not block the main thread.
Cross - Platform Support
Support three major operating systems: macOS (afplay), Linux (mpv/ffplay/mpg123), and Windows (PowerShell).
Independent Command - Line Tool
Provide a speak - text command - line tool, which can directly use the TTS function without going through the MCP protocol.
Status Monitoring
Use the tts_status() tool to view the working status, queue situation, and processing statistics of the TTS system in real - time.
Advantages
No manual triggering required. Claude's replies are automatically converted into voice
High - quality voice based on OpenAI's advanced TTS technology
Support multiple voice styles to meet different preferences
Non - blocking design does not affect Claude's normal response speed
Cross - platform compatibility, can be used on mainstream operating systems
Provide an independent command - line tool for flexible use
Limitations
Requires an OpenAI API key, which may incur costs
Depends on an Internet connection to call the OpenAI API
Audio playback requires the system to support the corresponding player
Longer texts require more processing time
The queue capacity is limited (default 50 tasks)

How to Use

Install the Plugin
Use the one - click installation script or manually clone the repository to the plugin directory of Claude Code.
Set the API Key
Set your OpenAI API key in the environment variables.
Install the Audio Player (Linux)
If you are using a Linux system, you need to install one of mpv, ffplay, or mpg123.
Restart Claude Code
Restart Claude Code to load the plugin, and the plugin will start working automatically.

Usage Examples

Programming Assistance
When writing code, let Claude explain complex functions or error messages and receive explanations via voice without interrupting the coding process.
Learning Assistance
When learning new concepts, receive Claude's explanations via voice to enhance understanding and memory.
Status Notification
Get a voice notification after a long - running task is completed.
Multilingual Learning
Hear the correct pronunciation through TTS when learning a foreign language.

Frequently Asked Questions

Why do I need an OpenAI API key?
Do I need to pay for using this plugin?
Why is there sometimes a delay in voice playback?
How to change the default voice?
What should I do if there is no sound on the Linux system?
Can I turn off the automatic voice reply?
Does it support Chinese voice?
What should I do if the queue is full?

Related Resources

GitHub Repository
Plugin source code and the latest version
OpenAI TTS Documentation
Official documentation of the OpenAI text - to - speech API
Model Context Protocol
Official introduction of the MCP protocol
Claude Code
Official page of Claude Code
Installation Script
One - click installation script

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

R
Runno
Runno is a collection of JavaScript toolkits for securely running code in multiple programming languages in environments such as browsers and Node.js. It achieves sandboxed execution through WebAssembly and WASI, supports languages such as Python, Ruby, JavaScript, SQLite, C/C++, and provides integration methods such as web components and MCP servers.
TypeScript
10.4K
5 points
S
Shadcn Ui MCP Server
An MCP server that provides shadcn/ui component integration for AI workflows, supporting React, Svelte, and Vue frameworks. It includes functions for accessing component source code, examples, and metadata.
TypeScript
14.8K
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
13.2K
4.5 points
M
MCP Server Weread
The WeRead MCP Server is a lightweight service that bridges WeRead data and AI clients, enabling in - depth interaction between reading notes and AI.
TypeScript
15.3K
4 points
M
MCP Youtube
Download YouTube subtitles via yt - dlp and connect to Claude.ai through the MCP protocol for video content analysis
TypeScript
13.5K
4 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.1K
5 points
E
Elevenlabs MCP
Certified
The official ElevenLabs MCP server provides the ability to interact with text - to - voice and audio processing APIs
Python
13.3K
5 points
S
Supermemory
Supermemory is an AI-driven memory engine designed to provide contextual knowledge for LLMs by integrating personal data, enabling intelligent management and retrieval of information.
TypeScript
24.6K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.7K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
25.1K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.1K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
73.9K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
33.0K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
65.8K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.2K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
98.5K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase