Skip to content
ScrapeAdLibrary logo
MCP server
RegistryRemote

ScrapeAdLibrary MCP Server

Search the public Meta Ad Library: ads, creatives, EU transparency data and advertisers.

ScrapeAdLibrary scores 66 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by scrapeadlibraryMITPython0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "scrapeadlibrary-mcp-server": {      "command": "uvx",      "args": [        "scrapeadlibrary-mcp"      ],      "env": {        "SCRAPEADLIBRARY_API_KEY": "YOUR_SCRAPEADLIBRARY_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
SCRAPEADLIBRARY_API_KEYSecretRequiredYour ScrapeAdLibrary API key (starts with sal_), from https://scrapeadlibrary.com/dashboard/api-keys

Tools5Tool docs quality grade C

All capabilities
  • get_adtool

    Full ad: text, media, cards, advertiser, payer/beneficiary, EU/UK transparency

  • Advertiser profile: category, likes, Instagram, active ads estimate

  • Ads of one advertiser

  • Search ads by keyword and/or advertiser, with country, status, media, platform, language, date filters

  • Advertisers that ran ads matching a keyword

About

ScrapeAdLibrary MCP Server

Listed on mcpservers.org

An MCP server that lets AI assistants (Claude Desktop, Claude Code, Cursor, Cline...) search the public Meta Ad Library (Facebook, Instagram, Messenger, Audience Network, Threads) through the ScrapeAdLibrary API: competitor ads, creatives, advertisers, political ad spend, EU (DSA) reach and targeting.

Features

5 Tools — search ads, ad detail, advertiser profile, advertiser's ads, advertiser search

4 Documentation Resources — API reference, quickstart, pricing, workflow examples

3 Prompt Templates — competitor ad research, keyword market scan, single ad analysis

Connect without installing (Claude, ChatGPT, Claude Code)

The same tools are available as a hosted remote MCP server with OAuth sign-in: no API key to copy, nothing to install. Add this URL as a custom connector and sign in with your ScrapeAdLibrary account:

https://api.scrapeadlibrary.com/mcp
  • Claude (web, Desktop, mobile): Customize → Connectors → Add custom connector.
  • ChatGPT: chatgpt.com/plugins → Add custom MCP server → OAuth.
  • Claude Code: claude mcp add --transport http scrapeadlibrary https://api.scrapeadlibrary.com/mcp, then /mcp to sign in.

Calls use your account's credits with the API's pricing. Step-by-step guide: scrapeadlibrary.com/docs/mcp.

Quick Start (local server with an API key)

1. Get an API Key

Sign up at scrapeadlibrary.com and create an API key (starts with sal_).

2. Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "scrapeadlibrary": {
      "command": "uvx",
      "args": ["scrapeadlibrary-mcp"],
      "env": {
        "SCRAPEADLIBRARY_API_KEY": "sal_your_key_here"
      }
    }
  }
}

3. Use it

Ask Claude:

  • "What ads is Nike running in Italy right now? Summarise their messaging."
  • "Show me active video ads about 'protein powder' in the US, sorted by impressions"
  • "Which advertisers run ads for 'running shoes'?"
  • "Get the EU reach and targeting of ad 1550534860016399"

Configuration for Other Clients

Cursor

Add the same JSON block to .cursor/mcp.json.

Claude Code

claude mcp add scrapeadlibrary -e SCRAPEADLIBRARY_API_KEY=sal_your_key_here -- uvx scrapeadlibrary-mcp

Installation Alternatives

pip

pip install scrapeadlibrary-mcp
SCRAPEADLIBRARY_API_KEY=sal_xxx scrapeadlibrary-mcp

npx

SCRAPEADLIBRARY_API_KEY=sal_xxx npx scrapeadlibrary-mcp

(The npm package is a thin wrapper: it runs the Python server via uvx, or python3 -m as a fallback.)

Docker

docker build -t scrapeadlibrary-mcp .
docker run -i --rm -e SCRAPEADLIBRARY_API_KEY=sal_xxx scrapeadlibrary-mcp

Tools

ToolDescriptionCostKey defaults
search_adsSearch ads by keyword and/or advertiser, with country, status, media, platform, language, date filters1 credit per 10 adslimit=10, status=active
get_adFull ad: text, media, cards, advertiser, payer/beneficiary, EU/UK transparency2 credits—
get_pageAdvertiser profile: category, likes, Instagram, active ads estimate1 credit—
get_page_adsAds of one advertiser1 credit per 10 adslimit=10, status=active
search_pagesAdvertisers that ran ads matching a keyword1 credit per 10 resultslimit=10

Empty results and errors cost 0 credits. Lists return a cursor to fetch the next page.

Environment Variables

VariableRequiredDescription
SCRAPEADLIBRARY_API_KEYYesYour API key (starts with sal_)
SCRAPEADLIBRARY_BASE_URLNoOverride API base URL (default: https://api.scrapeadlibrary.com)

Development

uv venv && uv pip install -e ".[dev]"
.venv/bin/pytest
.venv/bin/ruff check . && .venv/bin/ruff format --check .

Test with MCP Inspector:

SCRAPEADLIBRARY_API_KEY=sal_xxx .venv/bin/mcp dev dev_server.py

assets/logo-400.png is still the placeholder logo inherited from the template: replace it with the final brand logo before publishing to registries.

License

MIT

Frequently asked questions

What is ScrapeAdLibrary MCP Server?

Search the public Meta Ad Library: ads, creatives, EU transparency data and advertisers.

How do I install ScrapeAdLibrary MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ScrapeAdLibrary MCP Server runs locally from the PyPI package scrapeadlibrary-mcp with the command uvx scrapeadlibrary-mcp.

Is ScrapeAdLibrary MCP Server free and open source?

Yes. ScrapeAdLibrary MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does ScrapeAdLibrary MCP Server support remote (HTTP) connections?

Yes. ScrapeAdLibrary MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does ScrapeAdLibrary MCP Server provide?

ScrapeAdLibrary MCP Server provides 5 tools, including get_ad, get_page, get_page_ads, and search_ads. See the full tool list for descriptions and parameters.

How is ScrapeAdLibrary MCP Server's trust score calculated?

ScrapeAdLibrary MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server