Reddit MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicSearch posts, read and post to subreddits, manage comments, vote, and look up user profiles across Reddit.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"reddit": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-reddit",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the get_post tool to get a reddit post by id. returns title, body (selftext), score, author, subreddit, url, num_comments, created_utc, permalink”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-reddit — Reddit MCP Server
Search, post, comment, vote, and explore Reddit communities from any AI agent.
Reddit is the internet's largest community platform with over 100,000 active subreddits and 1.5 billion monthly users. This MCP server gives your agents full access to the Reddit OAuth API: searching for posts across communities or within specific subreddits, creating text and link posts, managing comments, voting, browsing subreddit rules and metadata, and looking up user profiles.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-reddit
What You Can Do
- Monitor brand mentions, competitor activity, or topic trends by searching Reddit posts in real time across specific subreddits or the entire site
- Automatically post updates, announcements, or content to relevant subreddits with full Markdown support
- Participate in community discussions by replying to comments, editing responses, and managing your posting history
- Research subreddits before engaging — check subscriber counts, rules, active user counts, and community descriptions to find the right audience
Available Tools
| Tool | Description |
|---|---|
| get_post | Get a Reddit post by ID with title, body, score, and comment count |
| search_posts | Search posts across Reddit or within a subreddit with sort and time filters |
| get_subreddit_posts | Get hot/new/top/rising posts from a specific subreddit |
| create_post | Create a text (self) post in a subreddit |
| create_link_post | Create a link post in a subreddit |
| delete_post | Delete a post owned by the authenticated user |
| get_post_comments | Get the comment tree for a post with configurable depth |
| create_comment | Comment on a post or reply to a comment |
| edit_comment | Edit a comment's body text |
| delete_comment | Delete a comment owned by the authenticated user |
| get_subreddit | Get subreddit metadata: subscribers, description, active users |
| search_subreddits | Search for subreddits by name or topic |
| get_subreddit_rules | Get the rules for a subreddit |
| get_user_profile | Get a user's public profile and recent activity |
| vote | Upvote (1), downvote (-1), or clear (0) a post or comment |
| get_my_profile | Get the authenticated user's karma and account details |
| _ping | Verify credentials — calls GET /api/v1/me |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
| REDDIT_CLIENT_ID | Yes | Reddit application Client ID | Create a Reddit app → select "script" for personal use or "web app" for server use |
| REDDIT_CLIENT_SECRET | Yes | Reddit application Client Secret | Found next to Client ID in your Reddit app settings |
| REDDIT_ACCESS_TOKEN | Yes | User OAuth 2.0 Access Token with identity, read, submit, vote, edit scopes |
Follow Reddit OAuth2 flow — exchange code for token |
Note: Reddit access tokens expire after 1 hour. Use the refresh token to obtain a new access token. For read-only operations, a long-lived token obtained via the
client_credentialsgrant is sufficient. Write operations (post, comment, vote) require a user token.
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Reddit" and click Add to Workspace
- Add your
REDDIT_CLIENT_ID,REDDIT_CLIENT_SECRET, andREDDIT_ACCESS_TOKENunder Project → Secrets
Example Prompts
"Search Reddit for posts about 'Cloudflare Workers' in the last week and summarize the top 5"
"What are the rules for posting in r/MachineLearning?"
"Get the top 10 posts from r/typescript today and list the ones with over 100 comments"
"Post to r/webdev: 'Just launched our new open-source MCP library for Cloudflare Workers'"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-reddit \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-REDDIT-CLIENT-ID: your-client-id' \
-H 'X-Mcp-Secret-REDDIT-CLIENT-SECRET: your-client-secret' \
-H 'X-Mcp-Secret-REDDIT-ACCESS-TOKEN: your-access-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_posts","arguments":{"query":"MCP servers","subreddit":"programming","sort":"top","time_filter":"week","limit":10}}}'
License
MIT
terminal Tools (17)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
get_post #1 Get a Reddit post by ID. Returns title, body (selftext), score, author, subreddit, url, num_comments, created_utc, permalink.
search_posts #2 Search posts across Reddit or within a specific subreddit. Supports sorting by relevance, hot, new, or top.
get_subreddit_posts #3 Get posts from a subreddit sorted by hot, new, top, or rising.
create_post #4 Create a text (self) post in a subreddit. Requires a user OAuth token with submit scope.
create_link_post #5 Create a link post in a subreddit. Requires a user OAuth token with submit scope.
delete_post #6 Delete a post. Only works on posts owned by the authenticated user.
get_post_comments #7 Get comments for a Reddit post. Returns comment tree with score, author, body, and replies.
create_comment #8 Comment on a post or reply to an existing comment. Requires submit scope.
edit_comment #9 Edit the body text of a comment. Only works on comments owned by the authenticated user.
delete_comment #10 Delete a comment. Only works on comments owned by the authenticated user.
get_subreddit #11 Get subreddit info: subscribers, description, created date, rules, NSFW status, active user count.
search_subreddits #12 Search for subreddits by name or topic. Returns subreddit name, title, subscribers, and description.
get_subreddit_rules #13 Get the rules for a subreddit. Returns rule priority, short name, description, and violation reason.
get_user_profile #14 Get a Reddit user's public profile: karma breakdown, account age, post/comment history.
vote #15 Upvote (1), downvote (-1), or clear vote (0) on a post or comment. Requires vote scope.
get_my_profile #16 Get the authenticated user's own profile: username, karma totals, coins, account age, verified status.
_ping #17 Verify Reddit credentials by calling GET /api/v1/me. Returns {ok: true, username, id} on success.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-reddit
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the Reddit MCP server and what can it do? +
The Reddit MCP server is hosted on Aerostack and exposes these tools to your AI agent: `get_post`, `search_posts`, `get_subreddit_posts`, `create_post`, `create_link_post`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Reddit MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Reddit MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Reddit MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Reddit MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-reddit": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-reddit"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Reddit MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-reddit", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-reddit"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Reddit MCP require authentication? +
Yes. Reddit requires authentication. Check the MCP's documentation for the required credentials.