RedditAPIs
This server provides read-only Reddit data access and management of redditapis.com monitors/webhooks via MCP.
Search & Discovery: Search Reddit posts, comments, media, communities, and users with rich filters (keyword, score, time window, media type). Includes deep comment search to retrieve matching comment bodies, and group-by-author research mode.
Subreddit Browsing: List posts by sort order (new, hot, top, rising, controversial, best); get top posts for a time window; stream newest comments; fetch metadata, rules, moderators, and wiki pages.
Posts & Comments: Fetch a single post by ID, a post with its full comment tree, or bulk-fetch up to 100 posts by fullnames.
User Profiles: Get a user's public profile (karma, account age, avatar), recent comments, and submitted posts.
Community Discovery: Browse popular, new, or default subreddits without keywords.
Monitors & Webhooks (requires paid plan for writes): Create, list, update, and delete subreddit monitors with optional filters (keyword, author, domain, score, NSFW). Manage delivery webhooks (Slack, Discord, generic) - create, list, test, and delete. Check monitor health and view delivered posts.
Does not support posting, commenting, voting, or sending direct messages on Reddit.
Provides tools for searching Reddit, browsing subreddit posts and comments, retrieving user profiles, and accessing community metadata via the Reddit API.
redditapis-mcp
Official Model Context Protocol server for redditapis.com, the Reddit API as native tools for Claude, Cursor, Windsurf, and any MCP client. It turns Reddit reads (search, subreddit listings, comment trees, user profiles, community metadata) into typed tools your agent can call directly, plus (since 0.2.0) managing your own redditapis.com monitors and webhooks.
Ask your agent to search Reddit for a topic, read a community's top posts of the week, pull a user's comment history, surface the redditors talking about a product, or read a subreddit's rules before you engage, and it calls the API for you. It can also set up a monitor that watches a subreddit for new posts matching a filter and delivers them to a webhook, then check what it's actually delivered. Every tool maps to a REST endpoint at https://api.redditapis.com; the server holds no state and forwards your API key on each call.
Quick start
No install needed. Run with npx. You need one thing: an API key from redditapis.com. Reads work with just that key, so there is no account login or session step to set up. Monitor/webhook management additionally requires an active monitoring plan (monitoring has no free tier).
Related MCP server: reddit-search
Setup
Claude Desktop
Edit claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "redditapis-mcp@latest"],
"env": { "REDDITAPIS_KEY": "YOUR_API_KEY" }
}
}
}Restart Claude Desktop. The reddit_* tools appear in the tool picker.
Claude Code
claude mcp add reddit --env REDDITAPIS_KEY=YOUR_API_KEY -- npx -y redditapis-mcp@latestCursor
~/.cursor/mcp.json (or Settings > MCP > Add New Server):
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "redditapis-mcp@latest"],
"env": { "REDDITAPIS_KEY": "YOUR_API_KEY" }
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "redditapis-mcp@latest"],
"env": { "REDDITAPIS_KEY": "YOUR_API_KEY" }
}
}
}VS Code (Copilot / agent mode)
.vscode/mcp.json in your workspace, or the user-level MCP settings:
{
"servers": {
"reddit": {
"type": "stdio",
"command": "npx",
"args": ["-y", "redditapis-mcp@latest"],
"env": { "REDDITAPIS_KEY": "YOUR_API_KEY" }
}
}
}Configuration
Env var | Required | Default | Purpose |
| Yes | (none) | API key from redditapis.com. |
| No |
| Override the API host. |
| No |
| Per-request timeout in milliseconds. |
Authentication is a Bearer token: the server sends Authorization: Bearer <REDDITAPIS_KEY> on every request.
Tools
32 tools: 22 reads plus 10 monitor/webhook management tools. Reddit writes (posting, commenting, voting, DMs) remain a separate authenticated surface and are intentionally out of scope here -- monitor/webhook tools configure your OWN redditapis.com account (an alerting subscription), never Reddit itself. Every read works with just your API key; the 6 monitor/webhook writes additionally need an active monitoring plan (see Monitoring below).
A few conventions across the catalog:
Subreddit names go in without the
r/prefix, and usernames without theu/prefix.reddit_subreddit_poststakes its community assubreddit; the/sub/{name}/...tools take it asname.Listing and search tools return an
aftercursor. Pass it back asafterto fetch the next page, exactly as it was returned.limitaccepts 1 to 100 (the API clamps out-of-range values).When
aftercomes backnullthere is no next page to ask for. That does not always mean you have every item: Reddit often stops serving a busy listing long before it runs out. The final response also carrieslisting_status, which readscomplete,truncatedorunknown. Onlycompletemeans nothing is missing. Treat the other two as a partial answer and widen across sorts, timeframes or search terms rather than paging deeper.t(hour,day,week,month,year,all) sets the time window; on subreddit listings it applies to thetopandcontroversialsorts, and on search it bounds the whole result set.
Search and discovery
Tool | Endpoint | What it does |
|
| Search posts across all of Reddit or within one subreddit ( |
|
| Search by comment text; returns the parent posts, since Reddit's comment search does not hand back the matching comment itself. |
|
| Genuine comment search: returns the actual matching comment bodies (score, author, comment-deep permalink, parent post). |
|
| Search posts filtered to media, narrowed by |
|
| Find subreddits by name or topic (title, subscribers, description, NSFW flag). |
|
| Find redditors by name or keyword (username, karma, account age). |
Subreddits
Tool | Endpoint | What it does |
|
| List a subreddit's posts by |
|
| Top posts of a subreddit for a time window ( |
|
| Stream the newest comments across an entire subreddit (not one post's thread). |
|
| A subreddit's public metadata: title, description, subscriber and active-user counts, type, NSFW flag. |
|
| A subreddit's posting rules plus Reddit's site-wide rules. |
|
| A subreddit's moderator team, each with permissions, flair, and when they joined. |
|
| A subreddit's wiki page by name and |
Posts and comments
Tool | Endpoint | What it does |
|
| A single post by its base-36 |
|
| A post plus its full threaded comment tree, fetched by |
|
| Bulk-hydrate up to 100 posts in one call from a comma-separated list of |
Users
Tool | Endpoint | What it does |
|
| A user's public profile: karma, account age, verified/employee flags, avatar. |
|
| A user's recent comments (body, score, subreddit, parent link, timestamp). |
|
| A user's submitted posts (the sibling of |
Community browse (no keyword)
Tool | Endpoint | What it does |
|
| Browse the most-subscribed, trending subreddits right now. |
|
| Browse the newest subreddits, most recently created first. |
|
| Browse Reddit's default front-page set of subreddits. |
Monitoring: manage your own monitors and webhooks
v1 monitors are subreddit-scoped, posts-only (no all-of-Reddit keyword watch, no comment monitoring yet). Creating or updating a monitor or webhook needs an active plan; reading your own list/health/deliveries never does.
Tool | Endpoint | What it does |
|
| Create a monitor: subreddits to watch plus an optional filter (keyword, author, domain, include/exclude terms, min score, NSFW). Forward-looking only from creation (or from |
|
| List every monitor on your account, plus |
|
| Pause/resume ( |
|
| Permanently delete a monitor. Cannot be undone. |
|
| Per-monitor delivered/failed/suppressed counts (last 24h), |
|
| The actual posts delivered (or attempted), newest first, with real content -- not just counts. Omit |
|
| Register a delivery target ( |
|
| List your webhooks. Never returns the secret. |
|
| Send a one-off test delivery to confirm a webhook is wired up correctly. |
|
| Permanently delete a webhook. Does not cascade-pause monitors still pointing at it. |
Usage examples
Research a topic across Reddit
"What are people saying about the Rust borrow checker this month?"
The agent calls reddit_search with:
q: "borrow checker"
sort: "top"
t: "month"Read a community's top posts of the week
"Show me the top posts in r/programming this week."
The agent calls reddit_subreddit_top with:
name: "programming"
t: "week"To page further, pass the after cursor from the response back on the next call: { name: "programming", t: "week", after: "<after from response>" }.
Find who is talking about a product
"Which redditors are recommending mechanical keyboards, and what do they say?"
The agent calls reddit_deep_comment_search with:
q: "mechanical keyboard"
group_by: "author"
sort: "top"Research mode returns the distinct people who mentioned the query, ranked by how many of their comments matched, each with their top comment and the subreddits they matched in.
Vet a subreddit, then read a thread
"Find a discussion about API rate limiting in r/webdev, check the sub's rules, and read the full thread."
The agent calls reddit_search scoped to the community:
q: "rate limiting"
subreddit: "webdev"
sort: "relevance"
t: "year"Then reddit_subreddit_rules with { name: "webdev" }, and finally reddit_post_comments with the permalink from a search result, for example { permalink: "/r/webdev/comments/abc123/some_title/" }, to pull the post and its comment tree.
Set up brand monitoring and check what came in
"Watch r/SaaS and r/startups for mentions of my product, send matches to my Slack, and show me what's come in so far."
The agent calls reddit_monitor_webhook_create with:
url: "https://hooks.slack.com/services/..."
kind: "slack"Then reddit_monitor_add with:
subreddit: ["SaaS", "startups"]
q: "my product name"Later, reddit_monitor_deliveries with { id: "<monitor id from the add response>" } returns the actual matching posts sent so far, or reddit_monitor_health for just the counts.
No session needed for reads; monitor/webhook writes need an active plan
Reads need nothing but your API key -- no account linking, login, or cookie step. Reddit write actions (posting, commenting, voting, sending DMs) are handled by a separate authenticated surface outside this package and remain deliberately not exposed here, so an agent using this server can never post, vote, or DM as you on Reddit. Monitor/webhook management tools are a different kind of write: they configure your OWN redditapis.com account (an alerting subscription) and require an active monitoring plan for anything that creates or changes state (reddit_monitor_add/update/remove, reddit_monitor_webhook_create/test/delete); reading your own list, health, or delivery history never does.
Troubleshooting
HTTP 401 (invalid or missing API key) Check that REDDITAPIS_KEY is set correctly in your MCP client config and matches the key from redditapis.com.
HTTP 402 (insufficient credits) Top up your account at redditapis.com. For a monitor/webhook write specifically, a 402 body of subscription_required means there is no active monitoring plan (monitoring has no free tier); monitor_slots_exhausted means the plan's monitor slot limit is already in use -- reddit_monitor_list's slots field shows used vs total.
HTTP 403 (access forbidden) The subreddit or user may be private, banned, or quarantined, or your plan may not include this endpoint.
HTTP 404 (not found) The subreddit, post id, user, or permalink may be wrong or the content may have been deleted or removed.
HTTP 429 (rate limited) Wait a few seconds and retry, or reduce request frequency. For bulk work, space out calls and raise REDDITAPIS_TIMEOUT_MS.
Request failed: timed out after 30000ms The default timeout is 30 seconds. For large reddit_deep_comment_search or paginated fetches, set REDDITAPIS_TIMEOUT_MS higher (for example 60000).
Tools do not appear in Claude / Cursor Ensure npx is on your PATH and Node.js 18+ is installed (node --version). Check your MCP client logs for startup errors.
Development
npm install
npm run check # syntax-check both source files
npm test # unit-test the tool catalog + query/path builders (no network)
npm start # run the stdio server (needs REDDITAPIS_KEY)Links
Site and API keys: redditapis.com
REST API base URL (call it directly, without MCP):
https://api.redditapis.com
FAQ
Do I need a Reddit developer account? No. Get an API key at redditapis.com; there is no application or approval step.
Can it post, comment, or vote? No. All 22 Reddit-facing tools read Reddit; posting, commenting, voting, and DMs are a separate authenticated surface and are not exposed here. The other 10 tools manage your OWN redditapis.com monitors/webhooks, which is a write, but never a write to Reddit itself.
Which clients are supported? Claude Desktop, Claude Code, Cursor, Windsurf, and VS Code (Copilot agent mode), or any Model Context Protocol client.
Does it store my key or data? No. The server holds no state and forwards your API key on each call.
License
MIT
Maintenance
Related MCP Servers
- 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 gradedqualityDmaintenanceEnables searching Reddit posts, fetching subreddit content, and retrieving post comments without requiring an API key. It uses public JSON endpoints to provide seamless access to Reddit data for LLM-based applications.3MIT
- AlicenseNot gradedqualityBmaintenanceA read-only Reddit research server that exposes search, subreddit top posts, post details, and comment retrieval as typed tools with polite rate-limiting and citation lineage.MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading public Reddit posts and comments on demand, with tools to search, get recent posts, post details, top comments, and server status. Runs on Cloudflare Workers for use with Claude and Open WebUI.MIT
Related MCP Connectors
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
Reddit MCP — public Reddit data via JSON endpoints (no auth required)
Reddit posts, comments, subreddits, and search for AI agents. Free key, self-minted, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/redditapis/redditapis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server