facebook-ads-library-mcp-server
Installation
SKILL.md
Facebook Ads Library MCP Server
Skill by ara.so — Marketing Skills collection
This MCP (Model Context Protocol) server enables AI agents to query Facebook's public Ads Library API, retrieve advertising data for brands, and perform AI-powered analysis of ad creative including images and videos. It supports batch processing for efficient multi-brand queries and includes intelligent caching and credit management.
What It Does
- Brand Search: Convert brand names to Meta platform IDs
- Ad Retrieval: Fetch currently running ads for one or multiple brands
- Image Analysis: Analyze ad images for visual elements, text, colors, and composition
- Video Analysis: Deep analysis of video ads using Gemini AI (pacing, storytelling, messaging)
- Batch Processing: Query multiple brands or platform IDs simultaneously with ~88% token savings
- Smart Caching: Reduces API calls and improves performance
- Credit Management: Automatic detection of API credit exhaustion