Facebook Ads Library Scraper (Apify)
RemoteAbout Facebook Ads Library Scraper (Apify)
This Apify Actor searches ads across Facebook, Instagram, Messenger, and Audience Network, exporting copy, media links, dates, and audience figures disclosed by Meta. The repository also includes an MCP configuration and agent skill; an Apify account is required, but Facebook login is not.
Key features
- 01Searches by keywords or advertiser page
- 02Exports ad copy, headlines, and media links
- 03Returns ad dates and platforms
- 04Reads audience data disclosed by Meta
- 05Bounds runs with result limits
Use cases
- 01Compare advertisers’ ads by publication date
- 02Find long-running ads for a product
- 03Review disclosed political ad spending and audience
- 04Export creative links for research
MCP support
It exposes ad search through Apify’s hosted MCP service to compatible clients. Clients authenticate with Apify sign-in or a Bearer token.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraperclaude mcp add --transport http harshmaur-facebook-ads-library-scraper https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper{"mcpServers":{"harshmaur-facebook-ads-library-scraper":{"type":"http","url":"https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper"}}}Open in Cursor{"servers":{"harshmaur-facebook-ads-library-scraper":{"type":"http","url":"https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper"}}}Open in VS Code{"mcpServers":{"harshmaur-facebook-ads-library-scraper":{"type":"http","url":"https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper"}}}{"mcpServers":{"harshmaur-facebook-ads-library-scraper":{"serverUrl":"https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraperAuth requiredTools
Details
From the project READMEFacebook Ads Library Scraper — MCP and agent skill
Explore Facebook, Instagram, Messenger and Audience Network ads with the Facebook Ads Library Scraper Apify Actor. Provide search words through an Ad Library URL or choose an advertiser's Facebook Page. Export ad copy, headlines, media links, dates, platforms and the audience figures Meta discloses.
This repo contains an agent skill and hosted MCP configuration. Use your own Apify account; no Facebook login is needed.
Connect an MCP client
https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper
Use Apify sign-in when your client offers it, or supply Authorization: Bearer <APIFY_TOKEN> with a token from Apify Console settings.
Claude Code:
claude mcp add --transport http facebook-ads https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper
Install the agent skill
/plugin install apify-facebook-ads-library-scraper --marketplace harshmaur/apify-facebook-ads-library-scraper
For other skill-aware agents:
npx skills add https://github.com/harshmaur/apify-facebook-ads-library-scraper
The skill maps advertiser pages and Ad Library searches to input fields, explains flat dotted keys, and estimates run prices.
Research examples
- Compare active ads from two advertisers by publication date.
- Find long-running ads for a product and export their creative links.
- Review disclosed political-ad spending and audience data.
Spend and audience figures can be absent for ordinary commercial ads. The skill explains which fields to expect; it does not estimate undisclosed spending.
Price and results
The Free plan price is $0.50 per 1,000 ads. Paid Apify plans range from $0.40 to $0.47 per 1,000. Ad details have no added per-ad charge. Set count to bound a run and limitPerSource to divide its budget among URLs.
Published registry entry: io.github.harshmaur/facebook-ads-library-scraper.
Questions about the Actor: Apify Issues.
Disclosure: this paid Actor is built by the repo author. Links have no affiliate parameters. The skill and configuration use the MIT license.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.