Skip to main content
Glama
Reddit MCP

Reddit MCP


✨ What is Reddit MCP?

Reddit MCP is a plug-and-play MCP server that allows Claude Desktop to interact directly with Reddit.

Your AI can:

  • Explore subreddits

  • Search discussions and opinions

  • Fetch full comment threads

  • Analyze Reddit users

  • Detect trends and sentiment in real time

No scraping. No setup friction. Works instantly.


Related MCP server: Reddit MCP Server

🎬 Quick Demo

https://github.com/user-attachments/assets/7cccd617-12f1-4ffc-966f-34415adb5dd6

πŸ’‘ Ask Claude: "What's trending on r/programming today?"


πŸš€ Quick Start (30 seconds)

  1. Install uv if you don't have it:

    macOS / Linux

    curl -LsSf https://astral.sh/uv/install.sh | sh
    sudo ln -sf ~/.local/bin/uv /usr/local/bin/uv

    Windows

    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
  2. Download the MCP bundle
    πŸ‘‰ reddit-mcp.mcpb

  3. Double-click the .mcpb file β€” Claude Desktop installs it automatically.

  4. Open Claude Desktop and start asking Reddit questions.

That's it!


πŸ”₯ Key Features

Feature

Description

πŸ” Browse Subreddits

View posts from any subreddit with hot, new, top, or rising sorting

πŸ”Ž Search Reddit

Search globally or within specific communities

πŸ“„ Post Details

Fetch full post content with deeply threaded comments

πŸ‘€ User Analysis

Analyze a Reddit user's karma, activity patterns, and top subreddits

πŸ”“ Anonymous Mode

No API keys required. Works out of the box

⚑ Optional OAuth

Add Reddit credentials for higher rate limits and stability


Download and install directly in Claude Desktop:

Supports: macOS β€’ Windows β€’ Linux


πŸ› οΈ Manual Installation

Add the server to claude_desktop_config.json:

{
  "mcpServers": {
    "reddit-mcp": {
      "command": "/usr/local/bin/uv",
      "args": ["run", "main.py"],
      "cwd": "/path/to/reddit-mcp"
    }
  }
}

Restart Claude Desktop after saving.


πŸ€– ChatGPT Integration

Connect Reddit MCP to ChatGPT using the public SSE endpoint.

Use the pre-hosted server URL:

https://reddit-mcp-production-79ca.up.railway.app/sse

Or Self-Host with ngrok

  1. Run the server with SSE enabled:

    SERVE_HTTPS=true uv run main.py
  2. Expose it publicly:

    ngrok http 8000
  3. Use your ngrok URL: https://your-subdomain.ngrok.io/sse

Setup in ChatGPT

  1. Go to Settings β†’ Apps & Connectors

  2. Scroll down to Advanced settings and click Create app

  3. Enable Developer mode (toggle ON)

  4. Click Create App and fill in:

    • Icon: Upload the Reddit MCP logo (optional)

    • Name: Reddit MCP

    • Description: Browse, search, and analyze Reddit

    • MCP Server URL: https://reddit-mcp-production-79ca.up.railway.app/sse

    • Authentication: Select No Auth

  5. Check "I understand and want to continue"

  6. Click Create

Your Reddit MCP connector will appear in the enabled apps list. Start using it!


πŸ” Authentication (Optional)

Anonymous access works, but OAuth unlocks higher limits.

Mode

Rate Limit

Setup Required

Anonymous

~10 req/min

None

OAuth

~60 req/min

Client ID + Secret

How to enable OAuth

  1. Go to reddit.com/prefs/apps

  2. Click Create another app

  3. Select script

  4. Copy your Client ID and Client Secret

  5. Enter them when prompted during MCP setup

No tokens are stored remotely.


🧰 Available MCP Tools

Tool

Description

browse_subreddit

Browse posts from any subreddit

search_reddit

Search Reddit posts by keyword

get_post_details

Fetch full post content and comments

user_analysis

Analyze Reddit user activity and karma


πŸ’¬ Example Queries

Trending & Discovery

  • "What's trending across all of Reddit today?"

  • "Show me the hottest discussions in r/technology"

Search & Opinions

  • "What are people saying about GPT-4?"

  • "Find discussions about remote work in r/cscareerquestions"

Post & Comment Analysis

  • "Get the full discussion from this Reddit post"

  • "Summarize the top comments on post abc123"

User Analysis

  • "Analyze the Reddit user spez"

  • "What subreddits does u/DeepFuckingValue post in?"


πŸ“ Project Structure

reddit-mcp/
β”œβ”€β”€ main.py           # MCP server entry point
β”œβ”€β”€ reddit/
β”‚   └── api.py        # Reddit API client (OAuth + anonymous)
β”œβ”€β”€ manifest.json     # MCP bundle metadata
β”œβ”€β”€ pyproject.toml    # Python dependencies
└── README.md

🀝 Contributing

Contributions are welcome!

  1. Fork the repository

  2. Create a feature branch

  3. Commit your changes

  4. Open a Pull Request

Ideas: caching, sentiment analysis, topic clustering, summaries.


πŸ“„ License

Licensed under the MIT License.


Available Tools

4 tools
browse_subredditA

Browse a subreddit.

Args:
    subreddit: Subreddit to browse (e.g., 'python', 'programming')
    sort: Sort order - 'hot', 'new', 'top', 'rising' (default: hot)
    limit: Number of posts to return, max 100 (default: 25)
    after: Cursor for pagination from previous response (default: None)
    time_filter: Time filter for 'top' sort - 'hour', 'day', 'week', 'month', 'year', 'all' (default: None)

Inputs: subreddit (required), sort, after, limit, +1 more.

get_post_detailsB

Get full details of a Reddit post including comments.

Args:
    post_id: The Reddit post ID (e.g., '1abc23d')
    max_comments: Maximum number of comments to return (default: 100)

Inputs: post_id (required), max_comments.

search_redditB

Search Reddit for posts.

Args:
    query: Search query string
    subreddit: Limit search to specific subreddit (default: search all of Reddit)
    sort: Sort order - 'relevance', 'hot', 'top', 'new', 'comments' (default: relevance)
    limit: Number of posts to return, max 100 (default: 25)

Inputs: query (required), sort, limit, subreddit.

user_analysisB

Analyze a Reddit user's activity and statistics.

Args:
    username: Reddit username to analyze (without u/ prefix)
    limit: Number of recent posts/comments to analyze (default: 50)

Inputs: username (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct action/resource: browsing a subreddit feed, searching posts, fetching post details/comments, and analyzing a user. The browse-vs-search overlap is resolved by descriptions (sort-based browsing vs query-based search), so selection is unambiguous.

    Naming Consistency4/5

    Three tools follow a verb_noun pattern (browse_subreddit, search_reddit, get_post_details). user_analysis is a noun phrase rather than a verb, a minor deviation, but overall naming is predictable and readable.

    Tool Count5/5

    Four tools are well-scoped for a read-only Reddit browsing/search/analysis server. Each tool has a clear purpose and no redundant tools inflate the surface.

    Completeness3/5

    Core reading workflows are covered, but notable gaps exist: no direct listing of a user's posts/comments, no subreddit metadata/rules retrieval, and no comment-specific endpoint beyond post details. Write operations (post, comment, vote) are absent, which may be intentional but limits the surface if the server is meant to be general-purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.
      10
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables Claude to search Reddit posts, monitor subreddits, read comments, and scan multiple communities for keyword matches via structured tools.
      4
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables reading public Reddit posts and comments on demand, with tools to search, get recent posts, post details, top comments, and server status. Runs on Cloudflare Workers for use with Claude and Open WebUI.
      MIT