Open Podcast Prefix Project (OP3) MCP Server
OP3 MCP server lets AI agents read podcast analytics from OP3: look up shows and pull download, listener-geography, app-share, and per-episode stats (read-only).
op3_get_show: Resolve a show UUID, podcast:guid, or base64-encoded feed URL to get the UUID, title, podcast GUID, and stats page URL; optionally list episodes.
op3_show_downloads: Get monthly downloads, a week-by-week breakdown, and average weekly downloads for a show.
op3_episode_downloads: Get per-episode download counts at 1/3/7/30 days and all-time, sorted by recency, all-time downloads, or 7-day downloads.
op3_top_apps: Get top podcast apps/players by download count and share over the last three calendar months.
op3_top_countries: Aggregate raw download records by country or region into a representative sample, with configurable time window and sample size.
op3_downloads_timeseries: Fetch raw download events (time, country, app, device) over a date range, optionally filtered by episode, for low-level analysis.
The server is read-only by design, and most tools need a show UUID obtained via op3_get_show.
op3-mcp
Podcast analytics for AI agents through OP3: downloads over time, listener geography, apps, and per-episode breakdowns. Read-only.
An MCP server for OP3, the Open Podcast Prefix Project. It gives AI assistants podcast analytics that most hosting APIs do not expose: downloads over time, listener geography, the apps people listen in, and per-episode breakdowns.
Read-only by design. OP3 is an analytics service. This server only reads data. It cannot change anything, so it is safe to give an agent.
Why this exists. Most podcast hosts expose almost nothing through their API. Transistor's API, for example, returns download counts and not much else: no geography, no app share, no per-episode recency curve. OP3 has all of that, because it logs each download at the redirect. This server puts that data in front of an agent.
What is OP3?
OP3 is a free, open analytics prefix for podcasts. You add https://op3.dev/e/ in front of your enclosure URLs, and OP3 logs each download before redirecting to your real audio file. It then reports downloads, geography, and app share. Stats pages are public; the API needs a token. See https://op3.dev for details.
If your feed does not use the OP3 prefix yet, OP3 has no data for it. See "Adding the OP3 prefix" below.
Related MCP server: Podcast Index MCP Server
Tools
Tool | What it returns | OP3 endpoint |
| Show UUID, title, podcast GUID, stats page URL, optional episode list |
|
| Monthly downloads, weekly breakdown, weekly average |
|
| Per-episode downloads at 1/3/7/30 days and all-time |
|
| Top apps/players by download share, last 3 calendar months |
|
| Top listener countries or regions (computed from raw records) |
|
| Raw download events over a date range (time, country, app, device) |
|
Most tools need a show UUID. Start with op3_get_show to turn a feed URL or podcast GUID into a UUID.
Every list tool takes a limit and defaults it low (10) to keep responses small. Agents pay tokens per response.
Setup
1. Get a token
Go to https://op3.dev and sign in.
Open your API token page and copy the token.
For trying things out, OP3 also publishes a shared preview token,
preview07ce, which works against public shows.
2. Find your show UUID
If you know your feed URL or podcast GUID, ask the assistant to run op3_get_show with it and it will return your UUID. You can also read the UUID from your show's OP3 stats page URL: https://op3.dev/show/{showUuid}.
3. Configure your MCP client
Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"op3": {
"command": "npx",
"args": ["-y", "@conorbronsdon/op3-mcp"],
"env": {
"OP3_API_TOKEN": "your-op3-token"
}
}
}
}Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"op3": {
"command": "npx",
"args": ["-y", "@conorbronsdon/op3-mcp"],
"env": {
"OP3_API_TOKEN": "your-op3-token"
}
}
}
}4. Verify
Ask your assistant: "Look up my show on OP3" with your feed URL, then "How many downloads did it get last month?"
Adding the OP3 prefix (if you are not on OP3 yet)
OP3 only has data once downloads route through its prefix. To start:
In your podcast host, prepend
https://op3.dev/e/to your episode audio URLs. Many hosts (Transistor, Buzzsprout, and others) have a one-click OP3 toggle. Check your host's settings for an "OP3" or "analytics prefix" option.New downloads will start being logged. Historical downloads from before you added the prefix are not backfilled.
Find your show on https://op3.dev and note its stats page URL, which contains your show UUID.
Limitations
Read these so you know what the numbers mean.
Geography is a computed sample, not an exact total. OP3 has no country-level aggregate endpoint.
op3_top_countriespulls raw download records and counts them by country on the client side. The result is representative, not a precise lifetime figure. OP3 returns raw records oldest-first, so the tool defaults to the last 90 days (window_days) when you do not pass an explicitstart— otherwise the sample would be the show's oldest downloads, not recent listeners. Within the window, records are still sampled oldest-first, so on a high-volume show amax_recordssample skews toward the start of the window; the response includessampleHitCapso you can tell when the window held more records than were sampled. Raisemax_records(cap 20000) for a larger, more representative sample at the cost of speed and rate-limit headroom.No device breakdown tool. OP3's raw records include a
deviceTypeanddeviceName, but there is no aggregate device query. You can see per-record device info viaop3_downloads_timeseries. App share is available and exposed throughop3_top_apps.Top apps covers the last three calendar months only. That window is fixed by OP3, not configurable.
Data starts when the prefix was added. OP3 cannot report on downloads that never went through its redirect.
Bots are excluded by default in OP3's download queries, which is usually what you want.
Rate limits are not publicly documented. Keep
limitandmax_recordsmodest. The server surfaces a clear error on HTTP 429.
Typed errors
API failures are mapped to a typed error hierarchy (OP3APIError base, with AuthError, RateLimitError, NotFoundError, ValidationError, and ServerError subclasses keyed off HTTP status) in src/errors.ts:
AuthError(401/403) — the OP3 token is missing or invalid.RateLimitError(429) — too many requests against the OP3 API.NotFoundError(404) — the show, feed, or resource doesn't exist (or isn't on OP3 yet).ValidationError(400) — a malformed or invalid request parameter.ServerError(5xx) — a failure on OP3's side; the specific status (500, 502, 503, ...) is preserved in the message.OP3APIError— the base class, used as a fallback for unmapped status codes or network failures.
Every tool call still returns the same isError: true response shape on failure — the typed hierarchy just makes the message specific to what went wrong instead of a single generic "API error" string.
Development
git clone https://github.com/conorbronsdon/op3-mcp.git
cd op3-mcp
npm install
npm run build
npm testRun locally:
OP3_API_TOKEN=your-token npm startTests mock fetch and make no network calls.
Contributing
Issues and pull requests are welcome. If an OP3 endpoint changes shape, or there is an aggregate query worth wrapping as a tool, open an issue describing what you want and the OP3 endpoint it maps to. Keep the read-only contract: this server reports analytics, it does not change anything.
About
Built and maintained by Conor Bronsdon. I host the Chain of Thought podcast, which covers AI infrastructure, developer tools, and how practitioners actually use this stuff. I built this to pull honest listener analytics into the agent workflows that run the show.
Companion tools:
podcast-benchmark: benchmark your show against peers on public signals. The public-data complement to your own private OP3 analytics here.
Transistor MCP: Transistor.fm's official MCP server. Episodes, publishing, and analytics.
substack-mcp: read posts and manage drafts on Substack, safe for agent workflows.
podcastindex-mcp: the 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 ship ideas for a living.
More at chainofthought.show and on X.
Disclaimer
This is an independent personal project, not affiliated with, sponsored by, or endorsed by any company. All views expressed are my own.
License
MIT
Available Tools
6 toolsop3_downloads_timeseriesA
Fetch raw download records for a show from OP3 over a date range. Returns individual download events (time, country, app, device). This is the low-level feed behind the other tools. Use it when you need to filter by episode or a specific date window. Keep limit low (records are verbose). For totals or geography summaries, prefer op3_show_downloads / op3_top_countries.
Inputs: show_uuid (required), end, limit, start, +1 more.
op3_episode_downloadsA
Get per-episode download counts for a show from OP3: for each recent episode, downloads in the first 1/3/7/30 days after publish and all-time. Good for comparing how episodes perform. Needs a show UUID. Use limit to cap how many episodes come back.
Inputs: show_uuid (required), limit, sort_by.
op3_get_showA
Look up a podcast show on OP3 and get its UUID, title, podcast GUID, and stats page URL. Pass a show UUID, a podcast:guid, or a base64-encoded feed URL. This is the entry point: most other tools need the show UUID this returns. Set include_episodes to also list episodes (id, title, pubdate).
Inputs: identifier (required), episode_limit, include_episodes.
op3_show_downloadsA
Get a show's recent download summary from OP3: monthly downloads, a week-by-week breakdown, and the average weekly downloads. Use this for 'how many downloads does my show get' questions. Needs a show UUID (from op3_get_show).
Inputs: show_uuid (required).
op3_top_appsA
Get the top podcast apps and players downloading a show, from OP3, over the last three calendar months. Returns each app with its download count and percent share. Answers 'what apps do my listeners use'. Needs a show UUID.
Inputs: show_uuid (required), limit.
op3_top_countriesA
Get the top listener countries (or regions) for a show. NOTE: OP3 has no native geography query, so this counts raw download records and aggregates by country client-side. It is a representative sample, not an exact lifetime total. OP3 returns raw records oldest-first, so to keep the sample recent this tool defaults to the last window_days days (90) when you do not pass an explicit start. Each result has a download count and percent share. Needs a show UUID. Keep max_records modest to stay fast and within rate limits.
Inputs: show_uuid (required), by, end, limit, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect of OP3 analytics: raw download records, per-episode counts, show lookup, download summary, top apps, and top countries. Descriptions clearly differentiate their purposes and guide the agent to choose the right one.
All tools start with 'op3_' and use snake_case, but there is a minor inconsistency: 'op3_get_show' uses a verb prefix while others use noun phrases (e.g., 'op3_show_downloads'). Overall, the pattern is clear and predictable.
With 6 tools, the server covers the essential queries for the Open Podcast Prefix Project without being overly numerous or sparse. Each tool serves a clear purpose and earns its place.
The tool set covers core podcast analytics needs: show discovery, raw data, per-episode stats, summary, app distribution, and geography. Missing features like user-agent breakdown or time-of-day analysis are minor; the set is well-scoped for its domain.
Maintenance
Related MCP Connectors
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Read-only MCP server for public WeJob jobs, formations, and companies.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server for the Seline Analytics API
Related MCP Servers
- AlicenseAqualityDmaintenanceRead-only MCP server for Umami analytics. It talks to the Umami REST API directly over HTTP, supporting self-hosted and cloud setups.88 npmMIT
- AlicenseAqualityBmaintenanceMCP server for the Podcast Index API — search podcasts, track appearances, monitor trending shows, check feed health1843 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMinimal MCP server for OpenPanel analytics, enabling queries for landing pages, page events, and tracked event names.94 npmMIT
- AlicenseAqualityDmaintenanceRead-only MCP server for querying ClickHouse (product telemetry) and Elasticsearch (download analytics), built for Percona VISTA.9Apache 2.0