Reddit MCP Server
Allows browsing Reddit, searching posts and comments, fetching user activity and subreddit information through Reddit's API.
Click on "Install 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-mcp
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheCorpMurtaugh/Reddit-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server