facebook-ads-library-mcp

Search and analyze public Facebook ads by brand or keyword from your MCP client.

Local

Install

See setup instructions on useproxy.dev

What it does

This server exposes Meta's public ad library through the Model Context Protocol, letting an assistant look up a company's currently running Facebook and Instagram ads or search every advertiser by keyword, country, format and date. It returns ad text and images for the model to interpret, and can have Gemini analyze video creatives. Brand pulls also report what changed since the previous fetch, and built-in playbooks walk through tasks such as script writing, competitor teardown and product hunting.

It is aimed at marketers and developers doing competitive or creative research. Self-hosting needs Python 3.12+, a ScrapeCreators API key paid per call, and optionally a Gemini key for video. It runs over stdio for Claude Desktop, Claude Code and Cursor; Docker or Render can serve it over HTTP when an auth token of 16 or more characters is set.

Limitations: only Meta is covered, ChatGPT and claude.ai need a hosted OAuth version, and anonymous telemetry is sent per tool call unless disabled.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
332
Last push
Nov 21, 2026
License
MIT
Archived
No

FAQ

What license does facebook-ads-library-mcp use?
MIT
Does facebook-ads-library-mcp run locally or remotely?
It runs locally.
Is facebook-ads-library-mcp an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/facebook-ads-library-mcp"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options