Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
Facebook Ads Library MCP server exists for a simple reason — assistants are far more useful when they can act on Facebook Ads Library directly instead of describing what you should do. Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
This is a Model Context Protocol (MCP) server for the Facebook Ads Library.
Once Facebook Ads Library is connected, these are the calls the assistant has available:
get_meta_platform_id — Returns platform ID given one or many brand namesget_meta_ads — Retrieves ads for specific page(s) (platform ID)analyze_ad_image — Analyzes ad images for visual elements, text, colors, and compositionanalyze_ad_video — Analyzes single ad video using Gemini AI for comprehensive insightsanalyze_ad_videos_batch — NEW - Analyzes multiple videos in single API call for token efficiencyget_cache_stats — Gets statistics about cached media (images and videos) and storage usagesearch_cached_media — Searches previously analyzed media by brand, colors, people, or media typecleanup_media_cache — Cleans up old cached media files to free disk spacePrerequisites — The Prerequisites tool exposed by this serverBeing a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
You will need 2 environment variables: SCRAPECREATORS_API_KEY, GEMINI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
python -m pip install - An API key for an ads data provider, set as SCRAPECREATORS_API_KEY (see configuration below) - A Google Gemini API key for video analysis (optional, only needed for video ads) > Prefer not to deal with API keys? See the Hosted VersionThis sits in the team communication group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Facebook Ads Library's toolset — get_meta_platform_id, get_meta_ads, analyze_ad_image and 6 more — is a fair guide to whether it matches your workflow.
This entry was verified against Facebook Ads Library's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_meta_platform_id | Returns platform ID given one or many brand names |
| get_meta_ads | Retrieves ads for specific page(s) (platform ID) |
| analyze_ad_image | Analyzes ad images for visual elements, text, colors, and composition |
| analyze_ad_video | Analyzes single ad video using Gemini AI for comprehensive insights |
| analyze_ad_videos_batch | **NEW** - Analyzes multiple videos in single API call for token efficiency |
| get_cache_stats | Gets statistics about cached media (images and videos) and storage usage |
| search_cached_media | Searches previously analyzed media by brand, colors, people, or media type |
| cleanup_media_cache | Cleans up old cached media files to free disk space |
| Prerequisites | The Prerequisites tool exposed by this server. |
python -m pip install - An API key for an ads data provider, set as SCRAPECREATORS_API_KEY (see configuration below) - A Google Gemini API key for video analysis (optional, only needed for video ads) > Prefer not to deal with API keys? See the Hosted Version| Variable | Description | Required |
|---|---|---|
| SCRAPECREATORS_API_KEY | Credential the server authenticates with. | Yes |
| GEMINI_API_KEY | Credential the server authenticates with. | Yes |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.
Exposes REST APIs defined by OpenAPI specifications as Model Context Protocol (MCP) tools, facilitating seamless integration into MCP-based workflows.