reddit-mcp
Reddit MCP
Documentation
Reddit MCP
A plug-and-play MCP server to browse, search, and read Reddit.
Demo
Here's a short video showing how to use this in Claude Desktop:
https://github.com/user-attachments/assets/a2e9f2dd-a9ac-453f-acd9-1791380ebdad
Features
- Detailed parameter validation with pydantic
- Uses the reliable PRAW library under the hood
- Built-in rate limiting protection thanks to PRAW
Caveats
- 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.
Installation
Prerequisite: Reddit API credentials
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.
Claude Desktop
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": "",
"REDDIT_CLIENT_SECRET": ""
}
}
}Using PIP
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": "",
"REDDIT_CLIENT_SECRET": ""
}
}
}Others
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.
Tools
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 |
Contributing
Contributions are welcome! See CONTRIBUTING.md for more information.
Acknowledgments
- PRAW for an amazingly reliable library ๐
Frequently asked questions
What is reddit-mcp?
reddit-mcp is Reddit MCP
How do I install reddit-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is reddit-mcp open source?
Yes โ it is hosted on GitHub at https://github.com/GridfireAI/reddit-mcp and has 18 stars.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP