reddit-mcp-server
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.
This project implements a Model Context Protocol (MCP) server that provides tools for interacting with the Reddit API.
The Reddit MCP Server is a specialized server designed to facilitate interactions with the Reddit API through the Model Context Protocol (MCP). It offers a suite of tools that allow users to perform various actions on Reddit, such as retrieving saved posts, searching for content, fetching comments, and replying to comments. The server leverages both the PRAW and redditwarp libraries to provide comprehensive access to Reddit's features. PRAW is used for general interactions like getting saved posts and searching Reddit, while redditwarp is utilized for fetching detailed post content, including comment trees. This dual-library approach ensures that users can access a wide range of Reddit functionalities efficiently. The server is configured to run with Python 3.12 or higher and requires Reddit API credentials for authentication. Once set up, users can easily integrate the server into their MCP client and utilize its tools to enhance their Reddit experience.
Features
- Get Saved Posts: Retrieve a list of saved Reddit posts for the authenticated user.
- Search Reddit: Search for posts across all of Reddit or within a specific subreddit.
- Get Comments: Fetch comments from a specific Reddit submission.
- Reply to Comment: Post a reply to an existing Reddit comment.
- Fetch Reddit Post Content: Fetch detailed content of a specific Reddit post, including a comment tree.
Tools
get_saved_posts
Fetches a list of saved Reddit posts for the authenticated user.
search_reddit
Searches Reddit for posts matching a given query.
get_comments
Fetches comments from a specific Reddit submission.
reply_to_comment
Replies to a specific Reddit comment.
fetch_reddit_post_content
Fetch detailed content of a specific post, including a recursive comment tree.