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.

棒読みちゃんMCPサーバー (Node.js版)

Model Context Protocol (MCP) を使用して、棒読みちゃん(ゆっくりボイス)による音声読み上げ機能をAIアシスタントに提供するサーバーです。Node.js/TypeScriptで実装されています。

概要

このサーバーは、Claude などのAIアシスタントから「棒読みちゃん」の読み上げ機能を利用できるようにするMCPサーバーです。AIモデルが理解しやすいインターフェースを提供し、テキストを音声に変換する機能を実現します。

機能

  • テキスト読み上げ
  • 音声タイプ選択(女性・男性など)
  • 音量調整
  • 読み上げ速度調整
  • 音程調整

前提条件

  • Node.js 16以上
  • npm 7以上
  • 棒読みちゃんがインストールされていること
  • 棒読みちゃんがポート50080で起動していること

インストール方法

  1. このリポジトリをクローンします:
git clone https://github.com/uraoz/bouyomichan-mcp-nodejs.git cd bouyomichan-mcp-nodejs
  1. 依存関係をインストールします:
npm install
  1. コンパイルします:
npm run build

使用方法

サーバーの起動

npm start

Claude for Desktopとの連携

Claude for Desktopと連携するには、設定ファイルを編集する必要があります:

  1. Claude for Desktop設定ファイルを開きます:
    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. 以下の内容を追加します(パスは実際のファイルパスに置き換えてください):
{ "mcpServers": { "bouyomi": { "command": "node", "args": [ "/絶対パス/bouyomichan-mcp-nodejs/build/index.js" ] } } }
  1. Claude for Desktopを再起動します。

使用例

Claude for Desktopで以下のように指示すると、テキストが音声で読み上げられます:

  • 「こんにちは、世界」と読み上げて
  • 男性の声で「これはテストです」と読み上げて
  • 速度を速くして「急いでいます」と読み上げて

パラメータ説明

パラメータ説明デフォルト値有効範囲
text読み上げるテキスト必須任意のテキスト
voice音声の種類0 (女性1)0: 女性1、1: 男性1、2: 女性2、...
volume音量-1 (デフォルト)-1: デフォルト、0-100: 音量レベル
speed速度-1 (デフォルト)-1: デフォルト、50-200: 速度レベル
tone音程-1 (デフォルト)-1: デフォルト、50-200: 音程レベル

ライセンス

MIT

貢献方法

  1. このリポジトリをフォークします
  2. 機能追加やバグ修正用のブランチを作成します:git checkout -b feature/amazing-feature
  3. 変更をコミットします:git commit -m 'Add some amazing feature'
  4. リモートブランチにプッシュします:git push origin feature/amazing-feature
  5. プルリクエストを作成します

謝辞


このMCPサーバーを使って、AIアシスタントに音声読み上げ機能を追加してみてください!質問やフィードバックがあれば、Issuesで報告してください。

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