Vox

io.github.boska由 GitHub 帳號 boska 發布v1.0.0更新於 Oct 28, 2026

Native macOS MCP server for voice I/O — Swift binary, SFSpeechRecognizer + ElevenLabs TTS.

已驗證STDIO僅桌面媒體與設計AI 與機器學習

概覽

AI 產生的概覽

原生 macOS 語音輸入輸出伺服器,讓助理把你的語音轉成文字,並以 Apple 語音辨識與 ElevenLabs TTS 朗讀回覆。

可以做什麼
  • 擷取語音:啟動麥克風、等待你說話,在偵測到靜音後回傳轉寫文字與辨識出的語言。
  • 朗讀文字:透過 ElevenLabs TTS 把文字讀出來,未設定 API 金鑰時自動改用 macOS 系統語音。
適用情境
適合在配有可用麥克風的 Mac 上,以語音而非打字與程式設計助理互動,或讓它把回答讀給你聽。
執行需求
需要 macOS 13 以上版本,在系統設定中指定預設輸入裝置,並為終端機應用程式授予麥克風與語音辨識權限。以本機二進位檔執行(下載或使用 Swift 自行編譯),不需 Node.js 或 Python。可選用 ELEVENLABS_API_KEY 取得高品質 TTS。
安裝前請注意
監聽期間麥克風保持開啟,周遭說話內容會被擷取並轉寫。若設定了 ELEVENLABS_API_KEY,朗讀文字會傳送到 ElevenLabs API 合成;不設定則透過系統語音在本機處理。README 中的安裝提示會要求助理下載二進位檔並修改你的 Claude 設定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Vox,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

vox

A native macOS MCP server that gives Claude a voice.

Built in Swift. No Node.js. No Python. No Electron. Just a single binary.

json
{  "mcpServers": {    "vox": {      "command": "/path/to/vox"    }  }}

Then just say: listen — and Claude hears you.


Tools

ToolWhat it does
listenActivates the mic, waits for you to speak, returns transcript + detected language when silence is detected
speakSpeaks text aloud — ElevenLabs TTS with automatic fallback to macOS system voice

Why Swift + macOS only

  • AVFoundation — native mic capture, zero overhead
  • SFSpeechRecognizer — Apple on-device speech recognition, works offline, 50+ languages
  • NLLanguageRecognizer — automatic language detection per utterance
  • AVSpeechSynthesizer — built-in TTS fallback, no API key needed
  • Single ~200KB binary. Zero npm install. Zero Python venv.

Requirements

  • macOS 13+
  • Microphone set as default in System Settings → Sound → Input
  • Microphone + Speech Recognition permission for your terminal app
  • Optional: ELEVENLABS_API_KEY in ~/.claude/.env for high-quality multilingual TTS

Install

Option 1: Prompt for Claude Code

Copy and paste this into Claude Code:

Install vox (native macOS voice input/output MCP server):
1. Download the code-signed binary to ~/vox:   curl -L https://github.com/boska/vox/releases/download/v1.1.0/vox-1.1.0-darwin-arm64 -o ~/vox && chmod +x ~/vox
2. Add to ~/.claude.json in the mcpServers section:   {     "mcpServers": {       "vox": {         "command": "/Users/$(whoami)/vox"       }     }   }
3. Restart Claude Code
4. Test it by saying: listen

Claude will handle the download, configuration, and restart.

Option 2: Manual Install (Pre-built Binary)

bash
curl -L https://github.com/boska/vox/releases/download/v1.1.0/vox-1.1.0-darwin-arm64 -o ~/vox && chmod +x ~/vox

Then add to ~/.claude.json:

json
{  "mcpServers": {    "vox": {      "command": "/Users/$(whoami)/vox"    }  }}

Restart Claude Code.

Option 3: Build from Source

bash
git clone https://github.com/boska/voxcd voxswift build -c release --product vox

Add to ~/.claude.json:

json
{  "mcpServers": {    "vox": {      "command": "/path/to/vox/.build/release/vox"    }  }}

Restart Claude Code.

Voice

Default TTS voice is Hana via ElevenLabs (eleven_multilingual_v2). Supports Chinese, English, Czech, Vietnamese, and 20+ languages in the same voice. Without an ElevenLabs key, falls back to macOS system voice automatically.

How it works

Claude Code    ↓ JSON-RPC 2.0 over stdio  vox binary    ↓                        ↑AVAudioEngine        AVSpeechSynthesizerSFSpeechRecognizer       ElevenLabs APINLLanguageRecognizer

No ports. No sockets. No daemon. Just stdin/stdout.

Troubleshooting

"No speech detected" — speak within ~1s of calling listen, VAD cuts off after 0.8s silence.

No default input device — Mac mini has no built-in mic. Connect USB/Bluetooth mic or iPhone via Continuity Camera, set default in System Settings → Sound → Input.

ElevenLabs silent — add ELEVENLABS_API_KEY=sk-... to ~/.claude/.env, or leave it out to use system voice.

來源:README.md,提交 f0fd5cc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。