reddit-mcp
Provides read-only access to Reddit data, including searching posts, browsing subreddits, reading comments, viewing user profiles, and checking trending content.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
reddit-mcp
A read-only MCP server built for Claude that connects to the Reddit Data API (oauth.reddit.com). Search posts, browse subreddits, read comments, view user profiles, and check trending content — all through the Model Context Protocol.
Quick Install (Claude Code)
npx -y @hamzashahbaz/reddit-mcpOr add it to Claude Code with environment variables:
claude mcp add reddit -e REDDIT_CLIENT_ID=your_id -e REDDIT_CLIENT_SECRET=your_secret -e REDDIT_USERNAME=your_username -e REDDIT_PASSWORD=your_password -- npx -y @hamzashahbaz/reddit-mcpFeatures
Search Reddit -- query posts across all of Reddit or within a specific subreddit
Browse subreddits -- get posts sorted by hot, new, top, or rising
Read comments -- fetch a post's details and top-level comments
User profiles -- view profile info and recent activity (posts, comments, or both)
Trending posts -- see what's popular on r/popular
Related MCP server: reddit-mcp
Prerequisites
Node.js 18+
A Reddit account
A Reddit "script" application (free) -- see Setup
Setup
1. Request Reddit API access
Reddit requires API access approval before you can create apps.
Select API Access Request
Fill in the form:
Benefit/purpose: Read-only content browsing tool that helps users discover and read Reddit content through AI assistants — no posting, commenting, or voting.
Detailed description: reddit-mcp is an open-source MCP (Model Context Protocol) server that provides read-only access to Reddit's public content. It allows AI assistants to search posts, browse subreddits, read comments, and view user profiles. All operations are read-only GET requests. Source code: https://github.com/hamzashahbaz/reddit-mcp
Devvit question: This tool is an external read-only client that integrates Reddit content into AI workflows — a use case outside Devvit's scope.
Source code link:
https://github.com/hamzashahbaz/reddit-mcpSubreddits: General-purpose — works with any public subreddit
Submit and wait for approval (typically a few days)
2. Create a Reddit script app
Once approved:
Go to reddit.com/prefs/apps
Click "create another app..."
Fill in:
name: anything (e.g.,
mcp-reader)type: select script
redirect uri:
http://localhost:8080(not used, but required)
Note your client ID (under the app name) and client secret
3. Clone and build
git clone https://github.com/hamzashahbaz/reddit-mcp.git
cd reddit-mcp
npm install
npm run buildConfiguration
Add to your .mcp.json (Claude Code) or claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"reddit": {
"command": "node",
"args": ["/path/to/reddit-mcp/dist/server.js"],
"env": {
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret",
"REDDIT_USERNAME": "your_reddit_username",
"REDDIT_PASSWORD": "your_reddit_password"
}
}
}
}Replace /path/to/reddit-mcp with the actual path to your cloned directory.
Tools
Tool | Description | Key Parameters |
| Search posts by query |
|
| Browse a subreddit |
|
| Get post details + comments |
|
| User info + recent activity |
|
| Trending posts from r/popular | (none) |
Parameter details
sort (search):
relevance,hot,top,newsort (subreddit):
hot,new,top,risingsort (comments):
best,top,new,controversialtime_filter:
hour,day,week,month,year,allcontent_type:
overview,posts,commentslimit: 1-25 for most tools, 1-50 for comments
How it works
Uses the Reddit Data API (REST) at
https://oauth.reddit.comAuthenticates via OAuth 2.0 password grant (script app)
All operations are read-only GET requests
Tokens cached in memory, auto-refreshed before expiry
Respects Reddit rate limits (100 req/min authenticated)
Built for Claude Code and Claude Desktop via the Model Context Protocol (MCP)
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Reddit MCP server: search posts, subreddit feeds, comments & user profiles as JSON. No API key.
Real-time Reddit posts, subreddit search, comments & mentions MCP. Local npx or hosted OAuth.
Reddit MCP — public Reddit data via the Atom/RSS feeds.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.10MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides both read-only and authenticated access to Reddit content and interactions without requiring a developer API key. It enables users to browse posts, search subreddits, and perform write actions like commenting and voting by leveraging browser session cookies.827 PyPI3-
- FlicenseNot gradedqualityDmaintenanceA read-only Model Context Protocol server that enables browsing subreddits, searching within subreddits, retrieving comment trees, and looking up user activity on Reddit via natural language.-
- AlicenseNot gradedqualityDmaintenanceEnables fetching and reading Reddit content such as posts, comments, and subreddit listings via the MCP protocol.34 npmMIT