VOICEVOX MCP Server
This server provides text-to-speech synthesis and playback using VOICEVOX, integrated with Claude Desktop and Claude Code. It supports multiple concurrent Claude instances by coordinating voice usage to avoid duplication.
say– Convert text to speech and play it asynchronously, with control over voice ID, speed (0.5–2.0), and whether to use a session-assigned voicelist_voices– Retrieve a list of all available VOICEVOX voicesget_queue_status– Check the current state of the audio playback queueclear_queue– Clear all pending items in the playback queueget_voices_in_use– Get a list of voice IDs currently in use across all running processesget_random_unused_voice– Randomly select a voice not currently in use by any processget_session_voice– Retrieve the fixed voice assigned to the current session (each session gets a unique, automatically assigned voice)
Configuration options (via environment variables) include the VOICEVOX API URL, default voice ID, and default speech speed. Compatible with macOS, Linux (PipeWire/PulseAudio), and Windows.
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., "@VOICEVOX MCP Server say "Hello, welcome to the system" with voice ID 47"
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.
vv-mcp
VOICEVOX MCP Server - Claude DesktopとClaude Codeで音声合成を利用するためのMCPサーバー
必要要件
Node.js 18以上
VOICEVOXがインストールされ、起動していること
サポートOS:
macOS:
afplayを使用(追加インストール不要)Linux:
pw-play(PipeWire)またはpaplay(PulseAudio)が必要PipeWire環境では
pw-playを優先的に使用し、なければpaplayにフォールバックPipeWire:
Arch Linux:
pacman -S pipewireUbuntu/Debian:
apt install pipewire-binFedora:
dnf install pipewire-utils
PulseAudio:
Arch Linux:
pacman -S pulseaudioUbuntu/Debian:
apt install pulseaudio-utilsFedora:
dnf install pulseaudio-utils
Windows: PowerShellを使用(追加インストール不要)
Related MCP server: VoiceVox MCP Server
インストール
npmからインストール(推奨)
npm install -g @arrow2nd/vv-mcpソースからビルド
git clone https://github.com/arrow2nd/vv-mcp.git
cd vv-mcp
npm install
npm run buildClaude Desktopでの設定
設定ファイルを編集:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
npmでインストールした場合
{
"mcpServers": {
"vv-mcp": {
"command": "npx",
"args": ["-y", "@arrow2nd/vv-mcp"],
"env": {
"VOICEVOX_URL": "http://localhost:50021",
"DEFAULT_VOICE_ID": "47",
"DEFAULT_SPEED": "1.0"
}
}
}
}ソースからビルドした場合
{
"mcpServers": {
"vv-mcp": {
"command": "node",
"args": ["/path/to/vv-mcp/dist/index.js"],
"env": {
"VOICEVOX_URL": "http://localhost:50021",
"DEFAULT_VOICE_ID": "47",
"DEFAULT_SPEED": "1.0"
}
}
}
}Claude Codeでの設定
~/.claude.jsonのmcpServersセクションに以下を追加:
npx/bunxを使用する場合(推奨)
{
"mcpServers": {
"vv-mcp": {
"command": "npx",
"args": ["-y", "@arrow2nd/vv-mcp"],
"env": {
"VOICEVOX_URL": "http://localhost:50021",
"DEFAULT_VOICE_ID": "47",
"DEFAULT_SPEED": "1.0"
}
}
}
}bunxを使用する場合は"command": "bunx"に変更してください。
ソースからビルドした場合
{
"mcpServers": {
"vv-mcp": {
"command": "node",
"args": ["/path/to/vv-mcp/dist/index.js"],
"env": {
"VOICEVOX_URL": "http://localhost:50021",
"DEFAULT_VOICE_ID": "47",
"DEFAULT_SPEED": "1.0"
}
}
}
}使用方法
Claude Desktop/Codeを再起動後、以下のMCPツールが利用可能になります:
利用可能なツール
say- テキストを音声合成して再生(非同期実行)list_voices- 利用可能な音声一覧を取得get_queue_status- 再生キューの状態を確認clear_queue- 再生キューをクリアget_voices_in_use- 現在使用中の音声IDのリストを取得(全プロセス共通)get_random_unused_voice- 使用されていない音声をランダムに1つ取得get_session_voice- このセッションで使用する音声を取得(セッション毎に固定)
使用例
「こんにちは」と言ってナースロボの楽々な声で「完了しました」と言って利用可能な音声を教えてセッション音声機能
各Claudeセッションに固定の音声を自動割り当てする機能があります:
使用方法
# セッション音声を使用して読み上げ
"こんにちは"とセッション音声で言ってsayツールのパラメータ
useSessionVoice: true- セッション音声を使用(voiceIdは無視される)useSessionVoice: false(デフォルト) - 指定した音声IDまたはデフォルト音声を使用
仕組み
セッション開始時に自動的に音声を選択
他のセッションと重複しない音声を優先的に選択
全音声が使用中の場合は使用頻度の低い音声を選択
セッション終了時に自動的に音声を解放
複数インスタンス対応
複数のClaude Desktop/Codeが同時に動作している場合、自動的に異なる音声を使用して音声の重複を避けます。
各プロセスで使用中の音声情報を共有
get_random_unused_voiceツールで未使用の音声を自動選択一時ディレクトリに状態ファイルを作成して情報を共有
環境変数
変数名 | デフォルト値 | 説明 |
VOICEVOX_URL | VOICEVOX APIのURL | |
DEFAULT_VOICE_ID | 47 | デフォルトの音声ID (ナースロボ_タイプT) |
DEFAULT_SPEED | 1.0 | デフォルトの話速 |
VV_MCP_STATE_DIR | システム一時ディレクトリ | 共有状態ファイルの保存ディレクトリ |
ライセンス
MIT
Available Tools
7 toolsclear_queueB
再生キューをクリア
Inputs: no named parameters.
get_queue_statusB
再生キューの状態を取得
Inputs: no named parameters.
get_random_unused_voiceA
使用されていない音声をランダムに1つ取得
Inputs: no named parameters.
get_session_voiceA
このセッションで使用する音声を取得(セッション毎に固定)
Inputs: no named parameters.
get_voices_in_useA
現在使用中の音声IDのリストを取得(全プロセス共通)
Inputs: no named parameters.
list_voicesB
利用可能な音声の一覧を取得
Inputs: no named parameters.
sayA
VOICEVOXで音声合成して再生(非同期実行)
Inputs: text (required), voiceId, speed, useSessionVoice.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose with no ambiguity. For example, 'clear_queue' manages queue state, 'get_queue_status' retrieves status, 'get_random_unused_voice' and 'get_session_voice' handle different voice selection methods, 'get_voices_in_use' lists active voices, 'list_voices' shows all available voices, and 'say' performs synthesis and playback. The descriptions make it easy to differentiate between queue management, voice selection, and playback operations.
All tool names follow a consistent verb_noun pattern using snake_case. The verbs are clear and appropriate: 'clear', 'get', 'list', and 'say' are used consistently across tools. There are no deviations in naming conventions, making the set predictable and easy to understand at a glance.
With 7 tools, the server is well-scoped for voice synthesis and playback management. Each tool serves a specific function in the workflow, from listing voices and managing queues to synthesizing speech. The count is neither too sparse nor bloated, fitting the domain of a VOICEVOX interface effectively.
The tool set covers core operations for voice synthesis, including voice listing, selection, queue management, and playback. Minor gaps exist, such as the lack of tools for modifying queue order or stopping playback, but agents can work around these using the provided tools (e.g., clearing the queue). Overall, it supports essential workflows without dead ends.
Maintenance
Related MCP Connectors
Turn text into speech, browse voices, and get MP3 audio with optional SRT or WebVTT captions.
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
AI voice generation: text-to-speech and voice cloning from any MCP client.
Browse Gradium voices, generate speech, and check your credit balance.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables integration with VOICEVOX text-to-speech services to convert text into audio using a variety of character voices. It provides tools for speech generation, listing available speakers, and monitoring system health.5-
- AlicenseNot gradedqualityDmaintenanceProvides text-to-speech functionality via VoiceVox, enabling Claude to generate spoken audio from text using various voices.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables text-to-speech synthesis using VOICEVOX characters (ずんだもん, 春日部つむぎ, 四国めたん) and allows querying available speakers and transforming text to character tone.-
- AlicenseAqualityBmaintenanceEnables AI agents to generate Japanese speech and singing audio, control voice parameters, play audio, and create editable VOICEVOX .vvproj song projects through a local VOICEVOX Engine.71MIT