reddit-ads MCP Server
Reddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting.
reddit-ads scores 72 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 18 tools. Filed under Marketing. GitHub shows 4 stars. Package registries report about 135 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
72 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
89/100 for listing completeness. Lost points: 1 of 18 tools barely described, short summary, no docs link.
How quality is graded
Where the 72 comes from
22 + 20 + 6 + 10 + 4 + 10 = 72. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mharnett-mcp-reddit-ads": { "command": "npx", "args": [ "-y", "mcp-reddit-ads@1.1.4" ], "env": { "REDDIT_CLIENT_ID": "", "REDDIT_CLIENT_SECRET": "YOUR_REDDIT_CLIENT_SECRET", "REDDIT_REFRESH_TOKEN": "YOUR_REDDIT_REFRESH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
REDDIT_CLIENT_ID | Required | Reddit OAuth app client ID |
REDDIT_CLIENT_SECRETSecret | Required | Reddit OAuth app client secret |
REDDIT_REFRESH_TOKENSecret | Required | Reddit OAuth refresh token |
Tools18Tool docs quality grade C
All capabilitiesCreate a new ad with headline, body, URL, and media (PAUSED by default)
Create a new ad group with targeting (PAUSED by default)
Create a new campaign (PAUSED by default)
Enable multiple campaigns, ad groups, or ads at once
List all ad accounts accessible to the authenticated user
List ad groups for a campaign
List ads for an ad group
List campaigns with optional status filter
Get account info and verify API connectivity
Day-by-day performance breakdown
List available interest categories for targeting
Aggregated performance metrics for campaigns/ad groups/ads
About
mcp-reddit-ads
MCP server for Reddit Ads API v3 -- campaign management, ad creation, performance reporting, and audience targeting via Claude.
Quick install
Claude Code, one line (replace the placeholder values with your own; see Configuration for how to get them):
claude mcp add --env REDDIT_CLIENT_ID=YOUR_CLIENT_ID --env REDDIT_CLIENT_SECRET=YOUR_CLIENT_SECRET --env REDDIT_REFRESH_TOKEN=YOUR_REFRESH_TOKEN --transport stdio mcp-reddit-ads -- npx -y mcp-reddit-ads
The server starts read-only. Add --env REDDIT_ADS_MCP_WRITE=true to expose the tools that change an account; new items are always created PAUSED.
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), then fully quit and restart Claude Desktop:
{
"mcpServers": {
"mcp-reddit-ads": {
"command": "npx",
"args": ["-y", "mcp-reddit-ads"],
"env": {
"REDDIT_CLIENT_ID": "YOUR_CLIENT_ID",
"REDDIT_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"REDDIT_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN"
}
}
}
}
Add this to ~/.codex/config.toml:
[mcp_servers.mcp-reddit-ads]
command = "npx"
args = ["-y", "mcp-reddit-ads"]
[mcp_servers.mcp-reddit-ads.env]
REDDIT_CLIENT_ID = "YOUR_CLIENT_ID"
REDDIT_CLIENT_SECRET = "YOUR_CLIENT_SECRET"
REDDIT_REFRESH_TOKEN = "YOUR_REFRESH_TOKEN"
Features
- 18 tools covering full CRUD for campaigns, ad groups, and ads
- Performance reports with daily breakdowns
- Subreddit, interest, and geographic targeting
- Bulk pause/enable operations
- Safe by default: all new entities created in PAUSED status
- Budget inputs in dollars (auto-converts to Reddit's microcurrency format)
Installation
npm install mcp-reddit-ads
Or clone the repository:
git clone https://github.com/mharnett/mcp-reddit-ads.git
cd mcp-reddit-ads
npm install
npm run build
Configuration
Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.
1. Reddit OAuth App
Create a Reddit OAuth app at reddit.com/prefs/apps:
- Select "script" type
- Note the client ID and client secret
- Obtain a refresh token with
adsread adsedit readscopes
2. Environment Variables
Set credentials via environment variables:
| Variable | Description |
|---|---|
REDDIT_CLIENT_ID | OAuth app client ID |
REDDIT_CLIENT_SECRET | OAuth app client secret |
REDDIT_REFRESH_TOKEN | OAuth refresh token with ads scopes |
REDDIT_ADS_MCP_WRITE | Set to true to enable mutating tools (create/update/pause/enable). Unset = read-only (default). |
Read-only by default
As of v1.1.0 the MCP starts in read-only mode. The 10 read/report/targeting tools are always exposed, but the 8 mutating tools (create/update campaigns, ad groups, ads, and bulk pause/enable) are hidden from the tool list and refused at call time unless REDDIT_ADS_MCP_WRITE=true is set in the server's environment. This guards against a casual chat message accidentally mutating live ad spend. Enable writes deliberately, for the sessions where you actually intend to ship changes.
3. Config File
Copy config.example.json to config.json and fill in defaults:
{
"reddit_api": {
"base_url": "https://ads-api.reddit.com/api/v3",
"auth": {
"client_id": "",
"client_secret": "",
"refresh_token": "",
"user_agent": "reddit-ad-mcp/1.0"
}
},
"defaults": {
"account_id": "",
"business_id": "",
"report_metrics": ["impressions", "clicks", "spend", "ctr", "cpc", "ecpm"],
"date_range_days": 7
}
}
Environment variables take precedence over config file values.
Usage
Claude Code (.mcp.json)
{
"mcpServers": {
"reddit-ads": {
"command": "node",
"args": ["/path/to/mcp-reddit-ads/dist/index.js"],
"env": {
"REDDIT_CLIENT_ID": "$(security find-generic-password -a reddit-ads-mcp -s REDDIT_CLIENT_ID -w)",
"REDDIT_CLIENT_SECRET": "$(security find-generic-password -a reddit-ads-mcp -s REDDIT_CLIENT_SECRET -w)",
"REDDIT_REFRESH_TOKEN": "$(security find-generic-password -a reddit-ads-mcp -s REDDIT_REFRESH_TOKEN -w)"
}
}
}
}
Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Tools
Context
| Tool | Description |
|---|---|
reddit_ads_get_client_context | Get account info and verify API connectivity |
reddit_ads_get_accounts | List all ad accounts accessible to the authenticated user |
Read
| Tool | Description |
|---|---|
reddit_ads_get_campaigns | List campaigns with optional status filter |
reddit_ads_get_ad_groups | List ad groups for a campaign |
reddit_ads_get_ads | List ads for an ad group |
reddit_ads_get_performance_report | Aggregated performance metrics for campaigns/ad groups/ads |
reddit_ads_get_daily_performance | Day-by-day performance breakdown |
Write: Campaigns
| Tool | Description |
|---|---|
reddit_ads_create_campaign | Create a new campaign (PAUSED by default) |
reddit_ads_update_campaign | Update campaign name, budget, objective, or status |
Write: Ad Groups
| Tool | Description |
|---|---|
reddit_ads_create_ad_group | Create a new ad group with targeting (PAUSED by default) |
reddit_ads_update_ad_group | Update ad group bid, targeting, or status |
Write: Ads
| Tool | Description |
|---|---|
reddit_ads_create_ad | Create a new ad with headline, body, URL, and media (PAUSED by default) |
reddit_ads_update_ad | Update ad creative or status |
Bulk Operations
| Tool | Description |
|---|---|
reddit_ads_pause_items | Pause multiple campaigns, ad groups, or ads at once |
reddit_ads_enable_items | Enable multiple campaigns, ad groups, or ads at once |
Targeting
| Tool | Description |
|---|---|
reddit_ads_search_subreddits | Search for subreddits by keyword for targeting |
reddit_ads_get_interest_categories | List available interest categories for targeting |
reddit_ads_search_geo_targets | Search for geographic targeting options (countries, regions, metros) |
Key Conventions
- Spend values are returned from the API in microcurrency (1 dollar = 1,000,000 microcurrency units). Divide by 1,000,000 to get dollar amounts. Budget inputs accept dollars and auto-convert.
- Dates and times use ISO 8601 format (
YYYY-MM-DDTHH:MM:SSZ). - New entities are always created PAUSED, whatever
configured_statussays. Use an update tool orreddit_ads_enable_itemsto go live. - Report metrics default to the set configured in
config.jsonbut can be overridden per request.
Architecture
- Resilience: Uses cockatiel for retry policies and circuit breaking on API calls
- Logging: Structured logging via pino
- Response truncation: Large API responses are truncated at 200KB to stay within MCP message limits
- Auth: OAuth 2.0 refresh token flow with automatic access token renewal
License
MIT -- see LICENSE.
Author
Built by Mark Harnett / drak-marketing.
Frequently asked questions
What is reddit-ads MCP Server?
Reddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting.
How do I install reddit-ads MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. reddit-ads MCP Server runs locally from the npm package mcp-reddit-ads with the command npx -y mcp-reddit-ads@1.1.4.
Is reddit-ads MCP Server free and open source?
Yes. reddit-ads MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does reddit-ads MCP Server support remote (HTTP) connections?
No remote endpoint is listed for reddit-ads MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does reddit-ads MCP Server provide?
reddit-ads MCP Server provides 18 tools, including reddit_ads_create_ad, reddit_ads_create_ad_group, reddit_ads_create_campaign, and reddit_ads_enable_items. See the full tool list for descriptions and parameters.
How is reddit-ads MCP Server's trust score calculated?
reddit-ads MCP Server scores 72 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.