Skip to main content
ClaudeWave

LinkedIn Ads MCP server with full write access: 25 tools across campaigns, creatives, audiences, conversions, and analytics. Create, update, and delete from Claude, ChatGPT, or Cursor. Self-hosted and free. Hosted version at adplug.app.

MCP ServersOfficial Registry33 stars10 forksTypeScriptMITUpdated 14d ago
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/17/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/danielpopamd/linkedin-ads-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "linkedin-ads-mcp": {
      "command": "node",
      "args": ["/path/to/linkedin-ads-mcp/dist/index.js"],
      "env": {
        "LINKEDIN_CLIENT_SECRET": "<linkedin_client_secret>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/danielpopamd/linkedin-ads-mcp and follow its README for install instructions.
Detected environment variables
LINKEDIN_CLIENT_SECRET
Use cases

MCP Servers overview

# LinkedIn Ads MCP Server

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js Version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen)](https://nodejs.org)
[![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)

An MCP (Model Context Protocol) server that enables **Claude AI** to access and analyze your LinkedIn Ads data. Built for marketers, founders, and growth teams who want to leverage AI for campaign optimization, performance reporting, and data-driven advertising decisions.

> [!TIP]
> **Want this without any setup?** From the same author: **[AdPlug](https://adplug.app?utm_source=github&utm_medium=referral&utm_campaign=linkedin-ads-mcp&utm_content=readme-tip)** is the hosted LinkedIn Ads MCP. Sign in with OAuth (no LinkedIn developer app, no credentials to manage), connect Claude, ChatGPT, or Cursor in about two minutes, and get Google Ads and Microsoft Ads on the same connector. Read tools are free; every write is previewed before it runs. This open-source server stays free and self-hosted.

---

# Quick Install (No Coding Required!)

**Don't want to deal with technical stuff?** Just copy one of the prompts below and paste it into Claude. The AI will do everything for you!

---

## Option 1: Install with Claude Code (Recommended)

If you have [Claude Code](https://claude.ai/code) installed, just copy and paste this entire prompt:

<details>
<summary><strong>Click to expand the Claude Code installation prompt</strong></summary>

```
I want you to install the LinkedIn Ads MCP server so I can analyze my LinkedIn advertising data. Please do the following:

1. FIRST, check if Node.js is installed by running `node --version`. If not installed, tell me to install it from https://nodejs.org first.

2. Clone the repository to my home directory:
   - cd ~
   - git clone https://github.com/danielpopamd/linkedin-ads-mcp.git
   - cd linkedin-ads-mcp

3. Install dependencies and build:
   - npm install
   - npm run build

4. Create the .env file with placeholder values:
   - cp .env.example .env

5. NOW IMPORTANT - Ask me for my LinkedIn API credentials:
   - Ask: "Please provide your LinkedIn Client ID (from https://www.linkedin.com/developers/apps)"
   - Ask: "Please provide your LinkedIn Client Secret"

6. Update the .env file with the credentials I provide.

7. Set up Claude Desktop configuration:
   - Read the current Claude Desktop config file:
     - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
     - Windows: %APPDATA%/Claude/claude_desktop_config.json
   - Add the linkedin-ads MCP server to mcpServers (merge with existing config if any):
     {
       "mcpServers": {
         "linkedin-ads": {
           "command": "node",
           "args": ["<FULL_PATH_TO>/linkedin-ads-mcp/dist/index.js"],
           "env": {
             "LINKEDIN_CLIENT_ID": "<MY_CLIENT_ID>",
             "LINKEDIN_CLIENT_SECRET": "<MY_CLIENT_SECRET>"
           }
         }
       }
     }
   - Replace <FULL_PATH_TO> with the actual path (e.g., /Users/username)
   - Replace the env values with my actual credentials

8. Run the authentication flow:
   - npm run auth
   - This will open my browser - tell me to authorize the app with LinkedIn

9. Tell me to restart Claude Desktop to activate the MCP server.

10. After restart, confirm setup by telling me to ask Claude: "List my LinkedIn ad accounts"

If you don't have my LinkedIn API credentials yet, first explain how to get them:
- Go to https://www.linkedin.com/developers/apps
- Create a new app (need a LinkedIn Company Page)
- Go to Products tab and request "Advertising API" access
- Go to Auth tab and add redirect URL: http://localhost:3000/callback
- Copy the Client ID and Client Secret

Start now!
```

</details>

---

## Option 2: Install with Claude Desktop (Chat-Based)

If you're using Claude Desktop directly (without Claude Code), copy this prompt to start a guided setup:

<details>
<summary><strong>Click to expand the Claude Desktop guided setup prompt</strong></summary>

```
I want to install the LinkedIn Ads MCP server to analyze my LinkedIn advertising data with Claude. I'm not technical, so please guide me step by step with simple instructions.

Please walk me through:

1. **Check Prerequisites**
   - Do I have Node.js installed? (Tell me how to check and where to download if needed)
   - Do I have a LinkedIn Developer App? (If not, guide me through creating one at https://www.linkedin.com/developers/apps)

2. **Get LinkedIn API Access**
   Walk me through:
   - Creating a LinkedIn Developer App
   - Requesting Advertising API access (Products tab)
   - Adding the redirect URL: http://localhost:3000/callback (Auth tab)
   - Finding my Client ID and Client Secret

3. **Download and Install**
   Give me the exact commands to run in my terminal (one at a time):
   - How to open Terminal (Mac) or Command Prompt (Windows)
   - Clone the repository
   - Install dependencies
   - Build the project

4. **Configure Claude Desktop**
   - Tell me exactly where the config file is located
   - Give me the exact JSON to add (with placeholders for my credentials)
   - Show me how to edit the file

5. **Authenticate with LinkedIn**
   - What command to run
   - What to do when the browser opens

6. **Test the Setup**
   - Tell me to restart Claude Desktop
   - Give me a test question to ask

Please start with step 1 and wait for my response before moving to the next step. Use simple language and assume I've never used a terminal before.
```

</details>

---

## What You'll Need Before Installing

Before using either installation method, you'll need:

1. **Node.js** (version 18 or higher) - [Download here](https://nodejs.org)
2. **A LinkedIn Company Page** - Required to create a developer app
3. **LinkedIn Developer App** with Advertising API access - [Create one here](https://www.linkedin.com/developers/apps)

### Getting LinkedIn API Credentials (5-10 minutes)

1. Go to [LinkedIn Developer Portal](https://www.linkedin.com/developers/apps)
2. Click **"Create App"**
3. Fill in:
   - **App name**: "My LinkedIn Ads Analytics" (or anything you want)
   - **LinkedIn Page**: Select your company page
   - **App logo**: Upload any square image
4. After creating, go to **"Products"** tab → Request **"Advertising API"** (approval takes 1-5 days)
5. Go to **"Auth"** tab → Add redirect URL: `http://localhost:3000/callback`
6. Copy your **Client ID** and **Client Secret** - you'll need these!

---

## Created By

**[Daniel Popa](https://danielpopa.me)** - Performance Marketing Consultant & AI Automation Specialist

I help ambitious startups scale profitably through paid ads, conversion rate optimization, and data-driven growth strategies. With 10+ years in performance marketing and $100M+ in managed ad budgets, I now focus on implementing AI workflows and automation to improve marketing efficiency and performance.

This tool was built to bridge the gap between LinkedIn's advertising data and AI-powered analysis, making it easier for marketers to get actionable insights through natural language conversations with Claude.

- Website: [danielpopa.me](https://danielpopa.me)
- Focus: Performance Marketing, AI Automation, Growth Strategy

---

# Manual Installation (For Developers)

If you prefer to install manually or want more control, follow the instructions below.

---

## What This Does

This MCP server connects Claude Desktop (or any MCP-compatible client) to the LinkedIn Marketing API, allowing you to:

- **Query campaign performance** using natural language
- **Analyze audience demographics** to understand who's engaging with your ads
- **Track conversions and leads** across your LinkedIn campaigns
- **Compare performance** between time periods, campaigns, or campaign groups
- **Get AI-powered insights** on your advertising data

### Example Conversations with Claude

```
"Show me campaign performance for the last 30 days"
"Which job functions are responding best to my ads?"
"Compare this week's performance vs last week"
"What's my cost per lead for the lead gen campaigns?"
"Which creatives have the best CTR?"
"Show me the daily trend for conversions"
```

---

## Features

- **25 Specialized Tools** - Covering accounts, campaigns, creatives, audiences, conversions, analytics, and full campaign management (create, update, delete)
- **Comprehensive Metrics** - Every report includes: Spend, Impressions, Clicks, CTR, Reach, Frequency, Engagements, Engagement Rate, CPM, CPC, Conversions, Conversion Rate, Cost per Conversion, Audience Penetration, and Average Dwell Time
- **Single OAuth Authentication** - Authenticate once and access all your LinkedIn ad accounts
- **Automatic Token Refresh** - Tokens refresh automatically before expiration
- **Rate Limit Handling** - Built-in exponential backoff for API rate limits
- **Human-Readable Names** - Demographic data shows actual names (not IDs) for seniorities, job functions, industries, and more

---

## Prerequisites

### 1. LinkedIn Developer App

Before using this MCP server, you need to set up a LinkedIn Developer application:

1. Go to [LinkedIn Developer Portal](https://www.linkedin.com/developers/apps)
2. Click **"Create App"**
3. Fill in your app details:
   - **App name**: e.g., "My LinkedIn Ads Analytics"
   - **LinkedIn Page**: Select your company page
   - **App logo**: Upload a logo (required)
4. Note your **Client ID** and **Client Secret**

### 2. Request Advertising API Access

1. In your app, go to the **"Products"** tab
2. Select **"Advertising API"**
3. Submit the request form with your business justification
4. Wait for approval (typically 1-5 business days)

### 3. Configure OAuth

1. Go to the **"Auth"** tab in your app
2. Add this redirect URL: `http://localhost:3000/callback`
3. Verify these OAuth 2.0 scopes are available:
   - `r_ads` - Read ad accounts
   - `r_ads_reporting` - Read 
adplugadvertisingai-agentsb2b-marketingcampaign-managementchatgptclaudecursorlinkedin-adslinkedin-marketing-apimarketing-automationmcpmcp-servermodel-context-protocolppc

What people ask about linkedin-ads-mcp

What is danielpopamd/linkedin-ads-mcp?

+

danielpopamd/linkedin-ads-mcp is mcp servers for the Claude AI ecosystem. LinkedIn Ads MCP server with full write access: 25 tools across campaigns, creatives, audiences, conversions, and analytics. Create, update, and delete from Claude, ChatGPT, or Cursor. Self-hosted and free. Hosted version at adplug.app. It has 33 GitHub stars and its last recorded update is dated 2026-09-02.

How do I install linkedin-ads-mcp?

+

You can install linkedin-ads-mcp by cloning the repository (https://github.com/danielpopamd/linkedin-ads-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is danielpopamd/linkedin-ads-mcp safe to use?

+

Our security agent has analyzed danielpopamd/linkedin-ads-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains danielpopamd/linkedin-ads-mcp?

+

danielpopamd/linkedin-ads-mcp is maintained by danielpopamd. The last recorded GitHub activity is dated 2026-09-02, with 4 open issues.

Are there alternatives to linkedin-ads-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy linkedin-ads-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: danielpopamd/linkedin-ads-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/danielpopamd-linkedin-ads-mcp)](https://claudewave.com/repo/danielpopamd-linkedin-ads-mcp)
<a href="https://claudewave.com/repo/danielpopamd-linkedin-ads-mcp"><img src="https://claudewave.com/api/badge/danielpopamd-linkedin-ads-mcp" alt="Featured on ClaudeWave: danielpopamd/linkedin-ads-mcp" width="320" height="64" /></a>

More MCP Servers

linkedin-ads-mcp alternatives