Build on Postal
Everything in a Postal library is reachable from outside the app: tracks, tags, natural-language search, playlists, composers, analytics and briefs. Use the REST API from your own code, or connect an AI assistant through the hosted MCP server.
Two ways in, one key
An API key from your Postal settings authenticates the REST API and is the credential you connect the MCP server with. Scopes on the key bound what either surface can do.
JSON over HTTPS
Cursor-paginated lists, scoped keys, signed webhooks and one metered endpoint: natural-language search over your whole library.
curl https://api.postal.music/api/v1/tracks/search \
-H "X-API-Key: $POSTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "warm downtempo instrumental for a coffee ad",
"limit": 5,
"constraints": { "hasVocals": false, "bpmRange": [80, 100] }
}'Your library in any AI assistant
A hosted Model Context Protocol server with 34 tools. Add it to Claude as a custom connector, or to Cursor and Claude Code by URL. Nothing to install.
{
"mcpServers": {
"postal": {
"url": "https://mcp.postal.music/mcp"
}
}
}What people build
Each recipe in the docs names the endpoints or tools it uses and the scopes the key needs.
What you can reach
The same objects you work with in the app, with the same permissions your key carries.
Ask your library instead of scrolling it
Once connected, an assistant chains the tools itself: search with hard constraints, build the playlist, hand back the link. Responses are compact by default so long conversations stay cheap.
- “Find five warm, mid-tempo instrumentals for a coffee ad and make me a playlist link.”
- “Tag everything I uploaded this week and show me the suggestions you're least sure about.”
- “Which of my tracks were played most this month, and where have they been submitted?”
- “Are there duplicate files in my library I should merge before delivering to the distributor?”
Start building
Create a key in your settings, make your first request in five minutes, and read the full reference at docs.postal.music.
Open the documentation↗One key works for both the API and the MCP server.
