
OP3 MCP Server
io.github.conorbronsdon由 GitHub 账号 conorbronsdon 发布v0.2.0更新于 Oct 24, 2026
OP3 podcast analytics: downloads, geography, app share, episode breakdowns. Read-only.
概览
为助手提供只读的 OP3 播客分析:下载量趋势、听众地域、应用占比和单集数据。
- 可以做什么
- 把助手连接到 Open Podcast Prefix Project(OP3)分析 API。工具可用订阅源 URL、播客 GUID 或节目 UUID 查找节目,然后返回月度与周度下载量、单集在 1/3/7/30 天及全部的下载量、热门收听应用、热门听众国家,以及包含时间、国家、应用和设备的原始下载事件时间序列。所有工具均为只读。
- 适用场景
- 适合让助手回答播客受众相关问题:下载趋势、听众所在地、使用的应用,以及各单集表现,尤其在托管平台 API 只提供下载量时更有价值。前提是该节目已通过 OP3 前缀分发下载。
- 运行要求
- 通过 npx 从 npm 包 @conorbronsdon/op3-mcp 以 stdio 在本地运行,需要 Node.js 以及访问 OP3 API 的网络。需要 OP3 API 令牌,通过环境变量 OP3_API_TOKEN 提供;官方还发布了一个共享预览令牌,可用于公开节目。多数工具需要节目 UUID,可由订阅源 URL 或播客 GUID 获取。
安装
在 SourceWeft 中
- 打开 控制台中的 OP3 MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
op3-mcp
Podcast analytics for AI agents through OP3: downloads over time, listener geography, apps, and per-episode breakdowns. Read-only.
[License: MIT] [npm version] [Node] [Podcast] [X]
[Demo: an agent calls the op3_show_downloads tool and gets monthly and weekly download counts back (sample data)]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.
[op3-mcp MCP server]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.
Tools
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:
Claude Desktop
Add to your claude_desktop_config.json:
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
Run locally:
Tests 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
来源:README.md,提交 cfe6314
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
