Hooks Claude up to Reddit's API with full read and write permissions. You get the usual browsing tools like searching posts, pulling comments, checking user profiles, and scanning subreddits. The write side lets you create posts, reply to threads, edit your content, and delete things you've published. It includes spam protection out of the box with configurable safe mode that enforces delays between posts and blocks duplicate content to keep your account in good standing with Reddit's detection systems. Runs in anonymous mode for read-only work or authenticated mode when you need to post. Built-in bot disclosure footers help you stay compliant with Reddit's automation policies.
Public tool metadata for what this MCP can expose to an agent.
REDDIT_CREATE_REDDIT_POSTCreates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair.6 paramsCreates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair.
urlstringkindstringlink · selftextstringtitlestringflair_idstringsubredditstringREDDIT_DELETE_REDDIT_COMMENTDeletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user.1 paramsDeletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user.
idstringREDDIT_DELETE_REDDIT_POSTPermanently deletes a Reddit post by its ID, provided the authenticated user has deletion permissions for that post.1 paramsPermanently deletes a Reddit post by its ID, provided the authenticated user has deletion permissions for that post.
idstringREDDIT_EDIT_REDDIT_COMMENT_OR_POSTEdits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.2 paramsEdits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.
textstringthing_idstringREDDIT_GET_USER_FLAIRFetches the list of available link flairs (i.e., post flairs, not user flairs) for a given subreddit.1 paramsFetches the list of available link flairs (i.e., post flairs, not user flairs) for a given subreddit.
subredditstringREDDIT_POST_REDDIT_COMMENTPosts a comment on Reddit, replying to an existing and accessible submission (post) or another comment.2 paramsPosts a comment on Reddit, replying to an existing and accessible submission (post) or another comment.
textstringthing_idstringREDDIT_RETRIEVE_POST_COMMENTSRetrieves all comments for a Reddit post given its article ID (which must be for an existing, public post); nested replies within comments are returned as raw dictionaries requiring parsing.1 paramsRetrieves all comments for a Reddit post given its article ID (which must be for an existing, public post); nested replies within comments are returned as raw dictionaries requiring parsing.
articlestringREDDIT_RETRIEVE_REDDIT_POSTRetrieves the current hot posts from a specified, publicly accessible subreddit.2 paramsRetrieves the current hot posts from a specified, publicly accessible subreddit.
sizeintegersubredditstringREDDIT_RETRIEVE_SPECIFIC_COMMENTRetrieves detailed information for a specific Reddit comment or post using its fullname.1 paramsRetrieves detailed information for a specific Reddit comment or post using its fullname.
idstringREDDIT_SEARCH_ACROSS_SUBREDDITSSearches Reddit for content (e.g., posts, comments) using a query, with results typically confined to subreddits unless `restrict_sr` is set to False.4 paramsSearches Reddit for content (e.g., posts, comments) using a query, with results typically confined to subreddits unless `restrict_sr` is set to False.
sortstringrelevance · new · top · commentsdefault: relevancelimitintegerrestrict_srbooleansearch_querystringA Model Context Protocol (MCP) server for interacting with Reddit - fetch posts, comments, user info, and create content.
| Feature | reddit-mcp-server | Other 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: |
Download and open the extension file - Claude Desktop will install it automatically:
Download reddit-mcp-server.mcpb
npx reddit-mcp-server
Or add to your MCP config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["reddit-mcp-server"]
}
}
}
claude mcp add --transport stdio reddit -- npx reddit-mcp-server
| Tool | Description |
|---|---|
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 |
| Tool | Description |
|---|---|
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 |
| Variable | Required | Default | Description |
|---|---|---|---|
REDDIT_CLIENT_ID | No* | - | Reddit app client ID |
REDDIT_CLIENT_SECRET | No* | - | Reddit app client secret |
REDDIT_USERNAME | No | - | Reddit username (for write operations) |
REDDIT_PASSWORD | No | - | Reddit password (for write operations) |
REDDIT_USER_AGENT | No | Auto-generated | Custom User-Agent string |
REDDIT_AUTH_MODE | No | auto | Authentication mode: auto, authenticated, anonymous |
REDDIT_SAFE_MODE | No | standard | Write safeguards: off, standard, strict |
REDDIT_BOT_DISCLOSURE | No | off | Bot disclosure footer: auto, off |
REDDIT_BOT_FOOTER | No | Built-in | Custom bot footer text (when disclosure is auto) |
REDDIT_CACHE | No | on | In-memory caching of read requests: on, off |
REDDIT_CACHE_MAX_MB | No | 50 | Cache size cap in MB (LRU eviction beyond this) |
REDDIT_MAX_RETRIES | No | 3 | Retries on HTTP 429 with Retry-After backoff (0 to disable) |
*Required only if using authenticated mode.
{
"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"
}
}
}
}
Protect your Reddit account from spam detection and bans with built-in safeguards. Enabled by default (standard mode) per Reddit's Responsible Builder Policy.
Reddit's spam detection can flag accounts for:
Safe Mode helps prevent these issues automatically.
| Mode | Write Delay | Duplicate Detection | Use Case |
|---|---|---|---|
off | None | No | Explicit opt-out only |
standard | 2 seconds | Last 10 items + cross-sub | Default, recommended |
strict | 5 seconds | Last 20 items + cross-sub | For cautious automated posting |
Safe mode is enabled by default. To explicitly disable:
export REDDIT_SAFE_MODE=off
npx reddit-mcp-server
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)'
| Mode | Rate Limit | Setup Required | Best For |
|---|---|---|---|
anonymous | ~10 req/min | None | Quick testing, read-only |
auto (default) | 10-100 req/min | Optional | Flexible usage |
authenticated | 60-100 req/min | Required | Production use |
{
"env": {
"REDDIT_AUTH_MODE": "anonymous"
}
}
{
"env": {
"REDDIT_AUTH_MODE": "authenticated",
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret"
}
}
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"
}
}
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
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
For Docker deployments or web-based clients, use HTTP transport:
TRANSPORT_TYPE=httpStream PORT=3000 node dist/index.js
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
# 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
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
docker build -t reddit-mcp-server .
docker run -d --name reddit-mcp -p 3000:3000 --env-file .env reddit-mcp-server
This server is designed with Reddit's Responsible Builder Policy in mind:
REDDIT_CLIENT_IDReddit app client ID (optional - enables higher rate limits)
REDDIT_CLIENT_SECRETsecretReddit app client secret
REDDIT_USERNAMEReddit username (required for write operations)
REDDIT_PASSWORDsecretReddit password (required for write operations)
REDDIT_AUTH_MODEAuthentication mode: auto, authenticated, or anonymous
REDDIT_SAFE_MODEWrite safeguards: off, standard (default), or strict
REDDIT_BOT_DISCLOSUREBot disclosure footer: auto or off (default)
REDDIT_BOT_FOOTERCustom bot footer text (used with REDDIT_BOT_DISCLOSURE=auto)
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp