Pasternak icon

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

Pasternak's history panel at the bottom of a Mac screen: the sentence just copied from Safari first, then a terminal command, a note added by Codex and older items
⌘⇧V opens your history at the bottom of the screen, over any app. Type to search, ← → to pick, Return pastes into the app you were in.

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

Typing “sign” finds a screenshot by the text in it, an agent's note and an email
Search everythingFuzzy search over text, links, files and the words inside screenshots.
The Hide AI slop button hides the card an AI agent added
Know what agents addedItems show the agent and session (“Codex #1a2b”); Hide AI slop hides them in one click.
A screenshot card and a GitHub token shown masked
Secrets maskedAPI keys and tokens are recognized and hidden, agents never get them, and the clipboard forgets them after one paste.
Two history cards with a pin
PinsPinned items stay forever; limits and cleanup never touch them.
A floating screenshot thumbnail with Copy, Save, Edit, Pin and Close
Any screenshotArea, window, full screen or scrolling; then copy, save, edit or drag the thumbnail.
A sign-up form with a pixelated email, a box and arrow on the button, and numbered steps
AnnotateArrows, boxes, text, numbered steps and pixelation. Agents can draw too.
A window being recorded: a red dashed outline and a “0:07 Stop” pill
Screen recordingAn area or one window to MP4, GIF in one click. Agents can record to show a bug.
A screenshot open in its own window with Copy, Save, Edit and Close
Pinned windowsKeep a screenshot open next to your work.
Settings with Passwords, Messages and FaceTime as ignored apps
Ignored appsNothing copied in apps you choose is stored, and agents can't capture them.
Settings › AI with ready-to-copy commands for Claude Code, Codex and other clients
MCP for agentsOne command for Claude Code, Codex or any MCP client; screenshots and recordings stay opt-in.
Paste anywhere

⌘⇧V, type, Return pastes into the app you were in. ⇧Return pastes plain text.

Screenshots from the keyboard

⌥⇧4 area, ⌥⇧3 full screen, ⌥⇧2 window, ⌥⇧6 scrolling, ⌥⇧5 recording, the same digits as in macOS.

Secrets in scripts

$(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.

What agents can do
list_recentLatest history items
searchSearch by text, link, file name or source app
get_itemOne item in full
add_textPut text on the clipboard and into history, labelled with the agent and session
get_imageAn image item as a picture the agent can look at
annotate_imageDraw arrows, boxes, text, numbers or pixelation; saved as a new item
take_screenshotFull screen or one app's window. Off by default
start_recording
stop_recording
Record the screen or one app's window to MP4 + GIF. Off by default
usage_statsCopies 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

  1. Download the DMG.
  2. Open it and drag Pasternak to Applications.
  3. Press ⌘⇧V.
Download for macOS

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.