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 分

    请在仓库或注册中心条目中声明许可证。