Purpose
op3-mcp is an MCP (Model Context Protocol) server that provides OP3 (Open Podcast Prefix Project) podcast analytics data to AI assistants. The APIs of most podcast hosting platforms expose very limited data; for example, Transistor's API basically only returns download counts, with no geographic distribution, app share, or recent per-episode trends. Because OP3 records every download during redirection, it has this data, and this server is responsible for presenting this data to agents.
By design, this server is read-only. OP3 is an analytics service, and this server only reads data and cannot change anything, so it can be safely handed over to agents for use.
Main capabilities
- Downloads over time
- Listener geographic distribution
- Apps used by listeners (app share)
- Per-episode breakdown data
Most tools require a show UUID. You can first use op3_get_show to convert a feed URL or podcast GUID into a UUID. Every list tool accepts a limit parameter, with a low default value (10), to keep response sizes small, because agents consume tokens per response.
How to use
1. Get an OP3 API token
- Go to https://op3.dev and log in.
- Open the API token page and copy the token.
- For trials, OP3 also publishes a shared preview token preview07ce, which can be used for public shows.
2. Find the show UUID
If you know the feed URL or podcast GUID, you can have the assistant run op3_get_show, which will return the UUID. You can also read the UUID from the show's OP3 stats page URL:https://op3.dev/show/{showUuid}。
3. Configure the MCP client
Add it to .mcp.json, or add it to claude_desktop_config.json.
4. Start asking questions
Ask the assistant, for example, with the feed URL, "Find my show on OP3," and then ask, "How many downloads did it get last month?"
Add the OP3 prefix (if OP3 is not already in use)
OP3 only has data when downloads go through its prefix. To get started:
- In your podcast hosting platform, add https://op3.dev/e/ in front of the episode audio URL. Many hosting platforms (Transistor, Buzzsprout, etc.) have a one-click OP3 toggle; look for an "OP3" or "analytics prefix" option in the hosting platform settings.
- New downloads will begin to be recorded. Historical downloads from before the prefix was added will not be backfilled.
- In https://op3.dev Find the show, and note its stats page URL, which contains the show UUID.
Use cases
- Let an AI assistant query a podcast's download trends, listener geography, and app distribution.
- Connect podcast analytics data into agent workflows for show operations and content decisions.
- Scenarios that require read-only, secure agent access to analytics data.
Limitations and caveats
- Geographic distribution is a computed sample, not an exact total. OP3 has no country-level aggregation endpoint; op3_top_countries pulls raw download records and counts them by country on the client side, so the result is representative rather than exact lifetime data. Raw records returned by OP3 are sorted oldest-first, so when no explicit start is passed, the tool defaults to the most recent 90 days (window_days); otherwise the sample would become the show's oldest downloads rather than recent listeners. Within the window, records are still sampled oldest-first, so on high-traffic shows the max_records sample skews toward the beginning of the window; the response includes sampleHitCap, which can be used to determine whether the number of records in the window exceeds the sample size. Increasing max_records (up to 20000) yields a larger, more representative sample, at the cost of speed and rate-limit headroom.
- There is no device breakdown tool. OP3's raw records include deviceType and deviceName, but there is no aggregated device query. Device information for each record can be viewed via op3_downloads_timeseries. App share is available and exposed via op3_top_apps.
- Top apps cover only the most recent three calendar months. This window is fixed by OP3 and is not configurable.
- Data starts when the prefix was added. OP3 cannot report downloads that never passed through its redirect.
- OP3's download queries exclude bots by default, which is usually the desired behavior.
- Rate limits are not publicly documented. Keep limit and max_records moderate. The server returns a clear error on HTTP 429.
- API failures map to a typed error hierarchy (the OP3APIError base class in src/errors.ts, plus the AuthError, RateLimitError, NotFoundError, ValidationError, and ServerError subclasses distinguished by HTTP status):
- AuthError (401/403) — OP3 token missing or invalid.
- RateLimitError (429) — too many requests to the OP3 API.
- NotFoundError (404) — the show, feed, or resource does not exist (or is not yet on OP3).
- ValidationError (400) — request parameters are malformed or invalid.
- ServerError (5xx) — a failure on the OP3 side; the specific status (500, 502, 503, etc.) is preserved in the message.
- OP3APIError — base class, used as a fallback for unmapped status codes or network failures.
- Each tool call failure still returns the same isError: true response structure; the typed hierarchy just makes the message specify why it went wrong, rather than a single generic "API error" string.
- Tests mock fetch and make no network calls.
Other information
Issues and pull requests are welcome. If the structure of an OP3 endpoint changes, or there is an aggregate query worth wrapping as a tool, you can submit an issue describing the need and its corresponding OP3 endpoint. Please keep the read-only contract: this server reports analytics data and does not change anything.
This project is built and maintained by Conor Bronsdon. He hosts the Chain of Thought podcast, covering AI infrastructure, developer tools, and how practitioners actually use them. He built this project to bring real listener analytics data into the agent workflows that run the show.
Companion tools:
- podcast-benchmark: benchmark your show against peers based on public signals. A public-data complement to the private OP3 analytics data here.
- Transistor MCP: the official MCP server for Transistor.fm. Episodes, publishing, and analytics.
- substack-mcp: read articles and manage drafts on Substack, safe for agent workflows.
- podcastindex-mcp: Podcast Index MCP server, search by person or topic, trending shows, feed health.
- ai-tools-for-creators: a curated list of AI skills and MCP servers for people who make a living from creativity.
More contentSee chainofthought.show and X.
This is an independent personal project, not affiliated with, sponsored by, or endorsed by any company. All views are the author's own.