Reddit MCP
A server to browse, search, and read content on Reddit using the Reddit API.
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": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}
Using PIP
First install the package:
pip install reddit-mcp
Then 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>"
}
}
}
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 💙
Máy chủ liên quan
Bright Data
nhà tài trợDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
WebSearch
An advanced web search and content extraction tool powered by the Firecrawl API for web scraping and analysis.
Conduit
Headless browser with SHA-256 hash-chained audit trails and Ed25519-signed proof bundles. MCP server for AI agents.
Tech Collector MCP
Collects and summarizes technical articles from sources like Qiita, Dev.to, NewsAPI, and Hacker News using the Gemini API.
Open Crawler MCP Server
A web crawler and content extractor that supports multiple output formats like text, markdown, and JSON.
GasBuddy MCP Price Tracker
MCP server to get the cheapest gas prices in a particular city or zip code from gasbuddy.com
MCP Chrome Integration
Control the Chrome browser for web automation using an AI model. Requires the MCP Chrome extension.
Webclaw
Web content extraction for LLM pipelines — clean markdown or structured JSON from any URL using browser-grade TLS fingerprinting, no headless browser required. CLI, REST API, and MCP server.
Outscraper
Access Outscraper's data extraction services for business intelligence, location data, reviews, and contact information from various online platforms.
Skyvern
AI-powered browser automation MCP server — navigate sites, fill forms, extract data, and handle logins via Claude Code CLI
MCP Node Fetch
Fetch web content using the Node.js undici library.