Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
{{ message }}
trypeggy / facebook-ads-library-mcp Public
MCP Server for Facebook ADs Library - Get instant answers from FB's ad library
trypeggy.ai/
MIT license
123 stars11 forksBranches Tags Activity
Star
Notifications
main
BranchesTags
Go to file
Code
Name | Name | Last commit message | Last commit date |
---|---|---|---|
17 Commits | |||
src | src | ||
.gitignore | .gitignore | ||
Dockerfile | Dockerfile | ||
LICENSE | LICENSE | ||
readme.md | readme.md | ||
requirements.txt | requirements.txt | ||
smithery.yaml | smithery.yaml | ||
View all files |
This is a Model Context Protocol (MCP) server for the Facebook Ads Library.
With this you can search Facebook's public ads library for any company or brand, see what they're currently running and analyze their advertising. You can analyse ad images/text, get video links, compare companies' strategies, and get insights into what's working in their campaigns.
Here's an example of what you can do when it's connected to Claude.
MCP.demo.mp4
To get updates on this and other projects we work on enter your email here
PS: Join our Twitter community for all things MCP
How many ads is 'AnthropicAI' running? What’s their split across video and image?
What messaging is 'AnthropicAI' running right now in their ads?
Do a deep comparison to the messaging between 'AnthropicAI', 'Perplexity AI' and 'OpenAI'. Give it a nice forwardable summary.
Don't want to deal with code? Try our no-code version
python -m pip install
{{PATH}}
values and {{API KEY}}
:claude_desktop_config.json
in your Claude Desktop configuration directory at:~/Library/Application Support/Claude/claude_desktop_config.json
For Cursor:
Save this as mcp.json
in your Cursor configuration directory at:
~/.cursor/mcp.json
For Smithery:
To install Facebook Ads Library for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @trypeggy/facebook-ads-library-mcp --client claude
4. Restart Claude Desktop / Cursor
Open Claude Desktop and you should now see the Facebook Ads Library as an available integration.
Or restart Cursor.
This MCP server provides tools for interacting with Facebook Ads library objects:
Tool Name | Description |
---|---|
get_meta_platform_id | Returns platform ID given one or many brand names |
get_meta_ads | Retrieves ads for a specific page (platform ID) |
For additional Claude Desktop integration troubleshooting, see the MCP documentation. The documentation includes helpful tips for checking logs and resolving common issues.
Your feedback will be massively appreciated. Please tell us which features on that list you like to see next or request entirely new ones.
This project is licensed under the MIT License.
trypeggy.ai/
github python api open-source marketing facebook ai analytics marketing-automation mcp python3 facebook-api marketing-analytics llm mcp-server
Readme
MIT license
Activity
Custom properties
123 stars
2 watching
11 forks
Report repository
No releases published
No packages published
Unlock geospatial intelligence through Mapbox APIs like geocoding, POI search, directions, isochrones and more.
Integrates with The Movie Database (TMDB) API, allowing AI assistants to search for movies, retrieve details, and generate related content.
Search and get up-to-date information about NPM, Cargo, PyPi, and NuGet packages.
Semantic search for Hex package documentation. Requires local Elixir and Mix installation.
Search and retrieve content from the Unsloth AI documentation.
All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.
Performs deep web searches for information using the Tavily API.
An MCP server for Google Search provided by CData, which requires an external CData JDBC Driver.
Fetches user data and event information from the Connpass platform using the Connpass and Gemini APIs.
Provides weather data using the US National Weather Service (NWS) API. Built with pure JavaScript ES Modules.