adextract

ad intelligence for AI agents

Documentation

Adextract MCP Server

MCP License: MIT

Connect AI assistants to Adextract — search ad libraries across Meta, Google Ads, LinkedIn, and TikTok, plus creative analysis with ad_reader.

Hosted endpoint: https://mcp.adextract.co/mcp


Installation

Hosted MCP (recommended)

Connect to the Adextract hosted server:

https://mcp.adextract.co/mcp

Get your API key at adextract.co (account → API keys).

Cursor

Add to ~/.cursor/mcp.json or project .cursor/mcp.json:

{
  "mcpServers": {
    "ad-extract": {
      "url": "https://mcp.adextract.co/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "ad-extract": {
      "type": "http",
      "url": "https://mcp.adextract.co/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude Web (OAuth)

  1. Open Claude → SettingsConnectorsAdd custom connector
  2. Name: ad-extract
  3. URL: https://mcp.adextract.co/mcp
  4. Sign in and approve when prompted — no API key in the URL.

Claude Desktop (mcp-remote)

{
  "mcpServers": {
    "ad-extract": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.adextract.co/mcp",
        "--header",
        "Authorization: Bearer YOUR_API_KEY"
      ]
    }
  }
}

More clients and config paths: docs/CLIENT_SETUP.md


Available Tools

ToolPlatformDescription
search_meta_adsMetaSearch Facebook & Instagram ads
search_meta_pagesMetaDiscover pages and location IDs
get_meta_page_infoMetaPage transparency and metadata
get_meta_ad_detailsMetaEU/UK ad transparency details
search_google_adsGoogleGoogle Ads Transparency Center
search_google_ads_advertisersGoogleAdvertiser and domain search
get_google_ad_detailsGoogleCreative details
get_google_ads_advertiser_infoGoogleAdvertiser profile from Search ads
search_linkedin_adsLinkedInLinkedIn Ad Library
search_tiktok_adsTikTokTikTok Ads Library
search_tiktok_advertisersTikTokTikTok advertiser discovery
get_tiktok_ad_detailsTikTokTargeting and creative details
ad_readerAllAnalyze image/video creatives (format, audience, emotion, archetypes)

Full reference: docs/TOOLS.md


Prompts & Resources

Built-in MCP prompts for common workflows:

  • adextract_top_ads_for_brand
  • adextract_competitor_benchmark
  • adextract_channel_strategy
  • adextract_analyze_ad_url
  • adextract_schedule_watchlist

Resources include agent skill instructions and prompt-pack references (adextract://skill/main, etc.).


Authentication

MethodBest for
OAuth 2.0Claude Web and OAuth-capable connectors
Bearer API keyCursor, VS Code, Claude Desktop, mcp-remote

Discovery endpoints:

  • https://mcp.adextract.co/.well-known/oauth-protected-resource
  • https://mcp.adextract.co/oauth/.well-known/oauth-authorization-server

Server card (registry / client discovery):

  • https://mcp.adextract.co/.well-known/mcp.json

Example prompts

Show me the latest Nike ads on Facebook in the US.
→ search_meta_ads({ q: "nike", country: "US", active_status: "active" })

Find Google ads for tesla.com from the last 30 days.
→ search_google_ads({ domain: "tesla.com", time_period: "last_30_days" })

Analyze this ad creative URL with ad_reader.
→ ad_reader({ url: "https://..." })

Documentation

DocPurpose
docs/CLIENT_SETUP.mdPer-client configuration
docs/TOOLS.mdTools, prompts, resources
docs/TROUBLESHOOTING.mdCommon errors and fixes
REGISTRY_CHECKLIST.mdPre-submission checklist
SECURITY.mdSecurity policy
SUPPORT.mdHow to get help

Links

Built with ❤️ by Adextract