# ScrapeAdLibrary

> ScrapeAdLibrary is a freemium MCP server for marketing and seo. Search the Meta Ad Library for ads, advertisers and EU reach data. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web
- **Website:** https://scrapeadlibrary.com/docs/mcp
- **Repository:** https://github.com/scrapeadlibrary/mcp-server
- **MCP Registry name:** com.scrapeadlibrary/scrapeadlibrary
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo), [competitive intelligence](https://ai-powered.com/categories/competitive-intelligence)
- **Listing updated:** 2026-11-22

## About

ScrapeAdLibrary lets an assistant query the public Meta Ad Library, which covers ads on Facebook, Instagram, Messenger, Audience Network and Threads. Five tools search ads, read a single ad's details with EU transparency data, look up an advertiser page, list an advertiser's ads and search for advertisers.

It can be used for competitor ad research, keyword market scans and single-ad analysis, and the server includes prompt templates for those three jobs along with documentation resources. Ad details include EU reach and targeting information such as audience by age and gender.

The hosted connector at api.scrapeadlibrary.com/mcp signs in with OAuth and needs no install, while the open-source scrapeadlibrary-mcp package runs locally with an API key. Each successful call costs one credit whatever the number of results, a search page returns up to 30 ads, and failed calls are free.

## Features

- **Ad search:** Searches the Meta Ad Library, returning up to 30 ads per call.
- **Ad details:** Returns a single ad with EU transparency data such as reach and targeting.
- **Advertiser pages:** Looks up an advertiser page and lists its ads.
- **Advertiser search:** Finds advertisers by name, up to 10 per call.
- **Prompt templates:** Ready-made prompts for competitor ad research, keyword scans and single ad analysis.
- **Flat call pricing:** One credit per successful call on every endpoint.

## Good for

- Summarise the messaging of a competitor's active ads
- Find which advertisers run ads for a keyword in a country
- Compare calls to action across top ads for a product category
- Check the EU audience of a specific ad by age and gender

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http scrapeadlibrary https://api.scrapeadlibrary.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "type": "http",
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.scrapeadlibrary.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "type": "http",
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.scrapeadlibrary.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add scrapeadlibrary --url https://api.scrapeadlibrary.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.scrapeadlibrary]
url = "https://api.scrapeadlibrary.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "httpUrl": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http scrapeadlibrary https://api.scrapeadlibrary.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "serverUrl": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "type": "streamableHttp",
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.scrapeadlibrary.com/mcp
```

Enter a Name (for example "ScrapeAdLibrary"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "scrapeadlibrary": {
      "type": "http",
      "url": "https://api.scrapeadlibrary.com/mcp"
    }
  }
}
```

## Tools

The server marks all 5 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `search_ads` (says read-only): Search the public Meta Ad Library (Facebook, Instagram, Messenger, Audience Network, Threads) for ads by keyword and/or advertiser. Cost: 1 credit per call, whatever the number of ads returned (an empty result too); an error costs 0. `limit` (max 30, one page of the Ad Library) does not change the cost: keep it small only to keep the answer short. The next page is a new call (1 credit). Args: quer
- `get_ad` (says read-only): Get the full detail of one ad: complete text, all media and carousel cards, the advertiser profile, who paid for it (payer/beneficiary), and EU (DSA) / UK transparency data (reach, targeted ages, gender, locations, reach breakdown by country and age). Cost: 1 credit. Args: ad_id: Ad Library ID (the numeric `id` returned by search_ads). country: ISO-3166 alpha-2 country for transparency data, or 'A
- `get_page` (says read-only): Get an advertiser's profile: name, category, likes, Instagram account and followers, verification, and an estimate of how many ads it is running now. Cost: 1 credit. Args: page_id: Numeric advertiser page ID (from search_ads results or search_pages).
- `get_page_ads` (says read-only): List the ads of one advertiser (competitor), newest and most relevant first. Cost: 1 credit per call, whatever the number of ads returned (an empty result too); an error costs 0. The next page is a new call (1 credit). Args: page_id: Numeric advertiser page ID (use search_pages to find it from a brand name). country: ISO-3166 alpha-2 country or 'ALL' (default). status: 'active' (default), 'inactiv
- `search_pages` (says read-only): Find advertisers (Facebook/Instagram pages) that ran ads matching a keyword or brand name. Use it to get the page_id needed by get_page and get_page_ads. Cost: 1 credit per call, whatever the number of advertisers returned (none found too); an error costs 0. Args: query: Brand name or keyword. country: ISO-3166 alpha-2 country or 'ALL' (default). limit: 1-10 (default 10).

## FAQ

### How much does ScrapeAdLibrary cost?

65 free calls every month, then $5 per 1,000 calls. Each successful call costs 1 credit, errors are free.

### Do I need an API key?

Not for the hosted connector, which signs in with OAuth. The local server needs an API key starting with sal_.

### Which platforms' ads are covered?

The public Meta Ad Library: Facebook, Instagram, Messenger, Audience Network and Threads.

### Does paging cost extra?

Yes. Each further page of results is a new call and costs one more credit.

### How do I add ScrapeAdLibrary to Claude Code?

Run this command in your terminal: claude mcp add --transport http scrapeadlibrary https://api.scrapeadlibrary.com/mcp

### What are the best alternatives to ScrapeAdLibrary?

The closest alternatives to ScrapeAdLibrary are Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check, Facebook Ads Library Scraper (Apify), Meta Ad Library Scraper, Adextract MCP and Ad Library Intelligence.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check](https://ai-powered.com/mcp/facebook-meta-ads-library-scraper-api-winning-ads-scam-check): Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check is a paid MCP server for marketing and seo.
- [Facebook Ads Library Scraper (Apify)](https://ai-powered.com/mcp/facebook-ads-library-scraper-apify): Facebook Ads Library Scraper (Apify) is a paid MCP server for marketing and seo.
- [Meta Ad Library Scraper](https://ai-powered.com/mcp/meta-ad-library-scraper): Meta Ad Library Scraper is a paid MCP server for web search and scraping.
- [Adextract MCP](https://ai-powered.com/mcp/adextract-mcp): Adextract MCP is a freemium MCP server for marketing and seo.
- [Ad Library Intelligence](https://ai-powered.com/mcp/ad-library-intelligence): Ad Library Intelligence is a paid MCP server for marketing and seo.
- [LinkedIn Ad Library Scraper](https://ai-powered.com/mcp/linkedin-ad-library-scraper): LinkedIn Ad Library Scraper is a freemium MCP server for web search and scraping.
- [Meta Ad Intel Server](https://ai-powered.com/mcp/meta-ad-intel-server): Meta Ad Intel Server is an open-source MCP server for marketing and seo.
- [Facebook Meta Google Tiktok Ads Library Api MCP](https://ai-powered.com/mcp/facebook-meta-google-tiktok-ads-library-api-mcp): Facebook Meta Google Tiktok Ads Library Api MCP is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/scrapeadlibrary
