Reddit Ads MCP Server

Reddit Ads MCP Server

Read-only access to Reddit Ads API v3 for listing ad accounts, campaigns, ad groups, ads, and generating performance reports with OAuth2 authentication.

Category
Visit Server

README

Reddit Ads MCP Server

A Model Context Protocol (MCP) server that provides read-only access to the Reddit Ads API v3.

Features

  • List ad accounts, campaigns, ad groups, and ads
  • Generate performance reports with flexible metrics and breakdowns
  • Daily performance trends
  • OAuth2 authentication with automatic token refresh
  • Configurable defaults for account ID and metrics

Setup

1. Create a Reddit Developer App

  1. Go to https://www.reddit.com/prefs/apps
  2. Click "create another app..."
  3. Fill in:
    • name: reddit-ad-mcp (or your preference)
    • type: Select "script"
    • redirect uri: http://localhost:8080 (won't be used but required)
  4. Click "create app"
  5. Note your client_id (under the app name) and client_secret

2. Get a Refresh Token

You need to do a one-time OAuth flow to get a refresh token:

# 1. Open this URL in your browser (replace CLIENT_ID):
https://www.reddit.com/api/v1/authorize?client_id=CLIENT_ID&response_type=code&state=random&redirect_uri=http://localhost:8080&duration=permanent&scope=adsread

# 2. Authorize the app - you'll be redirected to localhost with a ?code= parameter

# 3. Exchange the code for tokens (replace CLIENT_ID, CLIENT_SECRET, and CODE):
curl -X POST https://www.reddit.com/api/v1/access_token \
  -u "CLIENT_ID:CLIENT_SECRET" \
  -d "grant_type=authorization_code&code=CODE&redirect_uri=http://localhost:8080"

# 4. Save the refresh_token from the response

3. Configure the MCP Server

Create config.local.json (copy from config.json):

{
  "reddit_api": {
    "base_url": "https://ads-api.reddit.com/api/v3",
    "auth": {
      "client_id": "YOUR_CLIENT_ID",
      "client_secret": "YOUR_CLIENT_SECRET",
      "refresh_token": "YOUR_REFRESH_TOKEN",
      "user_agent": "reddit-ad-mcp/1.0"
    }
  },
  ...
  "defaults": {
    "account_id": "YOUR_AD_ACCOUNT_ID"
  }
}

4. Install Dependencies

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

5. Add to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "reddit-ads": {
      "command": "/path/to/reddit-ad-mcp/.venv/bin/python",
      "args": ["/path/to/reddit-ad-mcp/server.py"]
    }
  }
}

Available Tools

Tool Description
get_accounts List all accessible ad accounts
get_campaigns List campaigns for an account
get_ad_groups List ad groups (optionally filtered by campaign)
get_ads List ads (optionally filtered by ad group)
get_performance_report Generate a performance report with custom metrics and breakdowns
get_daily_performance Convenience tool for daily trend analysis

Example Queries

Once connected to Claude, you can ask things like:

  • "Show me my Reddit ad accounts"
  • "What campaigns do I have running?"
  • "How did my ads perform last week?"
  • "Show me daily spend for the last 30 days"
  • "Break down campaign performance by country"

Report Metrics

Available metrics for performance reports:

Core: impressions, reach, clicks, spend, ecpm, ctr, cpc

Video: video_viewable_impressions, video_fully_viewable_impressions, video_watched_25/50/75/100_percent

Conversions: conversion_purchase_clicks, conversion_purchase_views, conversion_add_to_cart_clicks, conversion_lead_clicks, conversion_sign_up_clicks, conversion_page_visit_clicks

Report Breakdowns

Available breakdown dimensions: date, country, region, community, placement, device_os

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured