Skip to content
MCP server
Registry

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.

by mharnettMITTypeScript4 stars
Trust score
72Good
Trust score 72 of 100, Good

Good trust

72 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 72 comes from

22 + 20 + 6 + 10 + 4 + 10 = 72. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity6 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 6 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
REDDIT_CLIENT_IDRequiredReddit OAuth app client ID
REDDIT_CLIENT_SECRETSecretRequiredReddit OAuth app client secret
REDDIT_REFRESH_TOKENSecretRequiredReddit OAuth refresh token

Tools18Tool docs quality grade C

All capabilities

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 read scopes

2. Environment Variables

Set credentials via environment variables:

VariableDescription
REDDIT_CLIENT_IDOAuth app client ID
REDDIT_CLIENT_SECRETOAuth app client secret
REDDIT_REFRESH_TOKENOAuth refresh token with ads scopes
REDDIT_ADS_MCP_WRITESet 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

ToolDescription
reddit_ads_get_client_contextGet account info and verify API connectivity
reddit_ads_get_accountsList all ad accounts accessible to the authenticated user

Read

ToolDescription
reddit_ads_get_campaignsList campaigns with optional status filter
reddit_ads_get_ad_groupsList ad groups for a campaign
reddit_ads_get_adsList ads for an ad group
reddit_ads_get_performance_reportAggregated performance metrics for campaigns/ad groups/ads
reddit_ads_get_daily_performanceDay-by-day performance breakdown

Write: Campaigns

ToolDescription
reddit_ads_create_campaignCreate a new campaign (PAUSED by default)
reddit_ads_update_campaignUpdate campaign name, budget, objective, or status

Write: Ad Groups

ToolDescription
reddit_ads_create_ad_groupCreate a new ad group with targeting (PAUSED by default)
reddit_ads_update_ad_groupUpdate ad group bid, targeting, or status

Write: Ads

ToolDescription
reddit_ads_create_adCreate a new ad with headline, body, URL, and media (PAUSED by default)
reddit_ads_update_adUpdate ad creative or status

Bulk Operations

ToolDescription
reddit_ads_pause_itemsPause multiple campaigns, ad groups, or ads at once
reddit_ads_enable_itemsEnable multiple campaigns, ad groups, or ads at once

Targeting

ToolDescription
reddit_ads_search_subredditsSearch for subreddits by keyword for targeting
reddit_ads_get_interest_categoriesList available interest categories for targeting
reddit_ads_search_geo_targetsSearch 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_status says. Use an update tool or reddit_ads_enable_items to go live.
  • Report metrics default to the set configured in config.json but 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server