Purpose
mcp-meta-ad-library-monitor is an MCP (Model Context Protocol) server for finding the ads a company is running on Facebook and Instagram. It wraps the Mamba Labs "Meta Ad Library Ads by Company" Graph API actor on Apify and returns Clay-ready flat JSON rows to any MCP client.
Key capabilities
- Enter a company name or domain and your own Meta access token to search the Meta ad library.
- Returns one flat row per ad, including creative text, title, delivery dates, the Meta platforms the ad ran on (publisher_platforms), and the permanent snapshot URL Meta provides for rendering the ad.
- Reads only Meta's officially permitted Ad Library Graph API.
- Each row includes a coverage_note explaining what this search may find, making empty results readable.
- Provides an advertiser identity gate and counts the number of rejected candidate advertisers.
- Supports filtering by country/region, ad status, ad type, media type, number of results returned, and other parameters.
- Supports caching (successful queries cached for 7 days by default) and a per-call cost cap.
Usage
Requires Node.js 18 or later, an Apify account and API token, and your own Meta app access token (which can be created for free at developers.facebook.com). Add the configuration to your Claude Desktop config, obtain an Apify token and fill it in, restart Claude Desktop, and the find_meta_ads tool is ready to use. The Meta access token can be set via the META_ACCESS_TOKEN environment variable or passed as the metaAccessToken parameter on each call; if neither is provided, the tool returns an error before starting any Apify run.
Main parameters include: company_domain (optional, bare domain, used to derive the advertiser search term and assist identity verification), company_name (optional but strongly recommended, used for identity verification comparison), metaAccessToken (required unless already set via environment variable), ad_reached_countries (optional, default EU; options EU, GB, US, DE, FR, NL, ES, IT, IE, or ALL_EU_PLUS_UK), ad_active_status (optional, ACTIVE, ALL, or INACTIVE, default ACTIVE), ad_type (optional, ALL or POLITICAL_AND_ISSUE_ADS), media_type (optional, ALL, IMAGE, VIDEO, MEME, or NONE), maxAds (optional, 10, 25, 50, or 100), skipCache (optional, default false), max_charge_usd (optional, per-call cost cap).
Use cases
- Check whether a company is currently running Facebook ads to EU audiences.
- View a company's 25 most recent active ads.
- Find only an advertiser's video ads (active and inactive).
- Search a brand's ad library in the UK and view the coverage_note explanation.
- Use for competitive analysis, creative breakdown, or purchase-signal monitoring.
Limitations
- Coverage is determined by the Meta Ad Library Graph API: this API only publishes two types of data—all ads delivered to EU audiences (regardless of topic), and social issue, election, and political ads worldwide. Therefore, EU-focused lists cover ordinary commercial ads well, while US or UK lists of ordinary product ads will mostly return not_found. This is a limitation of the Meta dataset itself, not a query failure.
- Impressions and spend are provided only for political ads, and are returned as ranges; null does not mean zero spend.
- Political and issue ad data requires a Meta account to complete identity verification; this is a Meta requirement.
- All searches run on Apify; this package is only a lightweight client and does not contain search logic.
- Billing is per event on Apify, and charges go to the user's own Apify account; running this server consumes Apify credits.
- This server is one of the Mamba Labs GTM Suite MCP servers, and the underlying actor's immutableApify actor ID is J1GWlSXfSGU3u8Wng.