Other MCP Server · MODEL CONTEXT PROTOCOL
GridfireAI reddit mcp
GridfireAI reddit mcp is a community-listed Model Context Protocol server. Review the source repository before installation.
连接能力
GridfireAI reddit mcp 为 AI Agent 提供什么
- Detailed parameter validation with [pydantic](https://docs.pydantic.dev)
- Uses the reliable [PRAW](https://praw.readthedocs.io/) library under the hood
- Built-in rate limiting protection thanks to PRAW
- Only supports read features for now. If you want to use write features, upvote the [issue](https://github.com/GridfireAI/reddit-mcp/issues/1) or [send a PR](CONTRIBUTING.md)! 🙌
- Tools use tokens. To use this with Claude, you may need to be a Pro user to use many tool calls. Free tier users should be fine with lighter tool usage. Your token usage is your responsibility.
- Follow the instructions [here](https://modelcontextprotocol.io/quickstart/user) until the section "Open up the configuration file in any text editor."
- Add the following to the file depending on your preferred installation method:
- [PRAW](https://praw.readthedocs.io/) for an amazingly reliable library 💙
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A plug-and-play MCP server to browse, search, and read Reddit.
Here's a short video showing how to use this in Claude Desktop:
Claude.Desktop.Demo.mp4
- Detailed parameter validation with pydantic
- Uses the reliable PRAW library under the hood
- Built-in rate limiting protection thanks to PRAW
- Only supports read features for now. If you want to use write features, upvote the issue or send a PR! 🙌
- Tools use tokens. To use this with Claude, you may need to be a Pro user to use many tool calls. Free tier users should be fine with lighter tool usage. Your token usage is your responsibility.
Create a developer app in your Reddit account if you don't already have one. This will give you a client_id and client_secret to use in the following steps. If you already have these, you can skip this step.
To install into Claude Desktop:
- Follow the instructions here until the section "Open up the configuration file in any text editor."
- Add the following to the file depending on your preferred installation method:
Using uvx (recommended)
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["reddit-mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}First install the package:
pip install reddit-mcpThen add the following to the configuration file:
"mcpServers": {
"reddit": {
"command": "python",
"args": ["-m", "reddit_mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}You can use this server with any MCP client, including agent frameworks (LangChain, LlamaIndex, AutoGen, etc). For an example AutoGen integration, check out the example.
The tools the server will expose are:
| Name | Description |
|---|---|
get_comment |
Access a comment |
get_comments_by_submission |
Access comments of a submission |
get_submission |
Access a submission |
get_subreddit |
Access a subreddit by name |
search_posts |
Search posts in a subreddit |
search_subreddits |
Search subreddits by name or description |
Contributions are welcome! See CONTRIBUTING.md for more information.
- PRAW for an amazingly reliable library 💙
社区