claude-voice
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-voicestart a Claude session in the api folder to fix the failing tests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-voice
Talk to the Claude Code sessions on your own computer from your phone.
You speak to a voice assistant (Claude's mobile app in voice mode is the one this was proven with). The assistant calls this bridge over the internet, and the bridge does the work on your computer:
it starts and follows Claude Code sessions there;
it passes your messages into sessions already open in a terminal;
it reads back what they did.
Claude Code runs under your own Claude subscription, not a pay-per-use API key. Anything risky, such as editing files or running commands, waits until you say yes.
The bridge is an MCP server: a program offering named tools that an AI assistant can call.
voice assistant on the phone (Claude app, voice mode)
│ custom connector, signed in with OAuth
▼
public HTTPS address (e.g. Tailscale Funnel)
▼
claude-voice on your computer
├─ sessions it runs itself ──► Claude Agent SDK ──► Claude Code
└─ sessions open elsewhere ──► Claude Code's own session messaging and transcriptsWhat you can ask for
Tool | What it is for |
| the folders Claude can be started in |
| start Claude on a task; it answers at once and works in the background |
| where one session stands, short enough to read aloud |
| only what happened since you last asked: finished, failed, waiting for you |
| "what have my agents done since yesterday?" |
| answer Claude's requests to edit files, run commands and so on |
| stop a turn, retire a session |
| browse sessions and their full event log |
| every Claude Code session running on the computer now, terminal or background |
| send a message into a session that is open in a terminal |
| read what such a session said lately, or search everything it said |
| continue an earlier conversation, as a copy run by the bridge |
Related MCP server: claude-code-mcp
How it behaves
One bridge session is one Claude conversation.
Each prompt resumes that conversation, so it survives restarts of the bridge.
A session that was in the middle of a turn when the bridge stopped is marked
interrupted.
Your subscription, not the API. The bridge refuses to start while
ANTHROPIC_API_KEYis set, because Claude would then be billed per token. SetCLAUDE_VOICE_ALLOW_API_KEY=1if that is what you want.Your own Claude Code settings apply, including your permission rules. Nothing is pre-approved beyond them.
Risky actions wait for a yes.
Anything Claude Code would normally ask you about becomes a pending approval with a short number you can say aloud, such as "approval 3: Bash,
rm -rf build".Reading files needs no approval.
A request nobody answers is refused after ten minutes.
A session open in a terminal is never taken over.
Messages are delivered into it, the way one Claude Code session messages another.
Continuing such a conversation from the bridge makes a separate copy, and the two then carry on independently.
The bridge never stops a terminal session.
Projects are confined to
CLAUDE_VOICE_ROOT. Folders outside it are refused.
Know the trust boundary. Signing in proves that the caller is your assistant. It cannot prove that you said yes to a particular action. The assistant is told to approve only on a clear spoken yes, but a misbehaving one could approve on its own. Keep your Claude Code permission rules sensible, and guard the login secret like an SSH key.
Run it
You need Python 3.12 or newer, uv, and Claude
Code signed in with your account (run claude, then /login).
check reads the configuration from the environment and says whether the
bridge could start, without starting it:
$ env -u ANTHROPIC_API_KEY -u CLAUDE_VOICE_ALLOW_API_KEY CLAUDE_VOICE_ROOT=src claude-voice check
claude-voice: ready to serve over stdio; projects under src
$ env -u CLAUDE_VOICE_ALLOW_API_KEY CLAUDE_VOICE_ROOT=src ANTHROPIC_API_KEY=sk-ant-example claude-voice check
claude-voice: ANTHROPIC_API_KEY is set, so Claude would bill the API instead of your subscription. Unset it, or set CLAUDE_VOICE_ALLOW_API_KEY=1 if that is intended.serve runs it. Over HTTP it refuses to start without a login secret:
$ env -u ANTHROPIC_API_KEY -u CLAUDE_VOICE_TOKEN CLAUDE_VOICE_ROOT=src claude-voice serve --transport http
claude-voice: CLAUDE_VOICE_TOKEN must be set to serve over HTTPWith a secret it listens on http://127.0.0.1:8811/mcp:
export CLAUDE_VOICE_ROOT=~/src
export CLAUDE_VOICE_TOKEN=$(python -c "import secrets; print(secrets.token_urlsafe(32))")
uv run claude-voice serve --transport httpserve --transport stdio is for a local MCP client on the same computer. It is
also the default.
Variable | Default | Meaning |
|
| Claude may only be started in folders under here |
| — | required over HTTP, at least 32 characters; it is also the login secret |
|
| the address clients reach the bridge at |
| — | comma-separated hostnames the tunnel serves |
|
| keep it on this computer and tunnel in |
|
| where sessions and events are kept |
Signing in
GET /healthz answers anyone. /mcp needs one of two things:
an OAuth access token, which is how phone apps connect;
the login secret itself, sent as
Authorization: Bearer …, for local tools.
When an app connects, it registers itself and sends you to a sign-in page on the bridge. You type the login secret there once.
Each sign-in attempt allows five tries.
Access tokens last an hour.
Refresh tokens last 90 days and are replaced each time they are used.
Tokens are stored only as hashes.
Run it as a service and reach it from the phone
deploy/install.sh
journalctl --user -u claude-voice -fThe script installs a user service that starts with your login. It also writes
a fresh login secret to ~/.config/claude-voice/env, readable only by you.
The phone needs a public HTTPS address. With Tailscale, first enable Funnel for the machine in the admin console, then:
tailscale funnel --bg --https=443 http://127.0.0.1:8811The bridge is then at https://<machine>.<tailnet>.ts.net/mcp. Use port 443:
claude.ai could not reach the bridge on port 10000.
In the Claude app, add a custom connector with that address and connect. Then set the tools to always allow, so the app does not ask before each one. ChatGPT on a Plus plan could not connect to a custom MCP server from Android at the time of writing.
Develop
CONTRIBUTING.md has the gates and how a change is made. In short:
Tests are written first, and run against a scripted stand-in for Claude, so they need no account.
A separate set runs against a real signed-in Claude Code. It uses a little of the subscription and never runs in CI:
uv run pytest -m e2eLicence
GPL-3.0-or-later. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceLocal MCP server that wraps the headless Claude Code CLI as MCP tools, providing stateless access to Claude's coding capabilities through prompt-based interactions. It enables users to execute Claude Code commands with various prompt formats and structured outputs directly from MCP clients.3MIT
- AlicenseAqualityDmaintenanceWraps Claude Code as tools for MCP clients, enabling autonomous coding tasks via a 4-tool lifecycle with session management, async polling, and permission controls.464 npm20MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to spawn and control Codex CLI and Claude Code sessions on the host machine, with session management and filesystem access.4MIT
- FlicenseNot gradedqualityCmaintenanceEnables ISLI agents and MCP clients to dispatch natural-language coding and terminal tasks to a locally-installed Claude Code CLI, supporting both one-shot execution and persistent sessions with workspace and security controls.-