SubScraper Reddit MCP Server
Provides tools for accessing Reddit data, including searching posts and communities, retrieving posts with nested comment trees, inspecting subreddit details and rules, fetching user profiles, posts, and comments, viewing trending content and leaderboards, exploring niche communities, and resolving Reddit URLs.
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., "@SubScraper Reddit MCP Server Search r/webdev for complaints about Next.js 15 and summarize the top 5 themes"
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.
SubScraper Reddit MCP Server
Official Model Context Protocol (MCP) server for SubScraper — exposes all 14 Reddit data endpoints as first-class tools for AI coding assistants and autonomous agents.
Give Cursor, Claude Desktop, Windsurf, Cline, and any MCP-compatible client live access to search Reddit, inspect community discussions, extract nested comment trees, and gather developer sentiment without OAuth setup or Reddit app approval.
Quick Start
1. Cursor IDE
Add this to your .cursor/mcp.json (or global Cursor MCP configuration):
{
"mcpServers": {
"subscraper": {
"command": "npx",
"args": ["-y", "@subscraper/mcp"],
"env": {
"SUBSCRAPER_API_KEY": "sub_live_your_key_here"
}
}
}
}2. Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"subscraper": {
"command": "npx",
"args": ["-y", "@subscraper/mcp"],
"env": {
"SUBSCRAPER_API_KEY": "sub_live_your_key_here"
}
}
}
}Note: Get 30 free API requests immediately at https://www.subscraper.dev.
Related MCP server: Reddit MCP Server
Available MCP Tools
All 14 endpoints are exposed as typed, agent-ready tools:
Tool | Description |
| Search Reddit posts by keyword across all of Reddit or scoped to a subreddit |
| Fetch post body and the full nested comment tree pre-cleaned for LLMs |
| Retrieve listings from any subreddit (hot, new, top, rising) with cursor pagination |
| Fetch an individual comment with parent discussion context |
| Subreddit metadata, subscriber count, description, and rules |
| User karma, account age, bio, and creator information |
| Submission history for any public Reddit user |
| Comment history for any public Reddit user |
| Discover subreddits matching a topic or keyword |
| Search for Reddit usernames |
| Real-time trending posts across r/popular |
| Top communities ranked by growth and activity |
| Discover subreddits grouped by niche topic |
| Classify any Reddit link (post, comment, user, subreddit) and extract IDs |
Environment Variables
Variable | Required | Description | Default |
| ✅ Yes | Your API key from the SubScraper dashboard | — |
| No | Override base API URL |
|
CLI flags are also supported:
npx -y @subscraper/mcp --api-key sub_live_your_keyExample AI Prompts
Once configured, your AI assistant can execute natural language research:
"Search r/SaaS for complaints about competitor pricing this month and summarize the top 5 pain points."
"Fetch the top 50 comments on this Reddit URL and extract all mentioned tools: https://reddit.com/r/..."
"Find the top 5 subreddits discussing local LLMs and report their subscriber counts."
"Analyze the sentiment around Next.js 15 App Router across recent r/webdev discussions."
License
MIT © SubScraper — see LICENSE
Available Tools
14 toolsexploreB
Discover Reddit communities grouped by topic or interest area. Returns a list of relevant subreddits with descriptions. Useful for finding niche communities related to a subject.
Inputs: limit, topic.
get_comment_permalinkA
Fetch a single Reddit comment by its permalink URL, including parent context and replies. Useful for getting the full context of a specific comment.
Inputs: url (required), context.
get_community_detailsA
Get metadata about a subreddit: description, subscriber count, active users, creation date, NSFW flag, icon, and banner. Use to evaluate or describe a community.
Inputs: subreddit (required).
get_community_postsA
Get posts from any public subreddit. Supports sorting by hot, new, top, rising, or controversial. Returns post list with scores, comment counts, and metadata.
Inputs: subreddit (required), sort, time, after, +1 more.
get_leaderboardA
Get a leaderboard of trending and fast-growing Reddit communities. Returns subreddit names, subscriber counts, and growth metrics.
Inputs: after, limit.
get_popularA
Get the current r/popular feed — posts trending across all of Reddit right now. Returns titles, scores, subreddits, and comment counts.
Inputs: time, after, limit.
get_postA
Fetch a full Reddit post including its body text, score, flair, and the entire nested comment tree. Use a direct Reddit post URL (e.g. https://reddit.com/r/sub/comments/abc123/...).
Inputs: url (required), commentDepth, commentLimit.
get_user_commentsA
Get comment history for a Reddit user. Returns comment body, score, subreddit, parent post title, and timestamps. Useful for understanding a user's opinions and activity.
Inputs: username (required), sort, after, limit.
get_user_postsB
Get all posts submitted by a Reddit user. Returns post titles, scores, subreddits, and timestamps. Useful for profiling an account's posting behavior.
Inputs: username (required), sort, after, limit.
get_user_profileB
Get a Reddit user's public profile: karma breakdown, bio, account age, avatar, trophies, and gold status. Works for any public Reddit account.
Inputs: username (required).
resolve_url_typeA
Detect what a Reddit URL points to — a post, comment, user profile, subreddit, or search. Returns the detected type and extracted identifiers (post ID, username, subreddit, etc.). Useful before deciding which tool to call next.
Inputs: url (required).
searchA
Search Reddit posts by keyword, optionally scoped to a subreddit. Returns post title, score, comment count, subreddit, author, and permalink. Sort by relevance, hot, new, top, or comments.
Inputs: query (required), sort, time, after, +2 more.
search_communitiesA
Find subreddits by keyword. Returns subreddit name, title, description, subscriber count, and URL. Useful for discovering niche communities related to a topic.
Inputs: query (required), after, limit.
search_usersB
Find Reddit users by username or display name. Returns username, display name, description, and profile URL.
Inputs: query (required), after, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools map to a distinct resource+action (post, comment, user, community) with clear boundaries. There is mild overlap between the community-discovery trio (search_communities, explore, get_leaderboard) and between scoped 'search' and 'get_community_posts', but the descriptions give enough signal (keyword vs. topic-grouped vs. growth-metrics; keyword vs. sort-based listing) to choose correctly.
Dominant pattern is get_<resource> / search_<resource>, applied consistently across posts, users, and communities. A few tools break the pattern with bare verbs or noun phrases ('search', 'explore', 'resolve_url_type'), but they remain readable and unambiguous.
14 tools is squarely in the well-scoped range for a read-only Reddit client. Each tool covers a distinct retrieval axis (entity type, listing source, or URL resolution) and none feels redundant padding.
Coverage is strong for a read-only scraper: posts, comments, users, communities, feeds, discovery, and URL routing are all present with sensible entry points. Minor gaps exist — no subreddit rules/moderators/wiki, no direct post-by-ID lookup (must go through a URL plus resolve_url_type), and no comment-level search.
Maintenance
Related MCP Connectors
Query Reddit communities, posts, brands and trends from your AI agent. OAuth 2.1.
Reddit posts, comments, keyword search and historical archives as tools. Runs on Apify.
Read-only Reddit search API for AI agents: posts, comments, comment trees, subreddit rules.
Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.
Related MCP Servers
- 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,162 npm908MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, read, and analyze Reddit content, including posts, comments, subreddits, and user profiles using natural language commands. It provides atomic tools for interacting with the Reddit API to retrieve trending topics and community metadata.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to browse subreddits, search Reddit, read posts and threaded comments, and analyze user activity, while also creating, replying to, editing, and deleting posts or comments. Works with OAuth credentials for live data or in a keyless mode that needs no setup.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to browse and search Reddit, fetch post details and comments, analyze user activity, and look up Reddit terminology through the official Installed App OAuth2 API.1MIT