Claude Desk Phone
2026 · Python, whisper.cpp, Raspberry Pi Pico
A 1970s rotary desk phone wired up as a voice line into Claude Code. I talk into the handset and hang up to send.
Why I built it
I do a lot of my work in Claude Code, Anthropic’s coding assistant, usually in several sessions at once. I also own a 1970s Western Electric 500DM rotary phone. At some point those two facts met.
The idea is simple. I pick up the handset and talk instead of typing. When I hang up, the request goes to Claude. When Claude is done, the phone is supposed to ring. (More on that later.)
I started on October 7, 2026. I did the wiring. Claude Code wrote most of the software, which seems fair, since it’s the one taking the calls.
How it works
Inside the phone there’s a Raspberry Pi Pico, a small microcontroller board. It watches the hook switch, the contacts under the cradle. When I lift the handset, it sends the Mac “UP” over USB. When I hang up, it sends “DOWN”. The handset’s carbon microphone is replaced by an electret capsule, wired to a small USB audio adapter.
On the Mac, a Python program I call the bridge does the rest:
- It records while the handset is up.
- It throws away anything shorter than a second (mostly bumps) and anything too quiet to be speech. Given silence, the speech engine sometimes writes “Thank you.”
- It transcribes with whisper.cpp, an open-source speech-to-text engine, using a model of about 470 MB that runs on the Mac.
- If the app in front is Terminal, iTerm2, Ghostty or VS Code, it pastes the text, presses Return and puts my clipboard back. For any other app, it types nothing.
Every request starts with a note: “(Voice request via desk phone; may contain transcription errors.)” So Claude knows the odd word might be wrong.
For ringing, Claude Code runs small scripts called hooks when a request arrives and when it finishes. Mine pass the bridge an ID and a yes or no for “came from the phone”, never what I said or what Claude answered. Every request has its own ID, so my other Claude windows never ring the phone.
The Pico has three ring patterns ready: two long rings when Claude finishes, three short when it needs my permission, one short when the text couldn’t be sent. It fires the bell’s solenoid about 20 times a second. Picking up stops the ring, like a phone should.
Since October 11 it runs as a menu bar app that starts at login. The icon turns red while I’m talking, and the menu says what’s wrong when something is.

What was hard
The first design assumed tmux, a terminal tool I don’t use. Same day, it was redesigned to paste into the window in front.
The recorder lost audio. The first version used ffmpeg, which on my Mac dropped about one audio buffer in ten. Every recording was missing roughly 10% of what I said. A Python library called sounddevice fixed it.
Wiring. The Pico and the audio adapter share a ground through the Mac. So if the hook contacts shared a terminal with the mic wiring, the hook read stuck on “up” or the mic shorted. I rewired the hook contacts myself.
macOS permissions. One evening I picked up the handset and nothing happened, because the program only ran while a Terminal window was open. Making it a real app meant learning macOS’s habits. For one, the audio library never triggers the microphone prompt, and without that permission macOS hands over pure silence. So the app asks for the microphone itself. The fix was a small Objective-C launcher that runs the Python program as a child, so macOS gives the permissions to “Claude Desk Phone”.
Too quiet. The next morning most of my requests were thrown away. macOS keeps a separate input volume for every USB socket and starts a new one low. Mine was at 33%. The quiet check averages the whole recording, so pauses pulled longer requests under the cut-off: 229 to 296 against a limit of 300. Now the app sets the volume to 73% whenever the phone connects. A 17.9-second test with deliberate gaps came in at 556 and went through.
The Pico froze. Same morning, the board stopped answering over USB for 14 minutes. Its program kept running. It just couldn’t talk. A USB reset from the Mac brought it back, and it promptly delivered ten stored lifts and hang-ups at once. 52 attempts to make it freeze again got nothing. Now the app checks on a quiet Pico every 20 seconds and resets its USB connection if there’s no answer. The cause is still unknown.
Where it is now
It’s in real use. I send a lot of my Claude requests through it. My first real request through the finished app was a decision about the app itself. There are 360 automated tests, and none of them need the phone plugged in.
The bell doesn’t ring yet. The firmware and the ring logic are done, but the solenoid isn’t wired. In October I said we would “deal with ringer stuff way later,” and it is still later.
One limit is by design: a request goes to whichever Claude window is in front. Once, a reply meant for one session landed in another that was busy with something else. It didn’t act on it, and nothing was lost.
More builds
DeltaSpeedoAn iPhone speedometer, trip computer and fuel log for my 1994 Lancia Delta, with a live gear digit fed by the shifter.
DeltaShifter + DeltaCamFirmware that reads a magnet on my Delta's gear lever, learns where each gear sits and tells my phone. Plus a rear camera.
Delta Shop ManualThe factory workshop manual for my 1994 Delta Integrale, turned from 972 unsearchable scans into a searchable offline site.