Skip to main content
Glama
ad-library-mcp

ad-library-mcp

by jvondev

ad-library-mcp

MCP server for searching active Meta Ad Library ads, copy, media, and EU transparency data via Apify.

Prerequisites

  • Node.js 18+

  • APIFY_TOKEN from Apify (Console -> Settings -> Integrations)

Related MCP server: Facebook Ad Library MCP

Installation (Claude Desktop, Cursor, Claude Code)

{
  "mcpServers": {
    "ad-library-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ad-library-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Remote HTTP MCP Endpoint

Clients supporting remote Streamable HTTP MCP servers can connect directly without local Node execution:

  • URL: https://jvon--facebook-ads-scraper.apify.actor/mcp

  • Header: Authorization: Bearer <YOUR_APIFY_TOKEN>

Tools

search_meta_ads

Extract active Meta Ad Library ads across Facebook, Instagram, Messenger, and Threads with copy hooks, media creatives, EU reach, and Winner Score.

Parameter

Type

Required

Default

Description

targets

array

Yes

-

Keywords, domains, or Page URLs

country

string

No

"US"

Two-letter country code (US, GB, ALL)

maxAds

integer

No

25

Maximum ads to return

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Searches the Meta (Facebook) Ad Library by keyword and returns ad details including advertiser, ad copy, and EU reach, without requiring an API key.
      2
      3
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables searching and scraping the public Facebook Ad Library to extract structured ad data such as advertiser, copy, landing URLs, and CTAs for competitive research, all without an account or API token.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching Meta ads by text, country, category, advertiser, or landing domain from an AI assistant, then opening individual ads and advertiser pages, ranking what is scaling, finding related ads by page or domain, and downloading images and videos for ad ids.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables competitor ad research inside AI agents by searching public Meta and TikTok ad libraries, scoring ad copy, and returning active ads with marketing and performance signals.
      MIT