facebook-ads-library-mcp

MCP Server for Facebook ADs Library - Get instant answers from FB's ad library

GitHub Stars

134

User Rating

Not Rated

Favorites

0

Views

114

Forks

13

Issues

1

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

Python: 3.12 or higher
Anthropic Claude Desktop app (or Cursor)
Pip: Install with python -m pip install
An access token for Scrape Creators

Installation Steps

1. Clone Repository

bash
git clone https://github.com/trypeggy/facebook-ads-library-mcp.git
cd facebook-ads-library-mcp

2. Obtain an API token from Scrape Creators

Sign up [here](https://scrapecreators.com/)

3. Connect to the MCP server

Copy the below JSON with the appropriate {{PATH}} values and {{API KEY}}:
json
{
  "mcpServers": {
    "fb_ad_library": {
      "command": "python",
      "args": [
        "{{PATH_TO_SRC}}/fb_ad_library_mcp/src/mcp_server.py",
        "--scrapecreators-api-key",
        "{{YOUR_SCRAPECREATORS_API_KEY}}"
      ]
    }
  }
}

4. Restart Claude Desktop / Cursor

Open Claude Desktop and you should now see the Facebook Ads Library as an available integration.