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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
This server cannot be deployed
Maintenance
Related MCP Connectors
Find high-intent Reddit conversations and manage lead workflows from MCP-compatible AI agents.
Reddit marketing: find subreddits, check shadowbans, draft posts, spot comment opportunities.
Meta Ads and Google Ads MCP server: 250+ tools for Claude, ChatGPT, Cursor and Codex.
Reddit growth toolkit โ opportunities, replies, cold DMs, brand mentions, SEO, autopilot.
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.10250 npm1MIT
- AlicenseAqualityBmaintenanceMCP server for Reddit Ads API v3 enabling campaign management, ad creation, performance reporting, and audience targeting through Claude.10105 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