Bouyomi-chan MCP Server

by uraoz
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Boyomi-chan MCP Server (Node.js version)

This is a server that uses the Model Context Protocol (MCP) to provide text-to-speech functionality using Bokuyomi-chan (Yukkuri Voice) to AI assistants. It is implemented in Node.js/TypeScript.

overview

This server is an MCP server that allows AI assistants such as Claude to use the text-to-speech feature of "Boyomi-chan". It provides an interface that is easy for AI models to understand, and realizes the function of converting text to speech.

function

  • Text to speech
  • Select voice type (female, male, etc.)
  • Volume adjustment
  • Adjustable speech speed
  • Pitch Adjustment

Prerequisites

  • Node.js 16 or higher
  • npm 7 or higher
  • Boyomi-chan must be installed.
  • Boyomi-chan is running on port 50080

How to install

  1. Clone this repository:
git clone https://github.com/uraoz/bouyomichan-mcp-nodejs.git cd bouyomichan-mcp-nodejs
  1. Install the dependencies:
npm install
  1. Which compiles:
npm run build

How to use

Starting the Server

npm start

Integration with Claude for Desktop

To work with Claude for Desktop you need to edit the configuration file:

  1. Open the Claude for Desktop configuration file:
    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following content (replace the paths with the actual file paths):
{ "mcpServers": { "bouyomi": { "command": "node", "args": [ "/絶対パス/bouyomichan-mcp-nodejs/build/index.js" ] } } }
  1. Restart Claude for Desktop.

Usage Example

Claude for Desktop will read text aloud to you by:

  • Read out "Hello, World"
  • A male voice reads out "This is a test."
  • Speed up and read "I'm in a hurry"

Parameter Description

ParametersexplanationDefault valueScope
textRead textRequiredAny text
voiceAudio Type0 (1 female)0: Female 1, 1: Male 1, 2: Female 2, ...
volumevolume-1 (default)-1: default, 0-100: volume level
speedspeed-1 (default)-1: default, 50-200: speed level
tonePitch-1 (default)-1: default, 50-200: pitch level

license

MIT

How to contribute

  1. Fork this repository
  2. Create a branch for your feature or bug fix: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to the remote branch: git push origin feature/amazing-feature
  5. Create a pull request

Acknowledgements


Try using this MCP server to add text-to-speech functionality to your AI assistant! If you have any questions or feedback, please report them in the Issues section.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

A Node.js server that enables AI assistants to interact with Bouyomi-chan's text-to-speech functionality through Model Context Protocol (MCP), allowing for voice reading of text with adjustable parameters.

  1. 概要
    1. 機能
      1. 前提条件
        1. インストール方法
          1. 使用方法
            1. サーバーの起動
            2. Claude for Desktopとの連携
          2. 使用例
            1. パラメータ説明
              1. ライセンス
                1. 貢献方法
                  1. 謝辞
                    ID: gt1ul6tikz