Overview
Search Reddit, read posts and comments, and manage your subreddit activity.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-redditConfiguration
REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET environment variablesDocumentation
Reddit MCP
Overview
The Reddit MCP server enables AI agents to search Reddit, read posts and comments, and interact with subreddit content. Useful for research, sentiment analysis, and staying informed on community discussions.
Features
- Search Reddit: Find posts by keyword or subreddit
- Read Posts: Get full post content and metadata
- Read Comments: Fetch comment threads
- Get Subreddit Info: Access subreddit details and stats
- List Hot/New: Browse trending content
Installation
npx -y @modelcontextprotocol/server-reddit
Configuration
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-reddit"],
"env": {
"REDDIT_CLIENT_ID": "your-client-id",
"REDDIT_CLIENT_SECRET": "your-client-secret"
}
}
}
}
Reddit App Setup
- Go to Reddit Apps
- Create a new "script" app
- Note the client ID and secret
- Set environment variables
Available Tools
| Tool | Description |
|---|---|
search_posts | Search posts by keyword |
get_post | Get a specific post |
get_comments | Get comments for a post |
get_subreddit | Get subreddit info |
get_hot_posts | Get hot posts from subreddit |
get_new_posts | Get new posts from subreddit |
Usage Examples
Research Topic
Search Reddit for posts about "AI agent frameworks" from the last week.
Get Subreddit Discussion
Show me the top 5 hot posts from r/LocalLLaMA right now.
Analyze Sentiment
Read the top 10 comments on this post and summarize the sentiment.
Pros
- ✅ Access to real community discussions
- ✅ Good for research and trend analysis
- ✅ Supports both authenticated and anonymous access
Cons
- ❌ Rate limits on unauthenticated requests
- ❌ Some subreddits may be restricted
- ❌ Content may be NSFW
