mcp-reddit
A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.
claude mcp add --transport stdio adhikasp-mcp-reddit uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
How to use
The MCP Reddit Server provides tools to fetch and analyze Reddit content. It exposes capabilities to retrieve hot threads from any subreddit and to obtain detailed post content including associated comments, with support for multiple post types such as text, links, and galleries. You can interact with it using an MCP client (for example, mcp-client-cli) to request data from specific subreddits and then drill into individual posts or discussions as needed. The server is designed to be simple to invoke: you specify a subreddit to fetch hot threads, and the tool returns structured results you can feed into downstream workflows or prompts.
Usage typically involves calling the fetch_hot_threads tool with a subreddit argument to gather the latest popular discussions. You can then request detailed post content for particular threads to surface post body, images, and top comments. This is particularly useful for analysis, summarization, or content curation tasks where you need a concise view of what’s trending in a community such as r/victoria3, along with notable discussion points and user engagement signals.
How to install
Prerequisites
- Git installed
- Python 3.8+ and uvx installed (as used by this MCP server's manual installation)
- Access to the internet to fetch the repository
Installation steps
-
Ensure you have uvx available. If not, install it following your environment's guidelines (e.g., pipx or your preferred Python package manager).
-
Install the MCP Reddit server manually from Git:
uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
-
Verify installation by listing available MCP servers or running a quick test command against the server configuration.
-
If needed, configure environment variables for Reddit access or rate-limiting preferences in the provided env block (currently empty in the config).
Optional: If you are integrating with Smithery for automated deployment, you can use the Smithery install command shown in the README to install the Reddit content adapter for Claude Desktop.
Note: The manual installation example uses uvx and a git-based source; adapt commands if your environment uses a different MCP runner or containerized deployment.
Additional notes
Tips and considerations:
- Rate limits: Reddit API rate limits may affect fetch_hot_threads performance. If you encounter throttling, implement backoff or staggered requests.
- Post types: Ensure your downstream tooling can handle mixed post types (text, link, gallery). Some galleries may require additional processing to extract media URLs.
- Subreddit targeting: The fetch_hot_threads tool expects a subreddit name. Validate subreddit availability and permissions before requesting data.
- Debugging: If results are empty or incomplete, verify network access, the git URL, and that uvx is correctly discovering the mcp-reddit module (check the module path and entry points).
- Environment variables: If future enhancements add API keys or rate-limit configurations, you can populate the env object in mcp_config accordingly.
Related MCP Servers
mcp-agent
Build effective agents using Model Context Protocol and simple workflow patterns
nerve
The Simple Agent Development Kit.
prometheus
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
mcp-ical
A Model Context Protocol Server that allows you to interact with your MacOS Calendar through natural language.
mcp-twikit
A Model Context Protocol (MCP) server for interacting with Twitter.
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.