Get the FREE Ultimate OpenClaw Setup Guide →

mcp-reddit

A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
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

  1. Ensure you have uvx available. If not, install it following your environment's guidelines (e.g., pipx or your preferred Python package manager).

  2. Install the MCP Reddit server manually from Git:

    uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit

  3. Verify installation by listing available MCP servers or running a quick test command against the server configuration.

  4. 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

Sponsor this space

Reach thousands of developers