Reddit MCP Server
Allows browsing Reddit, searching posts and comments, fetching user activity and subreddit information through Reddit's API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Reddit MCP ServerSearch Reddit for recent discussions about climate change"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Reddit MCP Server
A personal, read-only MCP (Model Context Protocol) server that provides access to Reddit's API through any MCP-compatible client (Claude Desktop, Claude Code, etc.).
What It Does
This server exposes 8 tools for interacting with Reddit:
Tool | Description |
| Search all of Reddit or a specific subreddit by keyword |
| Browse posts in a subreddit (hot, new, top, rising) |
| Fetch a post and its comments by ID or URL |
| Get posts by a user (or yourself) |
| Get comments by a user (or yourself) |
| List your saved posts and comments |
| List your subscribed subreddits |
| Get metadata and rules for a subreddit |
All tools are read-only. The server does not post, comment, vote, moderate, or modify any Reddit content.
Related MCP server: Reddit Universal MCP Server
Requirements
Python 3.10+
A Reddit account
Reddit API credentials (see Setup below)
Setup
1. Get Reddit API Credentials
Go to reddit.com/prefs/apps
Click "create another app..."
Select "script" as the app type
Set redirect URI to
http://localhost:8080Note your Client ID (string under the app name) and Client Secret
2. Install Dependencies
cd reddit-mcp-server
# Using uv (recommended)
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
# Or using pip
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt3. Configure Credentials
Copy the example env file and fill in your credentials:
cp .env.example .envEdit .env with your values:
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USERNAME=your_reddit_username
REDDIT_PASSWORD=your_reddit_passwordSecurity: The .env file is in .gitignore and will not be committed. Never put credentials in source code.
4. Connect to Claude Desktop
Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"reddit": {
"command": "/ABSOLUTE/PATH/TO/.venv/bin/python",
"args": ["/ABSOLUTE/PATH/TO/reddit-mcp-server/server.py"],
"env": {
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret",
"REDDIT_USERNAME": "your_username",
"REDDIT_PASSWORD": "your_password"
}
}
}
}Replace the paths and credentials with your actual values.
Security
This server follows secure coding principles:
No hardcoded secrets. All credentials are loaded from environment variables at startup.
Fail closed. Missing credentials cause immediate exit — the server will not start in a broken state.
Input validation. All tool inputs are validated with Pydantic (type, length, format) before any API call.
Minimal data exposure. Responses return only relevant fields — no raw API objects or credential leakage.
Sanitized subreddit/user names. Inputs are checked for injection characters before use.
Safe error handling. Errors return actionable messages without stack traces or internal details.
Read-only operation. No tool modifies Reddit content. All tools are annotated with
readOnlyHint: true.
Rate Limits
Reddit's free tier allows 60–100 requests per minute for OAuth-authenticated apps. Normal conversational use through an MCP client will stay well within these limits.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Reddit MCP server: search posts, subreddit feeds, comments & user profiles as JSON. No API key.
Reddit MCP — public Reddit data via JSON endpoints (no auth required)
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
Hosted MCP for X/Twitter and Reddit. 12 read-only tools, no API keys, free during beta.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server that connects to the Reddit Data API to search posts, browse subreddits, read comments, view user profiles, and check trending content through the Model Context Protocol.151MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Reddit's tools and services through a unified API, enabling seamless integration with MCP-compliant applications.5MIT
- AlicenseAqualityDmaintenanceA comprehensive MCP server for Reddit that provides 8 tools for fetching posts, comments, and subreddit info, plus a REST API and Azure deployment support.8AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceMCP server for interacting with Reddit via OAuth, with tiered tools for reading, writing, and moderation actions.MIT