Plugsight

Marketing & analytics · Claude Code

Connect Meta Ads to Claude Code

Ask your AI how your Facebook and Instagram ads are doing, next to Google and Microsoft Ads. Plugsight links Meta Ads to Claude Code in a few minutes, with no code and no exports.

What you can ask Claude Code about Meta Ads

Is Instagram or Facebook cheaper per purchase for us?
Which ads are being shown too often to the same people?
Compare Meta, Google Ads and Microsoft Ads spend and conversions for the last 30 days.
How much did we spend on Meta last month, and what was the ROAS by campaign?
Which ad sets have the highest cost per lead this month?

How to connect Meta Ads to Claude Code

  1. Create a free Plugsight account.
  2. Sign in with Facebook. Plugsight finds every Meta ad account your login can open, including ones shared through a business portfolio.

Then add Plugsight to Claude Code

  1. In Plugsight, open MCP servers, create one and copy its URL.
  2. Add it to Claude Code (use your server's URL):claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID
  3. Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access.
  4. Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected.
  5. No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead:claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"

Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead. Works with any Claude Code setup.

Full steps and troubleshooting in the docs: Claude Code.

Meta Ads data available

  • Spend, impressions, reach, frequency, clicks and link clicks
  • Purchases, purchase value, ROAS, leads and cost per result
  • Results by campaign, ad set or ad, per day or per month
  • Breakdowns by age, gender, country, platform, placement and device
  • Campaign settings: status, objective, budget and bid strategy

Ready-made analyses

  • Account overview: Every platform and account, this period against the last.
  • Period comparison: Any metrics against the previous period or last year.

Why use Meta Ads in Claude Code

  • Combine your data with scripts and files
  • Automate recurring reports
  • Ideal for analysts and developers

Questions about Meta Ads and Claude Code

How do I connect Meta Ads to Claude Code?

Create a free Plugsight account and connect Meta Ads: Sign in with Facebook. Plugsight finds every Meta ad account your login can open, including ones shared through a business portfolio. Then add Plugsight to Claude Code: In Plugsight, open MCP servers, create one and copy its URL. Add it to Claude Code (use your server's URL): claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access. Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected. No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead: claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"

Can Claude Code read my Meta Ads data?

Yes, once connected. Claude Code can see: Spend, impressions, reach, frequency, clicks and link clicks; Purchases, purchase value, ROAS, leads and cost per result; Results by campaign, ad set or ad, per day or per month; Breakdowns by age, gender, country, platform, placement and device. For example, ask: "How much did we spend on Meta last month, and what was the ROAS by campaign?"

Which Claude Code plans work?

Works with any Claude Code setup.

How does Claude Code sign in to Plugsight?

Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead.

Can Claude Code change anything in Meta Ads?

No. Plugsight only reads Meta Ads; it never creates, changes or deletes anything there.

Is the Meta Ads connector free?

Meta Ads is on the Pro plan ($29 a month, or $290 a year), which also adds more connections and the other marketing sources. The Free plan covers email, helpdesk, calendar, contacts, files, stores and email marketing.

Good to know

  • Meta sign-ins last about 60 days; Plugsight tells you when to reconnect.

Connect Meta Ads to Claude Code

Free plan, no credit card. Set up in about five minutes.

Updated