播客索引MCP服务器
将Claude连接到播客指数API。搜索播客,跟踪外观,监控趋势。
](https://github.com/conorbronsdon/podcastindex-mcp/stargazers)  ](https://www.npmjs.com/package/podcastindex-mcp)  
______________________________________________________________________
先决条件
- Node.js 18+
- 免费播客索引API证书-请访问 api.podcastindex.org
安装
git clone https://github.com/conorbronsdon/podcastindex-mcp.git
cd podcastindex-mcp
npm install
npm run build配置
克劳德桌面
添加到您的Claude桌面配置(claude_desktop_config.json):
{
"mcpServers": {
"podcastindex": {
"command": "node",
"args": ["/path/to/podcastindex-mcp/build/index.js"],
"env": {
"PODCASTINDEX_API_KEY": "your-api-key",
"PODCASTINDEX_API_SECRET": "your-api-secret"
}
}
}
}克劳德代码
添加到您的项目 .mcp.json:
{
"mcpServers": {
"podcastindex": {
"command": "node",
"args": ["/path/to/podcastindex-mcp/build/index.js"],
"env": {
"PODCASTINDEX_API_KEY": "your-api-key",
"PODCASTINDEX_API_SECRET": "your-api-secret"
}
}
}
}工具
| 工具 | 说明 |
|---|---|
search_by_person | 搜索某人作为主持人或嘉宾出现的剧集。返回所有索引播客中的匹配项。 |
search_by_term | 按主题、节目名称或关键字在所有播客中进行全文搜索。 |
podcast_by_feed_url | 通过RSS提要URL查找播客。返回提要ID、iTunes ID、类别、上次更新和提要运行状况。 |
podcast_by_feed_id | 通过播客索引提要ID查找播客。返回完整的元数据。 |
trending_podcasts | 使用可选的语言和类别过滤器获取当前流行的播客。 |
episodes_by_feed_id | 通过订阅源ID获取特定播客的剧集 |
recent_episodes | 获取整个索引中最近发布的剧集。 |
categories_list | 获取播客索引类别及其ID的完整列表。 |
示例提示
配置后,您可以向Claude询问以下问题:
- “搜索播客索引,查找所有以萨蒂亚·纳德拉为嘉宾的剧集”
- “现在流行的科技播客是什么?”
- “查看饲料健康状况https://feeds.transistor.fm/chain-of-thought并列出最后5集”
发展
构建项目:
npm run build注意开发过程中的变化:
npm run watch添加新工具
- 将API方法添加到
src/api-client.ts - 将类型保护和参数类型添加到
src/types.ts - 将工具定义和处理程序添加到
src/tool-handlers.ts - 重建与
npm run build
______________________________________________________________________
免责声明
*就此发表的所有观点、意见和声明都是我自己的,是以个人身份作出的。它们不反映,也不应被解释为反映Modular的观点、立场或政策。此帐户与Modular没有任何关联、授权或背书。*
许可证
麻省理工学院
