Skip to main content
Glama
README.md
<div align="center">

<img src="docs/logo.png" width="128" alt="yap-fc logo">

# yap-fc

**Claude Code phones you.**<br>
A real two-way voice call when it needs a decision, or when a long task is done and you're away from the keyboard.

[![Release](https://img.shields.io/github/v/release/Aayush-683/yap-fc?color=e8894a&label=release)](https://github.com/Aayush-683/yap-fc/releases/latest)
[![License: MIT](https://img.shields.io/badge/license-MIT-e8894a)](LICENSE)
[![Rust](https://img.shields.io/badge/built%20with-Rust%20%2B%20Tauri-e8894a)](#how-it-works)
[![Platforms](https://img.shields.io/badge/Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-e8894a)](#install)

[Download](https://github.com/Aayush-683/yap-fc/releases/latest) &nbsp;·&nbsp; [Website](https://aayushgoel.dev/yap-fc) &nbsp;·&nbsp; [How it works](#how-it-works)

<br>

<div align="center">
  <img src="docs/app.png" width="300" align="top" alt="Main app">
  &nbsp;&nbsp; &nbsp;&nbsp;
  <img src="docs/account.png" width="300" align="top" alt="Account settings">
</div>

</div>

<br>

Yet Another Phone-bridge For Claude. Agents that run for ten minutes or an hour stop to ask a question, and you're not looking at the screen. A notification is easy to miss. A phone call isn't.

yap-fc is a small tray app plus an MCP server. Claude rings your phone over a **free SIP account**, talks it through with you in a natural voice, and goes back to work. **Speech recognition and the voice both run on your machine**, so there's no per-minute bill and no audio goes to a speech API.

## Why it feels like a call, not a bot

- **It waits for you to finish.** Patience grows the longer you've been talking, so a pause to think doesn't cut you off.
- **Talk over it and it stops.** Barge-in works like a person being interrupted.
- **Nothing you say is lost.** Words spoken while Claude is still thinking are kept and handed to it on the next turn.
- **No dead air.** While Claude digs into something, a short "one sec" keeps the line alive.
- **12 voices**, with a live preview, plus your own pronunciation list for tricky words (`kubectl = cube control`).
- **Office-safe.** Claude is told to keep calls short and never say project, client or repo names aloud.

## Why yap-fc

Most ways of getting an agent to call you put a cloud voice AI, a relay server and a phone app in the middle. yap-fc cuts all three.

- **Private.** Whisper and Kokoro run on your machine. No audio goes to a speech API, and there's no API key to manage.
- **Claude does the talking.** No second model relays for it, so Claude answers with the whole session in its head.
- **Built for Claude Code only.** The MCP tools, the instructions Claude gets and the call behaviour are all tuned for it, instead of a lowest common denominator across agents.
- **Nothing to host.** No relay, no Firebase, no LiveKit. One installer and a free Linphone account.
- **Free and unmetered.** Free SIP and local speech mean no per-minute cost and no call-minute cap.
- **Rings like any call.** It rings the Linphone app, even on a locked phone.

## Install

1. Download the installer for your system from [**Releases**](https://github.com/Aayush-683/yap-fc/releases/latest).
2. Make a free account at [Linphone](https://subscribe.linphone.org/) and install the Linphone app on your phone.
3. Open yap-fc and sign in. It checks the account without ringing you. Press **Try calling me** to hear it.
4. Press **Connect to Claude Code** (needs the `claude` CLI), then start a new Claude Code session.

**HD voice (optional):** for clearer 16 kHz sound, turn on G.722 in your SIP app (Linphone: Settings > Calls > Audio codecs). yap-fc offers it first and falls back to normal phone quality if it isn't on. Switch it off in yap-fc's Settings.

The first launch downloads about 500 MB of speech models, then loads the voice (about a minute). After that it lives in your tray and starts on login.

| Platform | File |
|---|---|
| Windows | `yap-fc_x64-setup.exe` or `.msi` |
| macOS (Apple Silicon) | `.dmg` |
| Linux | `.AppImage` or `.deb` |

## How it works

```
Claude Code ──MCP──▶ yap-fc-mcp ──127.0.0.1──▶ yap-fc tray app ──SIP/SRTP──▶ your phone
                                               Whisper in · Kokoro out
```

- **`yap-fc-mcp`** gives Claude five tools: `call_start`, `converse`, `say`, `update`, `call_end`, and instructions for when to use them (a finished long task, a blocker, a decision. Never for quick answers).
- **The tray app** holds the SIP registration and the speech models, and only listens on `127.0.0.1` behind a per-install token.
- **Speech:** [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) running Whisper (base.en) for listening, Kokoro for the voice, and Silero for voice-activity detection.

Right-click the tray icon to **Open**, **Pause calls** or **Quit**. Pausing makes Claude leave a text update instead of ringing.

## Build from source

Needs Rust stable. On Linux also: `libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libsecret-1-dev`.

```bash
cargo build --release --manifest-path engine/Cargo.toml --bin mcp
cd app && cargo build --release
```

To build installers: `cargo install tauri-cli --version "^2"`, copy `engine/target/release/mcp[.exe]` to `app/mcp/yap-fc-mcp[.exe]`, then `cd app && cargo tauri build --config tauri.ci.conf.json`. The [release workflow](.github/workflows/release.yml) does exactly this on every `v*` tag.

Environment knobs: `YAPFC_MODELS` (models folder), `YAPFC_FILLER=0` (turn off the automatic "one sec" fillers).

## Roadmap

- [ ] Code-signed installers
- [ ] macOS and Linux live testing (in progress)
- [ ] Intel macOS build

## License

MIT, see [LICENSE](LICENSE). Made by [Aayush Goel](https://aayushgoel.dev).