reddit-connector-mcp
Provides tools to search Reddit posts, browse subreddit feeds, read comment threads, and view user profiles and recent user activity through Reddit's public JSON 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-connector-mcp search r/programming for Rust tutorials"
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-connector-mcp
A Model Context Protocol (MCP) server that lets AI assistants browse Reddit. Search posts, read comments, and view user profiles — no API key required.
Features
Search Reddit — search across all of Reddit or within a specific subreddit
Browse Subreddits — get posts sorted by hot, new, top, or rising
Read Comments — fetch full comment threads with nested replies
User Profiles — view karma, account age, and recent activity
No API Key Required — uses Reddit's public JSON API
Dual Output — supports both JSON and Markdown response formats
Resilient — automatic retry with exponential backoff on rate limits
Related MCP server: Reddit MCP Server
Quick Start
Claude Code (CLI)
claude mcp add reddit -- npx -y reddit-connector-mcpClaude Desktop
Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "reddit-connector-mcp"]
}
}
}Cursor / Windsurf / Other MCP Clients
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "reddit-connector-mcp"]
}
}
}Install Globally (Optional)
npm install -g reddit-connector-mcpTools
Tool | Description |
| Search for posts across Reddit or within a specific subreddit |
| Get posts from a subreddit sorted by hot, new, top, or rising |
| Get comments for a specific Reddit post by URL |
| Get profile information for a Reddit user |
| Get recent posts and comments by a Reddit user |
All tools support a response_format parameter (json or markdown).
Examples
Search posts:
{ "query": "machine learning", "subreddit": "programming", "limit": 10 }Get subreddit posts:
{ "subreddit": "science", "sort": "top", "limit": 5 }Get post comments:
{ "post_url": "https://www.reddit.com/r/programming/comments/abc123/my_post/" }Get user profile:
{ "username": "spez" }Get user posts:
{ "username": "spez", "limit": 10 }How It Works
This server uses Reddit's public .json endpoints (e.g., reddit.com/r/programming.json), which don't require authentication. This means:
Zero configuration — no OAuth, no API keys, no Reddit account needed
Rate limited — ~60 requests/minute (Reddit's unauthenticated limit)
Read-only — browse and search, no posting or voting
Automatic retry — exponential backoff on 429/5xx errors (up to 3 retries)
Token-efficient — text truncated to minimize token usage (25KB max response)
Development
git clone https://github.com/ShellyDeng08/reddit-connector-mcp.git
cd reddit-connector-mcp
npm install
npm run build
npm startLicense
MIT
Available Tools
5 toolsreddit_get_post_commentsGet Post CommentsARead-onlyIdempotent
Get comments for a specific Reddit post by URL.
Examples:
{ "post_url": "https://www.reddit.com/r/programming/comments/abc123/my_post/" }
Returns: { post: { title, author, score, ... }, comments: [{ author, body, score, created_utc, replies }], comment_count }
Errors:
404: Post does not exist or has been removed
Inputs: post_url (required), limit, response_format.
reddit_get_subreddit_postsGet Subreddit PostsARead-onlyIdempotent
Get posts from a subreddit sorted by hot, new, top, or rising.
Examples:
Hot posts: { "subreddit": "programming" }
Top posts: { "subreddit": "science", "sort": "top", "limit": 10 }
Returns: { posts: [{ title, author, score, url, permalink, selftext, num_comments, created_utc, subreddit }], count, subreddit, sort, has_more }
Errors:
403: Subreddit is private or quarantined
404: Subreddit does not exist
Inputs: subreddit (required), sort, limit, response_format.
reddit_get_user_postsGet User PostsARead-onlyIdempotent
Get recent posts and comments by a Reddit user.
Examples:
{ "username": "spez", "limit": 10 }
Returns: { username, posts: [...], comments: [...], post_count, comment_count }
Errors:
404: User does not exist or account is suspended
Inputs: username (required), limit, response_format.
reddit_get_user_profileGet User ProfileARead-onlyIdempotent
Get profile information for a Reddit user.
Examples:
{ "username": "spez" }
Returns: { user: { name, link_karma, comment_karma, account_created_utc } }
Errors:
404: User does not exist or account is suspended
Inputs: username (required), response_format.
reddit_search_postsSearch Reddit PostsARead-onlyIdempotent
Search for posts across Reddit or within a specific subreddit.
Examples:
Search all of Reddit: { "query": "machine learning" }
Search within a subreddit: { "query": "best practices", "subreddit": "programming" }
Returns: { posts: [{ title, author, score, url, permalink, selftext, num_comments, created_utc, subreddit }], count, has_more }
Errors:
403: Subreddit is private or quarantined
404: Subreddit does not exist
429: Rate limited by Reddit API
Inputs: query (required), limit, subreddit, response_format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct Reddit object or action, but reddit_search_posts and reddit_get_subreddit_posts can overlap when searching within a subreddit. Descriptions clarify the distinction through query-based search versus sorted browsing.
All tools use the consistent reddit_ prefix followed by a clear snake_case verb_noun pattern. The convention is predictable throughout.
Five tools is well-scoped for a read-only Reddit connector covering posts, comments, subreddits, and users. Each tool has a clear role without unnecessary bloat.
The read-only surface covers search, subreddit browsing, comments, user profiles, and user activity. Minor gaps exist for subreddit metadata or standalone post retrieval, but core browsing workflows are covered.
Maintenance
Related MCP Connectors
Search public Reddit posts, browse subreddit feeds, and read posts, comments, and profiles.
Read-only Reddit search API for AI agents: posts, comments, comment trees, subreddit rules.
Reddit posts, comments, keyword search and historical archives as tools. Runs on Apify.
Query Reddit communities, posts, brands and trends from your AI agent. OAuth 2.1.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables browsing and searching Reddit content through read-only tools that access Reddit's official API. Supports searching posts, retrieving subreddit information, fetching hot posts, and getting detailed post information.54MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with read-only access to Reddit's API for browsing subreddits, reading posts and comments, searching Reddit, and retrieving user/subreddit information. Enables safe exploration of Reddit content without posting capabilities through natural language interactions.-
- AlicenseAqualityAmaintenanceEnables AI assistants to browse Reddit, search posts, analyze user activity, and fetch comments without requiring API keys. Features smart caching, clean data responses, and optional authentication for higher rate limits.62,112 npm915MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with Reddit by searching subreddits, retrieving hot posts, and fetching detailed post information with comments through the Reddit API.-