Developers
Pond has a local HTTP API and an MCP server, so your scripts, apps, and agents can read and edit your library. Both run inside the Pond app on your computer. Nothing goes through a Pond server.
HTTP API
While Pond is open, it listens on loopback only, so nothing outside your computer can reach it.
http://127.0.0.1:41610/api/v2Create a token in Pond under Settings, Local API. Pick what it can reach, copy it, and send it as a Bearer header:
curl -H "Authorization: Bearer $POND_TOKEN" \
http://127.0.0.1:41610/api/v2/library/infoPond shows each token once and keeps only a hash. Revoke it in the same place when a tool no longer needs access.
Access
A token can have any of these. Requests outside them answer forbidden.
- Search Saves
GET /library/info, /library/tags, /library/folders, /library/views, /library/sourcesPOST /library/query, /library/searchGET or POST /saves/getGET /saves/info, /saves/text, /saves/status, /saves/thumb, /saves/file, /saves/related- Export Files
Every /library/conversion route- Add and Edit Saves
POST /enqueuePOST /saves/tags, /saves/folders, /saves/trash, /saves/restore, /saves/note, /saves/rating, /saves/favorite
Responses and versions
Every response is an envelope with status. Errors carry a stable code, like save_not_found, so branch on that and never on the message.
GET /app/info needs no token and returns apiVersion. Minor versions only add endpoints, fields, and error codes. A breaking change ships under /api/v3, with /api/v2 kept alongside it for at least one release.
TypeScript client
pond-api has a typed method for every endpoint and validates each response. It depends only on zod.
npm install pond-apiMCP server
Agents like Cursor and Claude connect over stdio. Copy the command from Pond under Settings, Model Context Protocol. The switches on that page decide which tools answer:
- Search Saves
query_library, search_library, read_save, grep_library, list_folders- Open in Pond
open_save, apply_filter- Export Files
list_conversion_capabilities, list_conversion_presets, save_conversion_preset, start_conversion, compress_images, conversion_status, cancel_conversion
Reference
Request and response shapes for every route are in the API reference.