reddit-marketing
Enables Reddit-focused marketing workflows: discovering subreddits, analyzing posting patterns, finding relevant threads, tracking brand/competitor mentions, drafting and reviewing replies or posts, publishing approved content with guardrails, and measuring performance via Reddit's API or public RSS feeds.
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-marketing Find recent threads where freelancers need invoicing tools and draft replies"
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 Marketing Agent
Turn Claude into a careful Reddit marketer. It finds the communities your audience lives in, spots conversations where your product genuinely helps, drafts replies worth upvoting, and publishes only what you approve. Guardrails keep you clear of the things that get accounts and domains banned.
It's an MCP server, so you control it from Claude Code, Claude Desktop, or any MCP client, in plain language:
"Find threads this week where freelancers are asking for invoicing tools, and draft replies for the best three."
What it does
๐ Discover communities | Search subreddits, read their rules, and classify how each one treats self-promotion (banned / restricted / unclear). |
๐ Learn what works | Best posting hours and days, text vs link share, question-title share, common flairs, and typical scores from each subreddit's top posts. |
๐ฏ Find opportunities | Ranks recent threads 0-100 by buying intent ("looking for", "alternative to", "what do you use"), keyword and competitor relevance, freshness, and visibility, with the reasons and cautions spelled out. |
๐ Track mentions | Watches for your brand or domain (and optionally competitors) and only reports what's new since last time. |
โ๏ธ Draft and review | Replies and posts go into a local review queue with automatic checks: disclosure, subreddit rules, spam signals, duplicates, locked threads. |
โ Publish with approval | Nothing is posted until you approve the exact text. Daily caps, pacing and per-subreddit cooldowns are enforced. |
๐ Measure | Scores, replies and removals per subreddit, plus your inbox, so you can keep conversations going. |
The guardrails (why this won't get you banned)
Reddit punishes undisclosed promotion, link spam and copy-paste posting. The agent blocks:
Product mentions without an affiliation disclosure ("I built this", "full disclosure: I work on X")
Promotion in subreddits whose rules ban it
Link shorteners, duplicate text, replies to locked or archived threads
Exceeding the daily action cap, posting too fast, or promoting in the same subreddit within the cooldown
It warns about restricted-promo subreddits, too many links, low-effort replies, hype-y titles,
and a promotional share above 10% (the classic 9:1 rule). Publishing is off by default and
always needs a final confirm=true that Claude is instructed to send only after you approve.
Related MCP server: mcp-reddit-ads
How it works
flowchart LR
You -->|chat| Claude
Claude <-->|MCP tools| Agent["reddit-marketing-agent<br/>(this repo)"]
Agent -->|"API credentials? โ OAuth JSON API<br/>none? โ public RSS feeds"| Reddit[(Reddit)]
Agent <--> DB[("~/.reddit-marketing-agent<br/>campaigns ยท drafts ยท activity log")]Two connection modes, picked automatically:
Mode | Needs | You get |
| nothing | Read-only research from Reddit's public RSS feeds: search, browse, threads, subreddit search. No scores or rules, and a strict rate limit (the agent paces itself). Drafts work: post them by hand and log the link. |
| Reddit API app (client id + secret) | Full read access: scores, comment counts, rules, subreddit stats, live performance metrics. |
| app + Reddit login | Everything above, plus publishing, inbox and account health. |
Install
You need uv (curl -LsSf https://astral.sh/uv/install.sh | sh).
Claude Code: as a plugin (tools + playbook skill)
/plugin marketplace add whyujjwal/reddit-marketing-agent
/plugin install reddit-marketing@reddit-marketing-agentClaude Code: MCP server only
claude mcp add reddit-marketing -s user -- uvx --managed-python --from git+https://github.com/whyujjwal/reddit-marketing-agent reddit-marketing-agentClaude Desktop
Add this to claude_desktop_config.json (Settings โ Developer โ Edit Config), then restart Claude:
{
"mcpServers": {
"reddit-marketing": {
"command": "uvx",
"args": ["--managed-python", "--from", "git+https://github.com/whyujjwal/reddit-marketing-agent", "reddit-marketing-agent"]
}
}
}If Claude Desktop can't find uvx, use its full path (run which uvx).
--managed-python makes uv use its own native Python build. Without it, an active Conda or
Intel (x86_64) Python on an Apple Silicon Mac can be picked instead, and installing
cryptography (a dependency of the MCP SDK) then fails.
From source
git clone https://github.com/whyujjwal/reddit-marketing-agent
cd reddit-marketing-agent
uv sync
uv run reddit-marketing-agent doctorOpening the cloned folder in Claude Code picks up the bundled .mcp.json automatically.
Configure
It works with zero configuration in rss mode. To unlock more, create a config file:
uvx --managed-python --from git+https://github.com/whyujjwal/reddit-marketing-agent reddit-marketing-agent initThat writes ~/.reddit-marketing-agent/.env (readable only by you). Fill in what you have:
Variable | Default | Purpose |
| โ | Reddit API app credentials โ |
| โ | Login for posting โ |
| โ | Use instead of a password if the account has 2FA |
|
| Override the user agent |
|
| Must be |
|
|
|
|
| Posts + comments per rolling 24h |
|
| Minimum gap between publishes |
|
| Minimum gap between promotional items in the same subreddit |
|
| Warn when promotional share of your logged activity exceeds this |
|
| Longest the agent will wait on a Reddit rate limit within one call |
|
| Where the config and SQLite database live |
Run reddit-marketing-agent doctor to check the setup.
Getting Reddit API access
As of 2026 Reddit requires approval for new API apps under its Responsible Builder Policy;
creating an app at reddit.com/prefs/apps is no longer enough
on its own. Request access through Reddit's developer support, describing the use case (personal
community engagement, low volume, human-approved posting). Once approved, create a script app
and put its id and secret in the config. Until then, rss mode covers research and drafting.
Reddit's Data API Terms and each subreddit's rules apply to you, not to this tool. Read them.
Use it
Just talk to Claude. A typical first session:
"Check the reddit status."
"Set up a campaign for my product: an invoicing app for freelancers at invoicely.example.com. I'm the founder." Claude interviews you, finds candidate subreddits, checks their promo rules, and calls
save_campaign."Find today's best opportunities and draft replies for the top three."
Claude shows each draft verbatim with the thread, why it fits, and the check results. "Publish #2, change #1 to not mention the product, drop #3."
"How did this week go?"
Built-in prompts (slash commands in Claude Code, prompt picker in Claude Desktop): Set up a
campaign, Daily scout, Weekly report. The plugin also installs the
reddit-marketing skill, a playbook Claude follows for
choosing threads and writing replies. Every client can read it as the MCP resource
reddit-marketing://playbook.
Tools
Tool | What it does |
| Mode, capabilities, limits and usage, account karma/age |
| Discover communities for a topic |
| Description, size, rules, self-promotion policy |
| Best times, formats, flairs and typical scores |
| Hot / new / top / rising posts |
| Full Reddit search syntax, multi-subreddit ( |
| A post plus its comments |
| Ranked threads worth replying to, with reasons and cautions |
| New posts mentioning your brand, domain or competitors |
| Product context: keywords, competitors, subreddits, voice, disclosure |
| Queue a draft and run the checks |
| Manage the queue |
| Preview, then publish with |
| Record something you posted by hand |
| Scores, replies, removals by subreddit |
| Replies and messages to follow up on |
Terminal commands
reddit-marketing-agent doctor # check config + connectivity
reddit-marketing-agent drafts # list pending drafts
reddit-marketing-agent approve 12 # approve draft #12 (for RMA_APPROVAL_MODE=terminal)
reddit-marketing-agent discard 12Development
uv sync
uv run pytest # 50 tests, no network needed
uv run ruff check . && uv run ruff format --check .Layout:
src/reddit_marketing_agent/
server.py MCP tools, prompts, playbook resource
service.py core logic (campaigns, opportunities, drafts, publishing, reports)
scoring.py opportunity scoring heuristics
guardrails.py promo-policy detection, draft checks, pacing limits
store.py SQLite: campaigns, drafts, activity log, seen mentions
reddit/ OAuth JSON backend, RSS backend, shared polite HTTP session
skills/reddit-marketing/SKILL.md the playbook (plugin skill + MCP resource)
.claude-plugin/ Claude Code plugin + marketplace manifestsPRs welcome, especially better opportunity heuristics, more promo-rule patterns, and support for other platforms.
Built on open source
MCP Python SDK (MIT): the server framework
httpx (BSD): HTTP client
defusedxml (PSF): safe feed parsing
python-dotenv (BSD): config files
Prior art worth a look: Hawstein/mcp-server-reddit and Arindam200/reddit-mcp (both MIT) for Reddit read access over MCP, and PRAW (BSD-2), the standard Python Reddit API wrapper. This project adds the marketing workflow, scoring and guardrails on top of Reddit's own API rather than reusing their code.
Disclaimer
Not affiliated with or endorsed by Reddit. You are responsible for how you use it: follow Reddit's User Agreement, its API terms, and every community's rules. The guardrails reduce risk; they don't replace your judgment.
License
Available Tools
20 toolsbrowse_subredditBRead-only
List posts in a subreddit, to get a feel for the community before joining in.
Inputs: subreddit (required), sort, limit, time_filter. Returns: object
check_inboxCRead-only
Replies to your posts/comments and direct messages, so you can keep conversations going. Needs a logged-in account.
Inputs: limit, unread_only. Returns: object
discard_draftC
Discard a draft.
Inputs: draft_id (required). Returns: object
draft_postA
Save a new post to the review queue and run guardrail checks. Nothing is posted.
Inputs: title (required), subreddit (required), url, body, +3 more. Returns: object
draft_replyA
Save a reply to the review queue and run guardrail checks (disclosure, subreddit promo rules, spam signals, duplicates). Nothing is posted.
Inputs: body (required), target (required), campaign, rationale. Returns: object
find_opportunitiesA
Find recent threads where someone is asking for help, recommendations or alternatives in the product's space, ranked 0-100 with reasons and cautions (locked, promo-banned, buried).
Inputs: campaign, keywords, min_score, subreddits, +3 more. Returns: object
find_subredditsBRead-only
Discover communities about a topic, with subscriber counts when available.
Inputs: query (required), limit. Returns: object
list_campaignsARead-only
List saved campaigns with their full settings.
Inputs: no named parameters. Returns: object
list_draftsBRead-only
List drafts in the review queue with their check results.
Inputs: limit, status, campaign. Returns: object
log_manual_postA
Record that the user posted a draft by hand, so pacing limits and reports include it.
Inputs: draft_id (required), permalink (required). Returns: object
performance_reportBRead-only
How published posts and replies are doing: scores, replies, removals, by subreddit.
Inputs: days, campaign. Returns: object
publish_draftADestructive
Publish a draft to Reddit. Without confirm=true it returns a final preview and changes nothing. Re-checks the thread state, daily limits, pacing and per-subreddit cooldowns, and refuses if any blocking check fails.
Inputs: draft_id (required), confirm. Returns: object
read_threadARead-only
Read a post and its comments. Always read a thread before drafting a reply to it.
Inputs: post (required), comment_limit. Returns: object
reddit_statusARead-only
Show the connection mode, what's possible in it, posting limits and today's usage, and (when logged in) account karma/age. Call this first in a session.
Inputs: no named parameters. Returns: object
revise_draftB
Edit a draft and re-run the checks. Editing resets any approval.
Inputs: draft_id (required), url, body, title. Returns: object
save_campaignA
Create or update a campaign (matched by name). Campaigns hold the product context that opportunity search, mention tracking and draft checks use.
Inputs: name (required), description (required), product_name (required), tone, +6 more. Returns: object
search_redditCRead-only
Search Reddit posts.
Inputs: query (required), sort, limit, subreddit, +1 more. Returns: object
subreddit_insightsARead-only
What works in a subreddit, from the past month's top posts: best posting hours (UTC) and days, text vs link share, question-title share, common flairs, typical scores.
Inputs: subreddit (required). Returns: object
subreddit_profileARead-only
A subreddit's description, size, full rules, and how it treats self-promotion (banned / restricted / unclear). Check this before drafting anything for a community.
Inputs: subreddit (required). Returns: object
track_mentionsB
Find posts that mention the brand (or competitors). Remembers what it has shown you, so repeated calls return only new mentions.
Inputs: terms, campaign, subreddits, time_filter, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 20 tools
Most tools have crisp, distinct purposes: discovery (find_subreddits, search_reddit, browse_subreddit), research (subreddit_profile, subreddit_insights, read_thread), and a clear draft-review-publish lifecycle. The main friction points are the three subreddit-scoped tools and the four discovery tools (search_reddit, browse_subreddit, find_opportunities, track_mentions), which overlap in 'find posts' territory, though descriptions do enough to separate them (rules check vs top-post stats vs listing vs ranked opportunity search).
Dominant convention is snake_case verb_noun (list_campaigns, find_subreddits, draft_reply, publish_draft), and the draft lifecycle uses a consistent draft_* resource prefix. Minor deviations are noun-first read tools like subreddit_profile, subreddit_insights, performance_report and reddit_status, plus 'check_inbox' instead of list_*.
20 tools is on the heavy side, but the domain genuinely spans discovery, subreddit research, campaign context, drafting with guardrails, a review queue, publishing with limits, and monitoring. Each tool covers a distinct stage of that pipeline rather than being redundant, so only a slight trim would be warranted.
Full lifecycle coverage from discovery through drafting, review, publish, and performance tracking, plus pacing limits and inbox monitoring. Gaps are modest: no campaign delete, no scheduled posting, and check_inbox surfaces replies/DMs but there is no direct tool to respond to an inbox item or comment thread outside the draft-to-thread flow.
Related MCP Connectors
Reddit Ads MCP server: run Reddit campaigns, ad groups, ads and reports from AI.
- RiseMore MCPDeprecatedapp.vibecom
Official RiseMore MCP server. Read saved products, research, social posts, SEO keywords, Reddit threads, competitors, and channels via OAuth. Publish approved, scheduled social posts to connected X and LinkedIn accounts. Generate, edit, and approve content in the RiseMore Console.
Find high-intent Reddit conversations and manage lead workflows from MCP-compatible AI agents.
Meta, TikTok, LinkedIn, Snapchat and Reddit ads in Claude. Connect an ad account first.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP Server for the Meta Marketing API. Gives Claude Desktop direct access to your ad account data โ campaign performance, creative analysis, audience breakdowns, and budget pacing.101MIT
- AlicenseAqualityBmaintenanceMCP server for Reddit Ads API v3 enabling campaign management, ad creation, performance reporting, and audience targeting through Claude.1094 npm3MIT
- FlicenseBqualityDmaintenanceA platform-agnostic MCP server that connects Claude to campaign data, institutional knowledge, and historical performance for paid media teams, enabling automated analysis, reporting, and debugging.73-
- AlicenseAqualityDmaintenanceAn MCP server that turns Claude into a Reddit lead-finding agent: search for buying-intent conversations, score them against your product, and read full threads before drafting a reply.3MIT