topit-mcp
v0.1.0Topit local companion: rank, de-duplicate and export the photos in a folder with your Topit taste, from Claude, Claude Code or Amp.
Ask Claude, Claude Code, Cursor or Amp to "find my best 25 photos in this folder for Instagram" and get Topit's ranking, trained on your own taste, not a generic guess. topit-mcp is the local companion: a small MCP server that ranks, de-duplicates and exports the photos in a folder on your computer (JPEG, PNG, WebP, HEIC and camera RAW). 1. Get a free key at mytopit.com → Settings → API & MCP → Create key, or run uvx topit-mcp login once. 2. Add it to your agent:
Summary extracted from the README.
topit-mcp: your best photos, picked by your own taste
Ask Claude, Claude Code, Cursor or Amp to "find my best 25 photos in this folder for Instagram" and get Topit's ranking, trained on your own taste, not a generic guess.
topit-mcp is the local companion: a small MCP server that ranks, de-duplicates and exports the photos in a
folder on your computer (JPEG, PNG, WebP, HEIC and camera RAW).
Quick start
- Get a free key at mytopit.com → Settings → API & MCP → Create key, or run
uvx topit-mcp loginonce. - Add it to your agent:
# Claude Code
claude mcp add --env TOPIT_API_KEY=tpk_... --transport stdio topit-local -- uvx topit-mcp
# Amp
amp mcp add topit-local --env TOPIT_API_KEY=tpk_... -- uvx topit-mcp
Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "topit": { "command": "uvx", "args": ["topit-mcp"], "env": { "TOPIT_API_KEY": "tpk_..." } } } }
No install at all? Use the hosted connector https://api.mytopit.com/mcp (sign in with your Topit account).
It ranks photos already in Topit or sent in the chat, but cannot read your disk.
Try it
- "Rank the photos in ~/Pictures/Lisbon for Instagram and give me the best 25."
- "Which of these are duplicates? Keep the best of each."
- "Copy the top 10 to ~/Desktop/lisbon-picks at 2048 px."
Tools
| Tool | Does |
|---|---|
rank_photos(folder or files, context, top_k) |
Topit's ranking with a score and a reason per photo |
group_duplicates(folder or files) |
Near-duplicate groups and the sharpest keeper; runs offline |
export_selection(ranked, destination) |
Copies the picks in rank order as 001_…, never touching the originals |
What leaves your computer
Only a 1200 px JPEG copy of each photo, with no EXIF, GPS, camera or date data, and no file names. Topit keeps
only the measured numbers, for at most 15 minutes. No photo is stored. group_duplicates sends nothing.
Limits
Each Topit plan includes ranked photos every month, starting with the free plan. See your allowance and usage at mytopit.com/settings/api.
Requires Python 3.10+ and uv. Questions: hello@mytopit.com.