Meta Ads Analyzer

v1.0.0Marketing & SEOstable

Meta Ads Analyzer skill + MCP server for Claude Code. Breakdown Effect, Learning Phase, and expert-level campaign diagnosis.

meta-ads-analyzermcpai-integration
Share:
341
Stars
0
Downloads
0
Weekly
0/5

What is Meta Ads Analyzer?

Meta Ads Analyzer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to meta ads analyzer skill + mcp server for claude code. breakdown effect, learning phase, and expert-level campaign diagnosis.

Meta Ads Analyzer skill + MCP server for Claude Code. Breakdown Effect, Learning Phase, and expert-level campaign diagnosis.

This server falls under the Marketing & SEO category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Meta Ads Analyzer skill + MCP server for Claude Code. Breakd

Use Cases

Diagnose Facebook/Instagram ad campaigns.
Analyze learning phase metrics.
Provide expert campaign insights.
mathiaschu

Maintainer

LicenseMIT
Languageshell
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx meta-ads-analyzer

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Meta Ads Analyzer

Meta Ads Analyzer is a Claude Code skill and MCP server that enables expert-level diagnosis of Facebook and Instagram advertising campaigns. It connects to Meta's Marketing API to retrieve live campaign, ad set, and ad performance data, then applies structured frameworks including Breakdown Effect analysis, Learning Phase diagnosis, Auction Overlap detection, and Creative Fatigue identification. It can also work with exported CSV data or screenshots, making it useful for both automated workflows and manual review sessions.

Prerequisites

  • Claude Code (claude.ai/code) or another MCP-compatible client installed
  • A Meta Developer account with an app configured for Marketing API access
  • A long-lived Meta access token (60-day expiration) with ads_read and ads_management permissions
  • Meta App ID and App Secret from the Meta Developer console
  • Node.js or Bash available to run the token refresh script
1

Clone the repository

Clone the meta-ads-analyzer repository from GitHub to your local machine.

git clone https://github.com/mathiaschu/meta-ads-analyzer.git
cd meta-ads-analyzer
2

Copy the MCP configuration template

Copy the example MCP configuration file to create your working .mcp.json file, which stores your Meta API credentials.

cp mcp/mcp.json.example .mcp.json
3

Add your Meta API credentials to .mcp.json

Edit .mcp.json and fill in your Meta App ID, App Secret, and long-lived access token. These can be obtained from the Meta Developer console and the access token tool at developers.facebook.com/tools/access_token.

{
  "APP_ID": "your_meta_app_id",
  "APP_SECRET": "your_meta_app_secret",
  "ACCESS_TOKEN": "your_long_lived_access_token"
}
4

Install the skill into Claude Code

Copy the skill files into Claude Code's skills directory so the analyzer is available as a Claude Code skill.

mkdir -p .claude/skills/meta-ads-analyzer
cp -r skill/* .claude/skills/meta-ads-analyzer/
5

Configure token refresh schedule

Meta access tokens expire after 60 days. Set up a reminder or cron job to run the refresh script before expiration to avoid disruption.

bash scripts/refresh_token.sh
6

Start analyzing your campaigns

In Claude Code or your MCP client, invoke the Meta Ads Analyzer skill to retrieve campaign data, diagnose issues, and generate structured reports.

Meta Ads Analyzer Examples

Client configuration (Claude Desktop / MCP)

MCP server configuration for Meta Ads Analyzer.

{
  "mcpServers": {
    "meta-ads-analyzer": {
      "command": "npx",
      "args": ["meta-ads-analyzer"],
      "env": {
        "APP_ID": "your_meta_app_id",
        "APP_SECRET": "your_meta_app_secret",
        "ACCESS_TOKEN": "your_long_lived_access_token"
      }
    }
  }
}

Prompts to try

Example prompts that work well once the Meta Ads Analyzer skill is installed.

- "Analyze my campaigns from the last 7 days and identify the top issues"
- "Why is my CPA increasing on the Summer Sale campaign?"
- "Diagnose why this ad set is stuck in Learning Limited"
- "Check for Auction Overlap issues across my active campaigns"
- "Compare performance across Facebook Feed, Reels, and Stories placements"
- "Generate a full analysis report for my Q2 retargeting campaigns"

Troubleshooting Meta Ads Analyzer

Access token expired — API calls return authentication errors

Meta long-lived tokens expire after 60 days. Run 'bash scripts/refresh_token.sh' to generate a new token, then update the ACCESS_TOKEN in your .mcp.json file.

Insufficient permissions error when fetching campaign data

Your Meta access token must have the ads_read and ads_management permissions. Regenerate your token from the Meta Developer console and ensure both permissions are granted during the OAuth flow.

Skill not found in Claude Code after installation

Verify the skill files were copied to the correct path: .claude/skills/meta-ads-analyzer/ relative to your project root. Restart Claude Code after copying the skill files.

Frequently Asked Questions about Meta Ads Analyzer

What is Meta Ads Analyzer?

Meta Ads Analyzer is a Model Context Protocol (MCP) server that meta ads analyzer skill + mcp server for claude code. breakdown effect, learning phase, and expert-level campaign diagnosis. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Meta Ads Analyzer?

Follow the installation instructions on the Meta Ads Analyzer GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Meta Ads Analyzer?

Meta Ads Analyzer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Meta Ads Analyzer free to use?

Yes, Meta Ads Analyzer is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Marketing & SEO MCP Servers

Explore all marketing & seo servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "meta-ads-analyzer": { "command": "npx", "args": ["-y", "meta-ads-analyzer"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Meta Ads Analyzer?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides