facebook-ads-library-mcp
Scrape public Facebook Ad Library results for ad research without an API key.
Install
See the repository for setupWhat it does
This is a small MCP server that pulls the publicly visible Facebook Ad Library through a headless Chromium browser, so ad research can happen inside an MCP client without a Facebook account or API token. It offers two tools: a keyword search scoped to a country and a scraper that accepts any Ad Library URL you already have. Each ad comes back as a structured record with the Page name and handle, first-seen date, a count of creatives sharing the copy, the unwrapped landing domain, button label, headline strip, full body text, thumbnail, and a deep link, along with an advertiser histogram and raw page markdown as fallback.
It suits marketers and analysts comparing competitor creative and destinations. Install from the repository, then register the script with Claude Code or Claude Desktop using the documented command or config entry and restart the client. Two caveats matter: spend and impression figures are unavailable because Meta publishes them only for political ads via its API, and layout changes can break field extraction even though raw markdown is still returned. There is no caching or rate-limit handling.
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
- 305
- Last push
- Aug 29, 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.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/facebook-ads-library-mcp-2"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.