All posts
The MCP Advertising Stack

How to Connect Facebook Ads to Claude (Step-by-Step)

The definitive step-by-step guide to connecting your Facebook Ads account to Claude Desktop using MCP. Takes about 60 seconds from start to finish.

EricMarch 22, 20263 min read

How to Connect Facebook Ads to Claude (Step-by-Step)

This guide walks you through connecting your Facebook Ads data to Claude Desktop so you can ask questions about your live ad performance directly in Claude.

The whole process takes about 60 seconds.

What You Need

  • Claude Desktop installed on your computer (download here)
  • A Facebook Ads account with active or recent campaigns
  • An AdChat account — this is the MCP server that bridges Claude and your Facebook data

Step 1: Create Your AdChat Account

Go to adchat.app/checkout and create your account. You'll need an email and password — that's it.

Step 2: Connect Your Facebook Ads

After creating your account, you'll be prompted to connect your Facebook Ads account. Click "Connect Facebook" and authorize AdChat to read your ad data.

What permissions does this require?

AdChat requests read-only access to your ads data. It can see your campaigns, ad sets, ads, and performance metrics. It cannot modify your ads, change budgets, or create new campaigns.

Multiple ad accounts?

If you manage multiple ad accounts, you can select which ones to connect. All connected accounts will be accessible through Claude.

Step 3: Copy Your MCP Config

Once your Facebook account is connected, AdChat shows you your MCP configuration. It looks something like this:

json
{
  "mcpServers": {
    "adchat": {
      "command": "npx",
      "args": ["-y", "@anthropic/adchat-mcp"],
      "env": {
        "ADCHAT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Copy this entire JSON snippet. You'll paste it into Claude Desktop's settings next.

Step 4: Add to Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings (click the gear icon or use Cmd+, on Mac / Ctrl+, on Windows)
  3. Click Developer in the sidebar
  4. Click Edit Config
  5. Paste the MCP config you copied from AdChat
  6. Save and restart Claude Desktop

After restarting, you should see an MCP tools indicator in the Claude interface — this confirms the connection is active.

Step 5: Ask Your First Question

Open a new conversation in Claude and try:

"Give me an overview of my Facebook Ads performance this week."

Claude will use AdChat's MCP server to fetch your live ad data and provide a detailed analysis. You should see your actual campaigns, spend, and metrics in the response.

If this works, you're all set.

Troubleshooting

"MCP server not found" error

Make sure you restarted Claude Desktop after adding the config. The MCP connection only initializes on startup.

"Authentication failed" error

Double-check your API key in the config matches what's shown in your AdChat dashboard. If you've regenerated your key, you'll need to update the config.

Claude doesn't mention my ads

Make sure you've connected at least one ad account in AdChat and that the account has recent activity. Try asking Claude directly: "Can you connect to my AdChat MCP server?"

Config file location

Claude Desktop stores its config at:

  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

You can edit this file directly if the UI approach doesn't work.

What to Ask First

Now that you're connected, here are the best first questions to try:

  1. "How did my ads do yesterday?" — Quick performance check
  2. "Which ads are wasting money?" — Find inefficient spend immediately
  3. "Give me a full audit of my account" — Comprehensive analysis

For a full list of the most effective questions, read The 7 Questions Every Advertiser Should Ask Their Ads Every Week.

What's Next

Once you're comfortable with basic queries, try more advanced workflows:

  • Weekly audits: Ask for a full account review every Monday
  • Creative testing: Use AI to generate headline variations based on your winners
  • Competitive analysis: Ask Claude to analyze trends in your data and suggest new angles
  • Reporting: Generate client-ready summaries in seconds

The more you use it, the more you'll discover what's possible. The AI gets better at helping you when you give it specific, detailed questions about your data.

Already have an AdChat account? Go to your dashboard →

Try this with your own ads

AdChat connects your Facebook Ads to Claude or ChatGPT. See your live ad data, get AI-powered analysis, and make better decisions in seconds.

Get AdChat