MCP server
by shinshin86
Integrate AivisSpeech for Japanese text-to-speech with customizable voice options, compatible with Google Cloud Speech t
Converts text to Japanese speech using the AivisSpeech engine with adjustable voice parameters. Automatically plays generated audio files on your system.
AivisSpeech is a community-built MCP server published by shinshin86 that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate AivisSpeech for Japanese text-to-speech with customizable voice options, compatible with Google Cloud Speech t It is categorized under ai ml.
You can install AivisSpeech in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
Apache-2.0
AivisSpeech is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
We wired AivisSpeech into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
AivisSpeech reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
We evaluated AivisSpeech against two servers with overlapping tools; this profile had the clearer scope statement.
AivisSpeech has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
We wired AivisSpeech into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
AivisSpeech is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
AivisSpeech reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
AivisSpeech is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
We wired AivisSpeech into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
AivisSpeech is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
showing 1-10 of 72

🙏 Special Thanks
This project is based on mcp-simple-voicevox by @t09tanaka.
We deeply appreciate their excellent work in creating the original MCP server for VOICEVOX, which served as the foundation for this AivisSpeech adaptation.
A Model Context Protocol (MCP) server for seamless integration with AivisSpeech text-to-speech engine. This project enables AI assistants and applications to convert text to natural-sounding Japanese speech with customizable voice parameters.
http://127.0.0.1:10101 (default port)When using Claude Code, start the MCP server manually before using it.
Using npx ensures you always get the latest version automatically. No manual updates needed.
npx @shinshin86/mcp-simple-aivisspeech@latest
claude mcp add aivisspeech -e AIVISSPEECH_URL=http://127.0.0.1:10101 -- npx @shinshin86/mcp-simple-aivisspeech@latest
By default, the server is added to the local scope (current project only). To make it available across all projects, use the -s user option:
claude mcp add aivisspeech -s user -e AIVISSPEECH_URL=http://127.0.0.1:10101 -- npx @shinshin86/mcp-simple-aivisspeech@latest
You can also add voice notifications to your CLAUDE.md file to automate task completion notifications:
## Task Completion Behavior
- When all tasks are completed, always use the aivisspeech mcp tool to announce "Tasks completed" via voice
- When user input or decision is needed, use the aivisspeech mcp tool to announce "Awaiting your decision" via voice
### Notification Timings
- When asking the user a question
- When all tasks are completed
- When errors or issues occur
claude mcp list
# Or launch Claude Code and use
/mcp
If aivisspeech is displayed, the setup was successful.
💡 Tip: Claude Code doesn't auto-execute commands for safety. If you forget to start the server, the tools won't appear. During development, keep the above
npxcommand running in a terminal, or use process managers likepm2orsystemd --userfor persistent operation.
For manual configuration with Claude Desktop, you can simply add the following configuration:
Using npx ensures you always get the latest version automatically. No manual updates needed.
{
"mcpServers": {
"aivisspeech": {
"command": "npx",
"args": ["@shinshin86/mcp-simple-aivisspeech@latest"],
"env": {
"AIVISSPEECH_URL": "http://127.0.0.1:10101"
}
}
}
}
Before using this MCP server, complete these setup steps to ensure AivisSpeech is running locally.
http://127.0.0.1:10101/docs# Run the MCP server
npm start
# For development with hot reload
npm run dev
# Check if everything is working
npm test
For cloning the repository, installing dependencies, and building:
# Clone repository
git clone https://github.com/shinshin86/mcp-simple-aivisspeech.git
cd mcp-simple-aivisspeech
# Install dependencies
npm install
# Build the project
npm run build
speakConvert text to speech and play audio with customizable voice parameters.
This tool accepts several configuration parameters, including the following options:
text (required): Text to convert to speechspeaker (optional): Speaker/voice ID (default: 888753760 - Anneli ノーマル)speedScale (optional): Speech speed multiplier (0.5-2.0, default: 1.0)pitchScale (optional): Pitch adjustment (-0.15-0.15, default: 0.0)volumeScale (optional): Volume level (0.0-2.0, default: 1.0)playAudio (optional): Whether to play the generated audio (default: true)Example usage:
{
"text": "こんにちは、世界!",
"speaker": 888753760,
"speedScale": 1.2,
"pitchScale": 0.05,
"volumeScale": 1.5
}
get_speakersRetrieve a list of all available voice characters and their styles.
This function returns: List of speakers with their IDs, names, and available voice styles.
notify_completionPlay a voice notification when tasks are completed.
This tool accepts several configuration parameters, including the following options:
message (optional): Completion message to announce (default: "処理が完了しました")speaker (optional): Speaker ID for the notification voice (default: 888753760 - Anneli ノーマル)Example usage:
{
"message": "データ処理が完了しました",
"speaker": 888753760
}
check_engine_statusCheck the current status and version of the AivisSpeech engine.
This function returns: Engine status, version information, and connectivity details.
| Platform | Audio Command | Requirements |
|---|---|---|
| macOS | afplay | Built-in (no additional setup) |
| Windows | PowerShell Media.SoundPlayer | Windows PowerShell |
| Linux | aplay | ALSA utils (sudo apt install alsa-utils) |
# Development & Building
npm run dev # Run with hot reload (tsx)
npm run build # Compile TypeScript to dist/
npm start # Run compiled server
# Code Quality
npm run lint # Run ESLint
npm run test # Run Vitest tests (single run)
npm run test:watch # Run tests in watch mode
npm run test:ui # Run tests with UI
npm run test:coverage # Run tests with coverage
# Utilities
npm run clean # Clean dist/ directory
When using MCP clients in production, use npx @shinshin86/mcp-simple-aivisspeech@latest in your MCP configuration. No local setup is required, and you always get the latest version.
For development, clone the repository and use npm run dev for hot reload, or npm run build && npm start for testing production builds.
mcp-simple-aivisspeech/
├── src/
│ ├── index.ts # MCP server & tool handlers
│ └── aivisspeech-client.ts # AivisSpeech API client
├── tests/
│ └── aivisspeech-client.test.ts # Unit tests
├── dist/ # Compiled output
├── docs/ # Documentation
└── config files # TS, ESLint, Vitest configs
The AivisSpeechClient class offers comprehensive functionality, providing several key capabilities:
src/index.ts CallToolRequestSchemaAivisSpeechClient classaivisspeech-client.tsError: Failed to get version: connect ECONNREFUSED 127.0.0.1:10101
Consider these troubleshooting approaches to resolve this issue: Ensure AivisSpeech Engine is running on the correct port.
Error: Audio player exited with code 1
Consider these troubleshooting approaches to resolve this issue:
afplay is availablesudo apt install alsa-utils)Error: spawn afplay EACCES
Consider these troubleshooting approaches to resolve this issue: Check file permissions and system audio settings.
To enable verbose logging, run the following command:
DEBUG=mcp-aivisspeech npm run dev
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
We welcome contributions from the community. Contributors can get started by completing these essential steps:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.