mcpField
F
Facebook Ads Library Scraper (Apify)

Facebook Ads Library Scraper (Apify)

Remote
apify.comBusiness & Marketing0Updated 1w ago

About 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

  1. 01Searches by keywords or advertiser page
  2. 02Exports ad copy, headlines, and media links
  3. 03Returns ad dates and platforms
  4. 04Reads audience data disclosed by Meta
  5. 05Bounds runs with result limits

Use cases

  1. 01Compare advertisers’ ads by publication date
  2. 02Find long-running ads for a product
  3. 03Review disclosed political ad spending and audience
  4. 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.

Endpointhttps://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraper
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

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.

All endpoints
Streamable HTTPhttps://mcp.apify.com/?tools=harshmaur/facebook-ads-library-scraperAuth required

Tools

Details

From the project README

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.

Comments

Markdown supported

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.