PluginBench
MCP Server
Active
MIT

io.github.jordanburke/reddit-mcp-server MCP Server

io.github.jordanburke/reddit-mcp-server

Read and write Reddit posts, comments, and search with built-in spam protection and bot disclosure.

What is the io.github.jordanburke/reddit-mcp-server MCP server?

The Reddit MCP Server is a Model Context Protocol server that enables AI agents to interact with Reddit through read and write operations. It provides tools to fetch posts, comments, user info, and create content while enforcing safe mode protections and policy compliance by default.

This server gives Claude and Cursor full Reddit access: browse subreddits, search posts, fetch user data, and create/edit/delete your own posts and comments. It includes built-in spam protection (safe mode), bot disclosure footers, and three authentication tiers (anonymous, auto, authenticated) with rate limits from 10 to 100+ requests/min. Designed for Reddit's Responsible Builder Policy with no voting manipulation or DM tools.

How to install io.github.jordanburke/reddit-mcp-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • REDDIT_CLIENT_ID

    Reddit app client ID (optional - enables higher rate limits)

  • REDDIT_CLIENT_SECRET
    secret

    Reddit app client secret

  • REDDIT_USERNAME

    Reddit username (required for write operations)

  • REDDIT_PASSWORD
    secret

    Reddit password (required for write operations)

  • REDDIT_AUTH_MODE

    Authentication mode: auto, authenticated, or anonymous

  • REDDIT_SAFE_MODE

    Write safeguards: off, standard (default), or strict

  • REDDIT_BOT_DISCLOSURE

    Bot disclosure footer: auto or off (default)

  • REDDIT_BOT_FOOTER

    Custom bot footer text (used with REDDIT_BOT_DISCLOSURE=auto)

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "reddit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "reddit-mcp-server"
      ],
      "env": {
        "REDDIT_CLIENT_ID": "<YOUR_REDDIT_CLIENT_ID>",
        "REDDIT_CLIENT_SECRET": "<YOUR_REDDIT_CLIENT_SECRET>",
        "REDDIT_USERNAME": "<YOUR_REDDIT_USERNAME>",
        "REDDIT_PASSWORD": "<YOUR_REDDIT_PASSWORD>",
        "REDDIT_AUTH_MODE": "<YOUR_REDDIT_AUTH_MODE>",
        "REDDIT_SAFE_MODE": "<YOUR_REDDIT_SAFE_MODE>",
        "REDDIT_BOT_DISCLOSURE": "<YOUR_REDDIT_BOT_DISCLOSURE>",
        "REDDIT_BOT_FOOTER": "<YOUR_REDDIT_BOT_FOOTER>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • get_reddit_post — Get a specific Reddit post with engagement analysis
  • get_top_posts — Get top posts from a subreddit or home feed
  • browse_subreddit — Browse a subreddit/home feed by sort (hot, new, top, rising, controversial)
  • get_user_info — Get detailed information about a Reddit user
  • get_user_posts — Get posts submitted by a specific user
  • get_user_comments — Get comments made by a specific user
  • get_subreddit_info — Get subreddit details and statistics
  • get_trending_subreddits — Get currently trending subreddits
  • get_post_comments — Get comments from a specific post with threading
  • search_reddit — Search for posts across Reddit
  • create_post — Create a new post in a subreddit
  • reply_to_post — Post a reply to an existing post or comment
  • edit_post — Edit your own Reddit post (self-text only)
  • edit_comment — Edit your own Reddit comment
  • delete_post — Permanently delete your own post
  • delete_comment — Permanently delete your own comment

Use cases

  • Monitor trending topics and subreddit activity by browsing hot/new posts and analyzing engagement
  • Automate content posting to subreddits with built-in spam protection and duplicate detection
  • Research Reddit users and communities by fetching user history, subreddit stats, and post comments
  • Search Reddit for specific topics or keywords across all subreddits
  • Manage your own Reddit content by editing or deleting posts and comments

io.github.jordanburke/reddit-mcp-server MCP server FAQ

What is the Reddit MCP Server?

It's an MCP server that connects Claude or Cursor to Reddit, enabling read operations (browse, search, fetch posts/comments/users) and write operations (create, edit, delete posts and comments) with built-in spam protection and policy compliance.

Is it free to use?

Yes, the server itself is free and open-source (MIT license). Reddit API access is free but rate-limited; you get ~10 req/min anonymously, 60-100 req/min with OAuth credentials.

How do I install it in Claude Desktop or Cursor?

Download the .mcpb file from releases and Claude Desktop installs it automatically, or add it to your MCP config with `npx reddit-mcp-server`. For Cursor, add the same command to your MCP settings.

Do I need Reddit credentials?

For read-only operations, no (anonymous mode works). For write operations (posting, commenting, editing), you need your Reddit username and password. For higher rate limits, you also need Reddit app credentials (client ID and secret).

What is Safe Mode?

Safe Mode (enabled by default) prevents spam detection by enforcing write delays (2-5 seconds), detecting duplicate content, and blocking identical posts across subreddits. You can disable it explicitly with REDDIT_SAFE_MODE=off.

Does it support voting or private messages?

No. Upvote/downvote and DM tools are intentionally excluded to comply with Reddit's Responsible Builder Policy and prevent abuse.

README (reference)

Source of truth, from the repository.

Reddit MCP Server

A Model Context Protocol (MCP) server for interacting with Reddit - fetch posts, comments, user info, and create content.

npm version npm downloads GitHub stars License: MIT

<a href="https://glama.ai/mcp/servers/@jordanburke/reddit-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@jordanburke/reddit-mcp-server/badge" alt="reddit-mcp-server MCP server" /> </a>

Features at a Glance

Featurereddit-mcp-serverOther Reddit MCPs
Create Posts:white_check_mark::x:
Reply to Posts/Comments:white_check_mark::x:
Edit Posts/Comments:white_check_mark::x:
Delete Posts/Comments:white_check_mark::x:
Spam Protection (Safe Mode):white_check_mark::x:
Bot Disclosure Footer:white_check_mark::x:
Policy Compliance Built-in:white_check_mark::x:
Browse Subreddits:white_check_mark::white_check_mark:
Search Reddit:white_check_mark::white_check_mark:
User Analysis:white_check_mark::white_check_mark:
Post Comments:white_check_mark::white_check_mark:
Zero-Setup Anonymous Mode:white_check_mark::white_check_mark:
Three-Tier Auth (10/60/100 rpm):white_check_mark::white_check_mark:

Quick Start

Option 1: Claude Desktop Extension (Easiest)

Download and open the extension file - Claude Desktop will install it automatically:

Download reddit-mcp-server.mcpb

Option 2: NPX (No install required)

npx reddit-mcp-server

Or add to your MCP config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "reddit": {
      "command": "npx",
      "args": ["reddit-mcp-server"]
    }
  }
}

Option 3: Claude Code

claude mcp add --transport stdio reddit -- npx reddit-mcp-server

Features

Read-only Tools

ToolDescription
get_reddit_postGet a specific Reddit post with engagement analysis
get_top_postsGet top posts from a subreddit or home feed
browse_subredditBrowse a subreddit/home feed by sort (hot, new, top, rising, controversial)
get_user_infoGet detailed information about a Reddit user
get_user_postsGet posts submitted by a specific user
get_user_commentsGet comments made by a specific user
get_subreddit_infoGet subreddit details and statistics
get_trending_subredditsGet currently trending subreddits
get_post_commentsGet comments from a specific post with threading
search_redditSearch for posts across Reddit

Write Tools (Require User Credentials)

ToolDescription
create_postCreate a new post in a subreddit
reply_to_postPost a reply to an existing post or comment
edit_postEdit your own Reddit post (self-text only)
edit_commentEdit your own Reddit comment
delete_postPermanently delete your own post
delete_commentPermanently delete your own comment

Configuration

Environment Variables

VariableRequiredDefaultDescription
REDDIT_CLIENT_IDNo*-Reddit app client ID
REDDIT_CLIENT_SECRETNo*-Reddit app client secret
REDDIT_USERNAMENo-Reddit username (for write operations)
REDDIT_PASSWORDNo-Reddit password (for write operations)
REDDIT_USER_AGENTNoAuto-generatedCustom User-Agent string
REDDIT_AUTH_MODENoautoAuthentication mode: auto, authenticated, anonymous
REDDIT_SAFE_MODENostandardWrite safeguards: off, standard, strict
REDDIT_BOT_DISCLOSURENooffBot disclosure footer: auto, off
REDDIT_BOT_FOOTERNoBuilt-inCustom bot footer text (when disclosure is auto)
REDDIT_CACHENoonIn-memory caching of read requests: on, off
REDDIT_CACHE_MAX_MBNo50Cache size cap in MB (LRU eviction beyond this)
REDDIT_MAX_RETRIESNo3Retries on HTTP 429 with Retry-After backoff (0 to disable)

*Required only if using authenticated mode.

Full MCP Config Example

{
  "mcpServers": {
    "reddit": {
      "command": "npx",
      "args": ["reddit-mcp-server"],
      "env": {
        "REDDIT_CLIENT_ID": "your_client_id",
        "REDDIT_CLIENT_SECRET": "your_client_secret",
        "REDDIT_USERNAME": "your_username",
        "REDDIT_PASSWORD": "your_password",
        "REDDIT_SAFE_MODE": "standard"
      }
    }
  }
}

Safe Mode (Spam Protection)

Protect your Reddit account from spam detection and bans with built-in safeguards. Enabled by default (standard mode) per Reddit's Responsible Builder Policy.

Why Use Safe Mode?

Reddit's spam detection can flag accounts for:

  • Rapid posting or commenting
  • Duplicate or similar content
  • Posting the same content across multiple subreddits
  • Non-standard User-Agent strings

Safe Mode helps prevent these issues automatically.

Mode Options

ModeWrite DelayDuplicate DetectionUse Case
offNoneNoExplicit opt-out only
standard2 secondsLast 10 items + cross-subDefault, recommended
strict5 secondsLast 20 items + cross-subFor cautious automated posting

Disable Safe Mode

Safe mode is enabled by default. To explicitly disable:

export REDDIT_SAFE_MODE=off
npx reddit-mcp-server

What Safe Mode Does

  1. Rate Limiting: Enforces minimum delays between write operations
  2. Duplicate Detection: Blocks identical content from being posted twice
  3. Cross-Subreddit Detection: Prevents posting the same content to multiple subreddits (per Reddit policy)
  4. Smart User-Agent: Auto-generates Reddit-compliant User-Agent format when username is provided

Bot Disclosure

Reddit's Responsible Builder Policy requires bots to disclose their automated nature. Enable automatic bot footers on all posted content:

export REDDIT_BOT_DISCLOSURE=auto
npx reddit-mcp-server

When enabled, a footer is appended to all posts, replies, and edits:

---
🤖 I am a bot | Built with reddit-mcp-server

Customize the footer with REDDIT_BOT_FOOTER:

export REDDIT_BOT_DISCLOSURE=auto
export REDDIT_BOT_FOOTER=$'\n\n---\n^(🤖 Custom bot footer text)'

Authentication Modes

Mode Comparison

ModeRate LimitSetup RequiredBest For
anonymous~10 req/minNoneQuick testing, read-only
auto (default)10-100 req/minOptionalFlexible usage
authenticated60-100 req/minRequiredProduction use

Anonymous Mode (Zero Setup)

{
  "env": {
    "REDDIT_AUTH_MODE": "anonymous"
  }
}

Anonymous mode does not work on every network. Reddit blocks unauthenticated requests from many IP ranges — datacenters, cloud hosts, VPNs, and addresses it has flagged — and answers with an HTTP 403 block page. If you hit this, tools fail with:

Reddit is blocking unauthenticated requests from this network (HTTP 403 with a
block page). Set REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET to authenticate with
OAuth, which also raises the rate limit from ~10 to 60+ requests/min.

The fix is OAuth credentials — see the next section. This is a property of your network, not of your Reddit account or the subreddit you asked for, so it affects every tool at once. A 403 on a single subreddit while others work is a different thing: that subreddit is private or quarantined.

Authenticated Mode (Higher Rate Limits)

  1. Create a Reddit app at https://www.reddit.com/prefs/apps (select "script" type)
  2. Copy the client ID and secret
  3. Configure:
{
  "env": {
    "REDDIT_AUTH_MODE": "authenticated",
    "REDDIT_CLIENT_ID": "your_client_id",
    "REDDIT_CLIENT_SECRET": "your_client_secret"
  }
}

Write Operations

To create posts, reply, edit, or delete content, you need user credentials:

{
  "env": {
    "REDDIT_USERNAME": "your_username",
    "REDDIT_PASSWORD": "your_password",
    "REDDIT_SAFE_MODE": "standard"
  }
}

Development

Commands

pnpm install        # Install dependencies
pnpm build          # Build TypeScript
pnpm dev            # Build and run MCP inspector
pnpm test           # Run tests
pnpm lint           # Lint code
pnpm format         # Format code

CLI Options

npx reddit-mcp-server --version         # Show version
npx reddit-mcp-server --help            # Show help
npx reddit-mcp-server --generate-token  # Generate OAuth token for HTTP mode

HTTP Server Mode

For Docker deployments or web-based clients, use HTTP transport:

TRANSPORT_TYPE=httpStream PORT=3000 node dist/index.js

With OAuth Protection

export OAUTH_ENABLED=true
export OAUTH_TOKEN=$(npx reddit-mcp-server --generate-token | tail -1)
TRANSPORT_TYPE=httpStream node dist/index.js

Make authenticated requests:

curl -H "Authorization: Bearer $OAUTH_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"method":"tools/list","params":{}}' \
     http://localhost:3000/mcp

Docker

Quick Start

# Pull and run
docker pull ghcr.io/jordanburke/reddit-mcp-server:latest

docker run -d \
  --name reddit-mcp \
  -p 3000:3000 \
  -e REDDIT_CLIENT_ID=your_client_id \
  -e REDDIT_CLIENT_SECRET=your_client_secret \
  -e REDDIT_SAFE_MODE=standard \
  ghcr.io/jordanburke/reddit-mcp-server:latest

Docker Compose

services:
  reddit-mcp:
    image: ghcr.io/jordanburke/reddit-mcp-server:latest
    ports:
      - "3000:3000"
    environment:
      - REDDIT_CLIENT_ID=${REDDIT_CLIENT_ID}
      - REDDIT_CLIENT_SECRET=${REDDIT_CLIENT_SECRET}
      - REDDIT_USERNAME=${REDDIT_USERNAME}
      - REDDIT_PASSWORD=${REDDIT_PASSWORD}
      - REDDIT_SAFE_MODE=standard
      - OAUTH_ENABLED=${OAUTH_ENABLED:-false}
      - OAUTH_TOKEN=${OAUTH_TOKEN}
    restart: unless-stopped

Build Locally

docker build -t reddit-mcp-server .
docker run -d --name reddit-mcp -p 3000:3000 --env-file .env reddit-mcp-server

Reddit Responsible Builder Policy

This server is designed with Reddit's Responsible Builder Policy in mind:

  • Safe mode on by default — rate limiting and duplicate detection prevent spam
  • Cross-subreddit duplicate detection — blocks identical content across subreddits
  • Bot disclosure support — optional automated footer for transparency
  • No voting/karma manipulation — upvote/downvote tools are intentionally excluded
  • No private messaging — DM tools are intentionally excluded
  • Policy-aware AI instructions — MCP server instructions remind AI assistants of data usage restrictions

Credits

Related MCP servers

MCP server for executing shell commands on remote hosts via SSH.

3
TypeScript
MIT
View repository →

Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.

2
TypeScript
MIT
View repository →

Search, read, create, edit and sync Joplin notes and notebooks via a headless Joplin sidecar.

7
TypeScript
MIT
View repository →

Oura Ring MCP server for the Oura API v2: sleep, readiness, activity, heart rate, and more.

1
TypeScript
MIT
View repository →

Shared, full-fidelity session history for every AI agent you use—searchable across sessions, tools, and time.

14
TypeScript
MIT
View repository →

FIFA World Cup 2026 data: matches, teams, venues, city guides, fan zones, and more—18 tools, zero API keys.

34
TypeScript
MIT
View repository →