Reddit MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Reddit MCP ServerShow me hot posts from r/programming"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Reddit MCP Server
A Model Context Protocol (MCP) server for accessing Reddit content directly in Claude. No API keys required - works with anonymous Reddit access!
Features
Get hot, new, top, and rising posts from any subreddit
Fetch subreddit information
Get detailed post content with comments
Full comment tree traversal
Support for all post types (text, links, galleries)
Related MCP server: Reddit MCP Server
Installation
Ensure you have Python 3.11+ installed
Clone or download this repository
Update your Claude Desktop config at
~/.claude_desktop_config.json:
{
"mcpServers": {
"reddit": {
"command": "uv",
"args": ["run", "--with-requirements", "requirements.txt", "python3", "/path/to/mcp-reddit/main.py"],
"cwd": "/path/to/mcp-reddit"
}
}
}Replace /path/to/mcp-reddit with your actual path.
Restart Claude Desktop
That's it! No authentication needed.
Available Tools
get_frontpage_posts
Get hot posts from Reddit's frontpage
limit (int, default: 10): Number of posts to fetch
get_subreddit_info
Get information about a subreddit
subreddit_name (string, required): Name of the subreddit (e.g., "python")
get_subreddit_hot_posts
Get hot posts from a specific subreddit
subreddit_name (string, required): Name of the subreddit
limit (int, default: 10): Number of posts
get_subreddit_new_posts
Get newest posts from a subreddit
subreddit_name (string, required)
limit (int, default: 10)
get_subreddit_top_posts
Get top posts from a subreddit (filtered by time period)
subreddit_name (string, required)
limit (int, default: 10)
time (string, default: ""): hour, day, week, month, year, or all
get_subreddit_rising_posts
Get rising posts from a subreddit
subreddit_name (string, required)
limit (int, default: 10)
get_post_content
Get detailed content of a specific post with comments
post_id (string, required): Reddit post ID
comment_limit (int, default: 10): Number of top comments
comment_depth (int, default: 3): How deep to traverse comment threads
get_post_comments
Get comments from a post
post_id (string, required)
limit (int, default: 10)
Usage Examples
Once configured in Claude Desktop, you can ask:
"Show me the top 5 posts from r/python"
"What are the latest trends in r/learnprogramming"
"Get the hot posts from r/news"
"Show me rising posts in r/programming"
"Give me information about r/AskReddit"
Requirements
Python 3.11+
mcp(Model Context Protocol)pydanticredditwarp(for Reddit access)
Install via requirements.txt - uv will handle this automatically.
How It Works
This MCP uses redditwarp to access Reddit's public JSON API anonymously. No authentication credentials are needed - it works just like visiting reddit.com in a browser.
Architecture
Built with the official MCP framework
Uses synchronous (
SYNC) client for simplicityReturns structured data via Pydantic models
Supports comment tree traversal for detailed discussions
Troubleshooting
"MCP server failed to start"
Make sure Python 3.11+ is installed
Verify
uvis installed:uv --versionCheck that the path in the config is correct
No posts returned
Verify the subreddit name is correct (Reddit subreddits are case-insensitive in the API)
Check your internet connection
Reddit may have rate limits - wait a moment and try again
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.
Read-only Reddit search API for AI agents: posts, comments, comment trees, subreddit rules.
Reddit data for AI agents: posts, comments, subreddits, search. Community + sentiment research.
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables searching Reddit posts, fetching subreddit content, and retrieving post comments without requiring an API key. It uses public JSON endpoints to provide seamless access to Reddit data for LLM-based applications.0MIT
- AlicenseAqualityDmaintenanceEnables Claude to search Reddit posts, monitor subreddits, read comments, and scan multiple communities for keyword matches via structured tools.42,269 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables reading public Reddit posts and comments on demand, with tools to search, get recent posts, post details, top comments, and server status. Runs on Cloudflare Workers for use with Claude and Open WebUI.MIT
- FlicenseNot gradedqualityCmaintenanceEnables searching Reddit, finding subreddits, reading threads and comments via Atom feeds for research in Claude Desktop.-