A clipboard manager for macOS, built in Rust.
clipd gives you multiple independent clipboard slots — so you can copy several things at once and paste any of them on demand, without losing what you copied before.
Your Mac has one clipboard. Every time you press Cmd+C, whatever you copied before is gone.
This is fine for simple tasks. But the moment you're doing anything real — filling a spreadsheet, moving code around, reorganising data — you're constantly switching windows, re-copying things you already had, and losing your flow.
clipd fixes this.
curl -fsSL https://raw.githubusercontent.com/shwetarkadam/clipd/main/install.sh | bashThis downloads the latest release, copies Clipd.app to /Applications, and puts the clipd CLI in /usr/local/bin.
- Go to Releases and download
Clipd-macos-arm64-vX.X.X.zip(Apple Silicon) - Unzip and double-click Clipd. macOS says "Apple could not verify Clipd…": click Done. (clipd is free and open source, so it isn't notarized by Apple.)
- Open System Settings → Privacy & Security, scroll to Security, click Open Anyway and enter your password. On macOS 14 and older you can right-click Clipd → Open instead.
- Clipd offers to Move to Applications. Say yes and it relaunches from there.
The zip includes these steps as How to open Clipd.txt. The one-line install above skips them entirely.
Requires Rust (latest stable) and Xcode Command Line Tools.
git clone https://github.com/shwetarkadam/clipd.git
cd clipd
./release.shThen drag target/release/Clipd.app to Applications.
macOS requires two permissions for clipd to work. You'll be prompted automatically on first launch:
| Permission | Why | Where to grant |
|---|---|---|
| Accessibility | Simulating paste (Cmd+V) into apps | System Settings → Privacy & Security → Accessibility |
| Input Monitoring | Detecting Cmd+C / Ctrl+C hotkey taps | System Settings → Privacy & Security → Input Monitoring |
Grant both, then restart Clipd (Quit from menu bar → reopen).
Gatekeeper warning? If macOS says "Apple could not verify Clipd…" or "Clipd can't be opened because it is from an unidentified developer", go to System Settings → Privacy & Security and click Open Anyway (see Option 2 above).
When you open Clipd:
- A menu bar icon appears (top-right of your screen)
- The daemon starts automatically in the background
- The main window opens for visual slot access
That's it. No config files, no setup.
Instead of one clipboard, clipd gives you up to 30 slots. Think of them as clipboard 1, clipboard 2, clipboard 3 — all active at the same time.
Normal clipboard: clipd:
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ item A │ ← Cmd+C │ slot 1 │ │ slot 2 │ │ slot 3 │
│ │ │ item A │ │ item B │ │ item C │
│ (item B │ └─────────┘ └─────────┘ └─────────┘
│ is now │ ↑ ↑ ↑
│ gone) │ Cmd+V×2 Cmd+V×3 Cmd+V×4
└─────────┘
clipd supports two hotkey styles — pick whichever feels natural:
Excel / developer mode:
Enable this in Paste Settings → Slot Input Mode.
| Action | Hotkey |
|---|---|
| Copy to slots 1–30 | Cmd+C × N |
| Paste slot 1 | Cmd+V |
| Paste from slots 2–30 | Cmd+V × N |
| Jump to any slot while pasting | Cmd+V Cmd+V, keep Cmd held, then the slot's key (K, or 1 2 for 12) |
| Copy to slots 11–30 | Option+C × N |
| Paste from slots 11–30 | Option+V × N |
| Paste next queued slot | Cmd+Option+V |
The HUD shows the active slot bank while tapping, so you can stop when the target slot is highlighted.
Option A — Cmd multi-tap:
| Action | Hotkey |
|---|---|
| Copy to slot 1 | Cmd+C × 2 |
| Copy to slot 2 | Cmd+C × 3 |
| Paste slot 1 | Cmd+V × 2 |
| Paste slot 2 | Cmd+V × 3 |
Option B — Ctrl tap (after Cmd+C):
| Action | Hotkey |
|---|---|
| Copy to slot 1 | Ctrl+C × 1 |
| Copy to slot 2 | Ctrl+C × 2 |
| Paste slot 1 | Ctrl+V × 1 |
| Paste slot 2 | Ctrl+V × 2 |
Other shortcuts:
| Shortcut | Action |
|---|---|
Ctrl+R |
Open search TUI |
Ctrl+G (macOS/Linux), Alt+G (Windows) |
Open GUI window |
Ctrl+Shift+V |
Smart paste (transform clipboard before pasting) |
Cmd+Option+V |
Sequence paste (auto-increment through slots) |
Action fires 0.65s after the last tap — long enough to count taps deliberately.
Click the clipd icon in the menu bar for quick access:
- Start / Stop daemon
- Open clipd search (GUI or TUI depending on mode)
- HUD slot overlay — enable/disable the floating overlay that shows slot numbers as you tap
- Developer mode (TUI) — switch search to terminal instead of GUI
- Quit clipd UI
- Multi-slot clipboard — copy multiple things, paste any of them independently
- Clipboard history — full searchable history of everything you've copied
- Hotkeys — multi-tap
Cmd+C/Cmd+Vfeels completely natural - Interactive search —
Ctrl+Rto fuzzy search your history - Native macOS UI — quick visual access to your slots and settings
- HUD overlay — floating display shows which slot you're targeting as you tap
- Smart paste — transform clipboard content before pasting (trim, format JSON, fix grammar, etc.)
- Ask your clipboard — natural-language recall, grounded in clips you really copied
- Lightweight daemon — runs quietly in the background, zero config
Stop remembering slot numbers. Ask for what you copied.
clipd ask "what was that postgres connection string?"Type ? at the start of the search bar in the GUI to do the same thing there —
the answer appears in the preview pane, and every [#id] citation is a button
that jumps to the clip it came from.
How it finds things. Three retrievers run in parallel and their rankings are combined with weighted Reciprocal Rank Fusion — not their scores, which sit on incomparable scales:
| Retriever | Good at | Local? |
|---|---|---|
| SQLite FTS5 | exact tokens, error strings, identifiers | yes |
| TF-IDF cosine | paraphrase, "the database thing" | yes |
| Embeddings | true synonymy | needs an API key |
A clip that two retrievers found independently outranks one that a single retriever loved. That agreement is also what drives the confidence rating.
How it stays honest.
- The model is shown numbered clips and told to answer only from them.
- Every
[#id]it emits is checked against the clips actually sent. Fabricated ids are stripped, not rendered — you never see a hallucination dressed as a source. - Clips matching the secret detectors (API keys, private keys, passwords) are withheld from the request entirely. The answer tells you how many.
- Confidence is reported:
high= cited clips multiple retrievers agreed on,medium= cited a single retriever's hit,low= cited nothing checkable,none= found nothing.
No API key? It still works. Retrieval is entirely local, so clipd ask
falls back to showing you the ranked clips with no synthesis and no network
call.
To get written answers, add a key under Settings ▸ Ask AI in the search
window, which has a "Test connection" button that tells you whether the key and
endpoint actually work. It writes transform.json for you — on macOS
~/Library/Application Support/clipd/transform.json, on Linux
~/.local/share/clipd/transform.json. Any OpenAI-compatible endpoint works,
including Ollama and LM Studio:
{
"api_key": "sk-...",
"api_url": "https://api.openai.com/v1/chat/completions",
"model": "gpt-4o-mini"
}clipd ask "which staging URL did I use" # ask
clipd ask -c "and the one before that?" # follow up in the same thread
clipd ask --threads # list saved conversations
clipd ask --no-ai "docker" # local ranking only, never calls out
clipd ask --json "..." # answer + sources + confidence as JSON
clipd ask --app DataGrip --last 7d "..." # narrow before retrievingConversations live in memory for the session and are written through to SQLite,
so --continue-thread still resolves after a restart. clipd clear --all
wipes them along with your history.
The clipd binary doubles as a full CLI:
clipd # Launch GUI + daemon (default)
clipd daemon # Start daemon only (headless)
clipd list # Show recent clips
clipd search # Interactive search (TUI)
clipd search <q> # Text search
clipd ask "<q>" # Ask a question about your history (grounded, cited)
clipd paste <slot> # Output slot to stdout
clipd slots # Show slot contents
clipd stats # Usage statistics
clipd clear # Clear history/slotsCopy values from multiple cells, switch to your destination, paste them all — no switching back and forth.
Keep a function signature in slot 1 while you copy its body to slot 2. Hold API keys, git hashes, and error messages in parallel slots.
Ever filled a long form and lost something because you needed to copy something else? clipd keeps everything available.
clipd/
├── clipd-core # Shared core logic (clipboard, storage, transforms)
├── clipd-daemon # Background service (hotkeys, clipboard watcher)
├── clipd-cli # Command-line interface
├── clipd-tui # Terminal UI for search
├── clipd-ui # Menu bar tray app (launches daemon + GUI)
├── clipd-gui # Native macOS GUI (eframe)
├── clipd-hud # Swift HUD overlay for slot tap feedback
├── clipd-mcp # MCP server integration
└── packaging/ # macOS app bundle scripts
clipd ships an MCP server (clipd-mcp) so AI assistants can search your
clipboard history — including by meaning, and inside screenshots via OCR text —
put results on your clipboard, and manage snippets. Everything runs locally
against clipd's own database.
The ask tool exposes the same grounded Q&A as clipd ask, returning the
answer and the evidence (sources, confidence, matched_by) so the
calling assistant can verify citations rather than trust them. Inside Claude
Code, /ask <question> routes through it.
Claude Code:
claude mcp add clipd -- /Applications/Clipd.app/Contents/MacOS/clipd-mcpClaude Desktop (claude_desktop_config.json) / Cursor (.cursor/mcp.json):
{
"mcpServers": {
"clipd": { "command": "/Applications/Clipd.app/Contents/MacOS/clipd-mcp" }
}
}On Windows the binary is %LOCALAPPDATA%\Clipd\clipd-mcp.exe; on Linux, wherever
you installed clipd-mcp.
Tools: search_clips (hybrid keyword + semantic; embeddings when configured,
local TF-IDF otherwise), get_recent, get_clip, set_clipboard, add_clip,
list_slots, list_snippets, save_snippet, list_collections,
get_collection, transform, list_transforms, get_sessions, stats.
Try: "find that API key format I copied yesterday", "put the summary of my last 5 clips on my clipboard", "save my address as a snippet triggered by 'addr'".
# Remove the app
rm -rf /Applications/Clipd.app
# Remove CLI (if installed)
sudo rm -f /usr/local/bin/clipd
# Remove data (clipboard history, settings)
rm -rf ~/Library/Application\ Support/clipd
rm -rf ~/Library/Logs/clipd-ui-daemon.logLicensed under the Business Source License 1.1. Free for personal use. Commercial use requires a license from the author.
Made by Shweta Kadam