by jordanburke
Interact with Reddit programmatically: browse subreddits, search posts, read comment threads and user history, and create, edit, or delete posts and replies. Operates without any API key using RSS feeds or the Arctic Shift archive, and switches to full live access when OAuth credentials are provided.
Reddit MCP Server provides a Model Context Protocol (MCP) endpoint that lets AI assistants and other tools query Reddit data and perform write actions. It supports both keyless mode—leveraging public RSS feeds and the Arctic Shift archive—and authenticated mode via OAuth for real‑time data and content publishing.
{
"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"
}
}
}
}
REDDIT_USERNAME and REDDIT_PASSWORD to enable write tools.TRANSPORT_TYPE=httpStream and optionally protect the endpoint with an OAUTH_TOKEN.get_reddit_post, create_post) via the chosen transport (STDIO, HTTP, etc.).Q: Do I need an API key to use the server? A: No. The server runs in keyless mode using RSS and the Arctic Shift archive. OAuth credentials are only required for live data and write operations.
Q: What happens after Reddit shuts down its public API? A: Read tools will continue to work with the archive. Write tools and OAuth‑only reads will stop after March 2027 unless Reddit keeps the API alive for existing apps.
Q: How can I protect my Reddit account from spam detection?
A: Keep REDDIT_SAFE_MODE set to standard (default) or strict. The server will enforce delays, duplicate checks, and a compliant User‑Agent.
Q: Is a bot disclosure footer mandatory?
A: It is recommended to comply with Reddit’s Responsible Builder Policy. Enable it with REDDIT_BOT_DISCLOSURE=auto and optionally customize the text via REDDIT_BOT_FOOTER.
Q: Which environment variables are optional?
A: All variables are optional. Without REDDIT_CLIENT_ID/REDDIT_CLIENT_SECRET the server falls back to keyless mode. Write tools also need REDDIT_USERNAME and REDDIT_PASSWORD.
Q: Can I run the server behind a Docker container?
A: Yes. The official image ghcr.io/jordanburke/reddit-mcp-server:latest supports the same environment variables.
Q: How do I secure the HTTP endpoint?
A: Set OAUTH_ENABLED=true and provide an OAUTH_TOKEN. Requests must include Authorization: Bearer <token>.
Q: What caching options are available?
A: Use REDDIT_CACHE=on (default) and set REDDIT_CACHE_MAX_MB to control the in‑memory cache size.
A Model Context Protocol (MCP) server for interacting with Reddit - fetch posts, comments, user info, and create content.
Reddit announced on 2026-09-30 that it is ending RSS feeds and its public Data API, and moving apps to its Developer Platform (r/redditdev post, r/modnews post):
| Date | What Reddit does |
|---|---|
| 2026-10-31 | Stops accepting new requests for public API access |
| 2026-11-13 | Stops supporting RSS feeds |
| 2027-01-12 | Starts removing API access for apps and users that haven't registered or responded to Reddit's outreach |
| March 2027 | Closes public API access for all remaining apps and users |
The server reads from three sources and uses the best one you have:
| Source | Needs | Used for | Lasts until |
|---|---|---|---|
| Reddit's API (OAuth) | REDDIT_CLIENT_ID and REDDIT_CLIENT_SECRET |
Every tool, with live data (writes also need username and password) | March 2027, per Reddit |
| Reddit's RSS feeds | Nothing | Ranked listings (hot, top, rising, controversial) and the home feed, without credentials | 2026-11-13 |
| Arctic Shift archive | Nothing | Most read tools without credentials | No announced end. It's free, run by one volunteer, has no uptime guarantee, and gets its data from Reddit's API |
Arctic Shift is a third-party copy of Reddit, not Reddit's API, though it collects its data through Reddit's API. Its scores and comment counts lag, and every result from it says so. See Keyless Mode for what each tool can do without credentials.
REDDIT_USERNAME and REDDIT_PASSWORD. Register your app at developers.reddit.com/app-registration before 2027-01-12, or Reddit may remove its access early.| 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: |
| OAuth Auth (60-100 rpm) | :white_check_mark: | :white_check_mark: |
| Keyless mode (zero-setup) | :white_check_mark: | :x: |
Download and open the extension file - Claude Desktop will install it automatically:
Download reddit-mcp-server.mcpb
Add to your MCP config (Claude Desktop, Cursor, etc.). Credentials are optional: without them the server runs in keyless mode, and with them you get live data and every tool.
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["reddit-mcp-server"],
"env": {
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret"
}
}
}
}
REDDIT_CLIENT_ID=your_client_id REDDIT_CLIENT_SECRET=your_client_secret \
claude mcp add --transport stdio reddit -- npx reddit-mcp-server
Leave out the two variables to run keyless.
| 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_post_comments |
Get comments from a specific post with threading |
get_more_comments |
Expand collapsed comments in a thread |
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_subreddit_rules |
Get a subreddit's posting rules |
search_reddit |
Search for posts, subreddits, or users |
get_trending_subreddits |
Get currently trending subreddits (needs OAuth) |
get_post_flairs |
List a subreddit's available post flairs (needs OAuth) |
get_me |
Get your own account info (needs OAuth and user credentials) |
get_my_overview |
Get your own recent posts and comments (needs OAuth and user credentials) |
get_my_saved |
Get your saved posts and comments (needs OAuth and user credentials) |
test_reddit_mcp_server |
Check server status and configuration |
Most read tools also work without credentials. See Keyless Mode for each tool's limits.
Write tools need Reddit's API, so they need OAuth credentials plus REDDIT_USERNAME and REDDIT_PASSWORD. Reddit closes its public API in March 2027 (details).
| 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 |
save_content |
Save a post or comment to your account |
unsave_content |
Remove a post or comment from your saved items |
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 (omit for keyless mode) |
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 deprecated) |
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) |
Credentials are optional. See Keyless Mode for what works without them.
{
"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)'
Reddit's unauthenticated API no longer works. As of mid-2026, Reddit blocks unauthenticated API requests with HTTP 403, so reading Reddit's API needs OAuth credentials. REDDIT_AUTH_MODE=anonymous still exists, but it is now an alias for keyless mode.
Reddit is closing its public API. See Reddit is closing its public API for the dates and what this server does about them.
Reddit closed self-service OAuth app creation in November 2025, and as of 2026-10-31 it accepts no new requests for public API access. Existing OAuth credentials keep working until March 2027 if the app is registered by 2027-01-12. Reddit starts removing access for unregistered apps on that date.
If you already have a Reddit app (created at /prefs/apps before November 2025, or approved through Reddit's Developer Support): use your existing client ID and secret. They still work at 60-100 req/min. Register the app at developers.reddit.com/app-registration before 2027-01-12.
If you don't have credentials: Reddit no longer accepts new requests for public API access, so use keyless mode.
| Mode | Rate Limit | Setup Required | Tools Available | Best For |
|---|---|---|---|---|
auto (default) |
60-100 req/min | OAuth credentials | All tools | Most users |
authenticated |
60-100 req/min | OAuth credentials | All tools | Explicit mode |
auto (no creds) |
Shared, free | None | Most read tools (Keyless Mode) | New users |
anonymous |
Shared, free | None | Same as auto without credentials |
Legacy alias |
If Reddit rejects your credentials at startup, auto logs a warning and starts anyway, and each tool call reports the error. authenticated exits instead.
Without OAuth credentials, reads come from two free sources:
hot, top, rising, controversial, and the home feed). Reddit retires RSS on 2026-11-13. When a feed fails for a named subreddit, the server falls back to the archive's newest posts and says ranking is unavailable.| Tool | Keyless source | Limits |
|---|---|---|
browse_subreddit (new) |
Arctic Shift | One subreddit; no multireddits |
browse_subreddit (other), get_top_posts |
RSS, then Arctic Shift | Archive fallback is newest-first, not ranked |
get_reddit_post |
Arctic Shift | |
get_post_comments |
Arctic Shift | Recent comments may be missing; no sort |
get_more_comments |
Arctic Shift | |
get_user_info |
Arctic Shift | Account age estimated from first activity; status flags unknown |
get_user_posts, get_user_comments |
Arctic Shift | Newest first only |
get_subreddit_info, get_subreddit_rules |
Arctic Shift | |
search_reddit |
Arctic Shift | Posts need subreddit; type=sr matches name prefixes; no type=user |
Archive caveats: scores and comment counts lag, and are often 0 or 1 on recent posts. Keyword search on large subreddits is slow, and the archive throttles it. The server waits up to 10 seconds and retries once. If that fails too, the error says when to retry. Every archive result ends with a note naming the source.
Still needs OAuth: get_trending_subreddits, get_post_flairs, get_me, get_my_overview, get_my_saved, search_reddit with type=user, and all write tools.
{
"env": {
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret"
}
}
To create posts, reply, edit, or delete content, add your Reddit username and password:
{
"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"
}
}
pnpm install # Install dependencies
pnpm build # Build TypeScript
pnpm dev # Rebuild on every change
pnpm inspect # Build and open the MCP inspector
pnpm validate # Format, lint, typecheck, test and build
pnpm run ci # validate's checks without fixing, as CI runs them (type `run`: `pnpm ci` is a clean install)
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
For Docker deployments or web-based clients, use HTTP transport:
TRANSPORT_TYPE=httpStream PORT=3000 node dist/index.js
/mcp. Version 2.0 removed the legacy SSE endpoint (/sse) and /ready.127.0.0.1 unless you set HOST. The Docker image sets HOST=0.0.0.0./health answers {"name":"reddit-mcp-server","status":"running"} and needs no token.export OAUTH_ENABLED=true
export OAUTH_TOKEN=$(openssl rand -hex 32)
TRANSPORT_TYPE=httpStream node dist/index.js
If OAUTH_TOKEN is unset or empty, the server generates one and prints it at startup. Make authenticated requests:
curl -H "Authorization: Bearer $OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' \
http://localhost:3000/mcp
A request with no token gets 401, and a wrong token gets 403.
# 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
Leave out the two credential variables to run the container keyless.
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}
# Unset or empty: the server generates a token and prints it at startup
- 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:
Maintained by Jordan Burke · Affiliated with SapientsAI
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by lharries
Enables searching, reading, and sending personal WhatsApp messages and media through a Model Context Protocol (MCP) server, storing all data locally in SQLite and exposing controlled tools for LLMs like Claude.
by stickerdaniel
Enables AI assistants to read and interact with LinkedIn data—including profiles, companies, jobs, and messages—through a locally‑run MCP server that operates on your own authenticated browser session.
by caol64
Automatically format Markdown articles and publish them to WeChat public accounts, supporting theme selection, image upload, and AI integration.
by korotovsky
Provides a powerful Model Context Protocol interface for Slack workspaces, enabling message retrieval, search, and optional posting via Stdio or SSE transports without requiring bot permissions.
by iFurySt
Provides authenticated access to XiaoHongShu (RedNote) notes, supporting keyword search, note retrieval by URL, and cookie persistence via a Model Context Protocol server.
by karanb192
Enables Claude Desktop and other AI assistants to browse Reddit, search posts, fetch full comment threads, and analyze user activity with clean, LLM‑optimized responses.
by chigwell
Provides a full‑featured Telegram integration for MCP‑compatible clients, enabling programmatic access to chats, messages, contacts, profile management, and group administration.
by line
Integrates the LINE Messaging API with a Model Context Protocol server, enabling AI agents to send text, flex, broadcast messages, retrieve user profiles, and manage rich menus on a LINE Official Account.
by ZubeidHendricks
Provides a standardized interface for interacting with YouTube content, enabling video retrieval, transcript access, channel and playlist management, and advanced analytics through the Model Context Protocol.
{
"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"
}
}
}
}claude mcp add reddit npx reddit-mcp-server