Facebook Ads Library Scraper (Apify)

Official registry Search and web

Export Meta ads with copy, media, dates and audience data. No Facebook login. From $0.40/1k

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http facebook-ads-library-scraper-apify 'https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper' --header 'Authorization: <Apify API token as '\''Bearer <APIFY_TOKEN>'\''. Free token at https://console.apify.com/account/integrations>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "facebook-ads-library-scraper-apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper",
            "headers": {
                "Authorization": "<Apify API token as 'Bearer <APIFY_TOKEN>'. Free token at https://console.apify.com/account/integrations>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Facebook Ads Library Scraper — MCP and agent skill
  2. Connect an MCP client
  3. Install the agent skill
  4. Research examples
  5. Price and results

Facebook 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.

Frequently asked questions

What is Facebook Ads Library Scraper (Apify)?

Export Meta ads with copy, media, dates and audience data. No Facebook login. From $0.40/1k

How do I install Facebook Ads Library Scraper (Apify)?

It runs as a remote server. In Claude Code: claude mcp add --transport http facebook-ads-library-scraper-apify 'https://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper' --header 'Authorization: <Apify API token as '\''Bearer <APIFY_TOKEN>'\''. Free token at https://console.apify.com/account/integrations>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Facebook Ads Library Scraper (Apify) need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is Facebook Ads Library Scraper (Apify) open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Facebook Ads Library Scraper (Apify)?

It is published by harshmaur. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.