rgthelen/reddit-mcp-server
3.2
If you are the rightful owner of reddit-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for Reddit integration, allowing Claude to interact with Reddit content.
Tools
10
Resources
0
Prompts
0
Reddit MCP Server
Note: This is a fork of alexandros-lekkas/reddit-mcp-server with enhancements for better compatibility and additional features.
A Model Context Protocol (MCP) server for Reddit integration, allowing Claude to browse subreddits, create posts, comment, and manage Reddit content.
Features
- Browse Subreddits: Get top posts from any subreddit
- Post Management: Create, edit, and delete posts
- Comment System: Reply to posts and manage comments
- User Information: Get user and subreddit details
- Trending Content: Discover trending subreddits
Prerequisites
- Node.js 18+
- Reddit account and API credentials
- Claude Desktop App
Installation
- Clone this repository:
git clone https://github.com/rgthelen/reddit-mcp-server.git
cd reddit-mcp-server
- Install dependencies:
npm install
-
Set up Reddit API credentials:
- Go to Reddit App Preferences
- Click "Create App" or "Create Another App"
- Choose "script" for the app type
- Copy the client ID and client secret
-
Configure environment variables:
cp .env.example .env
# Edit .env with your Reddit credentials
- Build the project:
npm run build
Configuration
See for detailed Claude Desktop setup instructions.
Available Tools
test_reddit_mcp_server
- Test the Reddit connectionget_reddit_post
- Get details of a specific Reddit postget_top_posts
- Get top posts from a subredditget_user_info
- Get information about a Reddit userget_subreddit_info
- Get information about a subredditget_trending_subreddits
- Get trending subredditscreate_post
- Create a new Reddit postreply_to_post
- Reply to a Reddit postedit_post
- Edit your Reddit postedit_comment
- Edit your Reddit comment
Usage Examples
With Claude Desktop configured, you can ask Claude:
- "Show me the top posts from r/programming"
- "Create a post in r/MachineLearning about Claude"
- "Reply to this Reddit post with my thoughts"
- "What are the trending subreddits today?"
Credits
- Original project by alexandros-lekkas
- Enhanced by rgthelen for better Claude Desktop compatibility
License
MIT