一个通过网络爬虫发现播客的MCP(模型上下文协议)服务器。PodCrawlerMCP允许AI助手通过爬取网络上的RSS源来查找特定主题的播客集。
pip install podcrawler-mcp
或者使用Poetry:
poetry add podcrawler-mcp
直接运行服务器:
python -m podcrawler.server
或者在你的Python代码中:
from podcrawler import PodCrawlerServer
server = PodCrawlerServer()
server.run()
添加到你的Claude Desktop配置:
{
"mcpServers": {
"podcrawler": {
"command": "python",
"args": ["-m", "podcrawler.server"]
}
}
}
发现特定主题的播客。
参数:
topic (字符串):要搜索的主题(例如,“科技”,“历史”)max_results (整数,可选):返回结果的最大数量(默认:110)示例用法:
有哪些关于黑洞的科学播客?
podcrawler-mcp/
├── podcrawler/ # 主包
│ ├── __init__.py # 包初始化
│ ├── server.py # MCP服务器实现
│ ├── tools/ # MCP工具
│ │ ├── __init__.py
│ │ └── discovery.py # 播客发现工具
│ ├── crawler/ # 网络爬虫组件
│ │ ├── __init__.py
│ │ ├── spider.py # 网络爬虫实现
│ │ └── parser.py # RSS源解析器
│ └── utils/ # 工具函数
│ ├── __init__.py
│ ├── filtering.py # 主题过滤工具
│ └── formatting.py # 输出格式化工具
├── tests/ # 测试
│ ├── __init__.py
│ └── test_server.py # 服务器测试
├── examples/ # 使用示例
│ └── basic_discovery.py # 基本发现示例
├── pyproject.toml # 项目配置
├── README.md # 项目文档
├── LICENSE # MIT许可证
└── CONTRIBUTING.md # 贡献指南
克隆仓库
git clone https://github.com/infinitimeless/podcrawler-mcp.git
cd podcrawler-mcp
使用Poetry安装依赖
poetry install
运行测试
poetry run pytest
欢迎贡献!请参阅CONTRIBUTING.md了解详情。
本项目采用MIT许可证 - 详情见LICENSE文件。