MCP Server Reddit
A Model Context Protocol server providing access to Reddit public API for LLMs. This server enables LLMs to interact with Redditβs content, including browsing frontpage posts, accessing subreddit information, and reading post comments.
This server uses redditwarpβ to interact with Redditβs public API and exposes the functionality through MCP protocol.
Video Demo (Click to Watch)
A demo in ClaudeMind π
Available Tools
-
get_frontpage_posts
- Get hot posts from Reddit frontpage- Optional arguments:
limit
(integer): Number of posts to return (default: 10, range: 1-100)
- Optional arguments:
-
get_subreddit_info
- Get information about a subreddit- Required arguments:
subreddit_name
(string): Name of the subreddit (e.g. βPythonβ, βnewsβ)
- Required arguments:
-
get_subreddit_hot_posts
- Get hot posts from a specific subreddit- Required arguments:
subreddit_name
(string): Name of the subreddit (e.g. βPythonβ, βnewsβ)
- Optional arguments:
limit
(integer): Number of posts to return (default: 10, range: 1-100)
- Required arguments:
-
get_subreddit_new_posts
- Get new posts from a specific subreddit- Required arguments:
subreddit_name
(string): Name of the subreddit (e.g. βPythonβ, βnewsβ)
- Optional arguments:
limit
(integer): Number of posts to return (default: 10, range: 1-100)
- Required arguments:
-
get_subreddit_top_posts
- Get top posts from a specific subreddit- Required arguments:
subreddit_name
(string): Name of the subreddit (e.g. βPythonβ, βnewsβ)
- Optional arguments:
limit
(integer): Number of posts to return (default: 10, range: 1-100)time
(string): Time filter for top posts (default: β, options: βhourβ, βdayβ, βweekβ, βmonthβ, βyearβ, βallβ)
- Required arguments:
-
get_subreddit_rising_posts
- Get rising posts from a specific subreddit- Required arguments:
subreddit_name
(string): Name of the subreddit (e.g. βPythonβ, βnewsβ)
- Optional arguments:
limit
(integer): Number of posts to return (default: 10, range: 1-100)
- Required arguments:
-
get_post_content
- Get detailed content of a specific post- Required arguments:
post_id
(string): ID of the post
- Optional arguments:
comment_limit
(integer): Number of top-level comments to return (default: 10, range: 1-100)comment_depth
(integer): Maximum depth of comment tree (default: 3, range: 1-10)
- Required arguments:
-
get_post_comments
- Get comments from a post- Required arguments:
post_id
(string): ID of the post
- Optional arguments:
limit
(integer): Number of comments to return (default: 10, range: 1-100)
- Required arguments:
Installation
Using ClaudeMindβ (recommended)
The easiest way to use MCP Server Reddit is through the ClaudeMind desktop app. Simply download and install ClaudeMind, then:
- Open the ClaudeMind app
- Navigate to the Servers page
- Find mcp-server-reddit and click Install
Thatβs it! No technical knowledge required - ClaudeMind handles all the installation and configuration for you seamlessly.
Using uv (recommended)
When using uv
no specific installation is needed. We will
use uvx
to directly run mcp-server-reddit.
Using PIP
Alternatively you can install mcp-server-reddit
via pip:
pip install mcp-server-reddit
After installation, you can run it as a script using:
python -m mcp_server_reddit
Installing via Smithery
To install MCP Server Reddit for Claude Desktop automatically via Smitheryβ:
npx -y @smithery/cli install @Hawstein/mcp-server-reddit --client claude
Configuration
Configure for Claude.app
Add to your Claude settings:
Using uvx
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["mcp-server-reddit"]
}
}
Using pip installation
"mcpServers": {
"reddit": {
"command": "python",
"args": ["-m", "mcp_server_reddit"]
}
}
Configure for Zed
Add to your Zed settings.json:
Using uvx
"context_servers": [
"mcp-server-reddit": {
"command": "uvx",
"args": ["mcp-server-reddit"]
}
],
Using pip installation
"context_servers": {
"mcp-server-reddit": {
"command": "python",
"args": ["-m", "mcp_server_reddit"]
}
},
Examples of Questions
- βWhat are the current hot posts on Redditβs frontpage?β (get_frontpage_posts)
- βTell me about the r/ClaudeAI subredditβ (get_subreddit_info)
- βWhat are the hot posts in the r/ClaudeAI subreddit?β (get_subreddit_hot_posts)
- βShow me the newest posts from r/ClaudeAIβ (get_subreddit_new_posts)
- βWhat are the top posts of all time in r/ClaudeAI?β (get_subreddit_top_posts)
- βWhat posts are trending in r/ClaudeAI right now?β (get_subreddit_rising_posts)
- βGet the full content and comments of this Reddit post: [post_url]β (get_post_content)
- βSummarize the comments on this Reddit post: [post_url]β (get_post_comments)
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx mcp-server-reddit
Or if youβve installed the package in a specific directory or are developing on it:
cd path/to/mcp_server_reddit
npx @modelcontextprotocol/inspector uv run mcp-server-reddit
License
mcp-server-reddit is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.