Reddit MCP
即插即用的MCP服务器,用于浏览、搜索和阅读 Reddit。
演示
以下是一段简短的视频,展示了如何在 Claude Desktop 中使用它:
https://github.com/user-attachments/assets/a2e9f2dd-a9ac-453f-acd9-1791380ebdad
特征
注意事项
- 目前仅支持读取功能。如果您想使用写入功能,请点赞此问题或发送 PR !🙌
- 工具使用代币。要使用 Claude 的此功能,您可能需要成为专业用户才能使用许多工具调用。免费套餐用户只需少量使用即可。代币的使用由您自行负责。
安装
先决条件:Reddit API 凭证
如果您还没有开发者应用,请在您的 Reddit 帐户中创建一个。这将为您提供一个client_id
和client_secret
以便在后续步骤中使用。如果您已经拥有这些,则可以跳过此步骤。
克劳德桌面
要安装到 Claude Desktop:
- 按照此处的说明进行操作,直到“在任何文本编辑器中打开配置文件”部分。
- 根据您的首选安装方法将以下内容添加到文件中:
使用uvx (推荐)
使用 PIP
首先安装包:
然后在配置文件中添加以下内容:
其他的
您可以将此服务器与任何MCP 客户端一起使用,包括代理框架(LangChain、LlamaIndex、AutoGen 等)。有关 AutoGen 集成的示例,请查看示例。
工具
服务器将公开的工具是:
姓名 | 描述 |
---|---|
get_comment | 访问评论 |
get_comments_by_submission | 访问提交的评论 |
get_submission | 访问提交 |
get_subreddit | 通过名称访问 subreddit |
search_posts | 搜索 subreddit 中的帖子 |
search_subreddits | 按名称或描述搜索 subreddits |
贡献
欢迎贡献!更多信息请参阅CONTRIBUTING.md 。
致谢
- PRAW是一个极其可靠的库 💙
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
即插即用的 MCP 服务器,使 AI 助手能够通过 PRAW 库浏览、搜索和阅读 Reddit 内容。
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.Last updated -1PythonApache 2.0
- -securityFlicense-qualityA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.Last updated -715TypeScript
- -securityFlicense-qualityAn MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.Last updated -1Python
- -securityAlicense-qualityAn MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.Last updated -505PythonMIT License