The AI-native clipboard and screenshot tool for macOS.
Local, encrypted, and ready for Claude Code, Codex and other AI agents over MCP.
Free and open source (MIT) · macOS 26 or later on Apple silicon
One app instead of three
Clipboard history, screenshots and an annotation editor in a single native menu-bar app.
Your agents can see what you copied
Claude Code, Codex and any MCP client can search your history, look at screenshots, draw on them and record a window: “take the error I copied a minute ago”, “circle the broken button”, “record the bug in Safari”.
Secrets stay secret
Tokens and passwords are detected and masked. Agents never get their values, and the history never leaves your Mac.
Features
⌘⇧V, type, Return pastes into the app you were in. ⇧Return pastes plain text.
⌥⇧4 area, ⌥⇧3 full screen, ⌥⇧2 window, ⌥⇧6 scrolling, ⌥⇧5 recording, the same digits as in macOS.
$(pasternak get <id>) puts a secret into a command without showing it, optionally after Touch ID.
Built for AI agents
Pasternak includes an MCP server. Install the command-line tool from Settings › AI, then add it to your client:
$ claude mcp add pasternak -- ~/.local/bin/pasternak mcp
$ codex mcp add pasternak -- ~/.local/bin/pasternak mcp
Any client that takes an mcpServers JSON works too. Settings › AI shows these commands with your real path, ready to copy.
Secrets are never returned. Agents see a mask and a $(pasternak get <id>) substitution they can put in a shell command, so the value goes straight from Pasternak to the command. Images whose text contains a secret are not shared.
You always see it. Agent screenshots and recordings are off by default. When an agent takes a screenshot or records, you get a thumbnail, or a red outline with a Stop button, and apps on your ignored list are never captured.
list_recent | Latest history items |
search | Search by text, link, file name or source app |
get_item | One item in full |
add_text | Put text on the clipboard and into history, labelled with the agent and session |
get_image | An image item as a picture the agent can look at |
annotate_image | Draw arrows, boxes, text, numbers or pixelation; saved as a new item |
take_screenshot | Full screen or one app's window. Off by default |
start_recordingstop_recording | Record the screen or one app's window to MP4 + GIF. Off by default |
usage_stats | Copies and pastes per day, top apps and “from → to” pairs (counts only) |
A Claude Code skill in the repository teaches agents when and how to use these tools.
Private by design
Encrypted on disk
Everything lives in ~/Library/Application Support/Pasternak/, encrypted with AES-GCM. The key is in your login Keychain and never leaves your Mac.
No cloud, no telemetry
No cloud sync, no analytics. The only network request is an update check once a day, and only if you allow it. Nothing about you or your clipboard is sent.
On-device OCR
Text recognition and background removal run on your Mac with Apple Vision.
Secrets handled carefully
Copies that password managers mark as concealed are stored as secrets, masked everywhere. After one ⌘V Pasternak empties the clipboard; the secret stays in history, masked.
Ignored apps
Add any app to Settings › History › Ignored Apps to never store what you copy there.
Same user only
The MCP server talks to the app over a Unix socket that only your user can open.
Get Pasternak
- Download the DMG.
- Open it and drag Pasternak to Applications.
- Press ⌘⇧V.
Requires macOS 26 or later on Apple silicon. Signed with a Developer ID and notarized by Apple, so it opens like any other app.
Prefer to build it yourself? See Build from source.





