Facebook Ads LibrarySAFE
MCP Server for Facebook ADs Library - Get instant answers from FB's ad library
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://useproxy.dev/)
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 analyze ad images/text, analyze video ads with comprehensive insights, 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.
https://github.com/user-attachments/assets/a47aa689-e89d-4d4b-9df7-6eb3a81937ee
Hosted Version (Recommended)
The easiest way to use the Facebook Ads Library MCP is the hosted version from [Proxy (useproxy.dev)](https://useproxy.dev/). No API keys, no Gemini key, no Python, no server to run — just connect and start querying.
- ⚡ Zero setup — nothing to install, configure, or maintain
- 🔑 No API keys — skip the ScrapeCreators and Gemini keys entirely
- 🔌 Works everywhere — ChatGPT, Claude, Cursor, Manus, and anywhere else that supports MCP
- 🚀 Always up to date — new tools and fixes ship automatically
👉 [Get started for free at useproxy.dev →](https://useproxy.dev/)
Prefer to run it yourself? The full self-host setup is documented below.
Hosted vs. Self-Host
For most people, the [hosted version](https://useproxy.
ba105f257e2aOBSERVED · 2026-10-05Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add facebook-ads-library-mcp -- npx -y @proxy-intell/[email protected]
Exposed tools (5)
5 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
analyze_ad_image | read | Download Facebook ad image(s) and prepare them for visual analysis by Claude Desktop. |
analyze_ad_video | read | Download Facebook ad videos and analyze them using Gemini |
analyze_ad_videos_batch | read | Download and batch analyze multiple Facebook ad videos using Gemini for token efficiency. |
get_meta_ads | read | Retrieve currently running ads for brand(s) using their Meta Platform ID(s). |
get_meta_platform_id | read | Search for companies/brands in the Meta Ad Library and return their platform IDs. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- declared (1 observation(s))
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
.env.template
return hashlib.md5(url.encode()).hexdigest()
Gates applied: no_behavioural_pass.
ba105f257e2afull audit observations/trust-audit/mcp-server/proxy-intell__facebook-ads-library-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-05 | ba105f257e2a | SAFE | B | 89 | first audit |
Questions
What is the Facebook Ads Library MCP server?
MCP Server for Facebook ADs Library - Get instant answers from FB's ad library
What tools does Facebook Ads Library expose?
5 in total: 5 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Facebook Ads Library safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Facebook Ads Library need?
It reads GEMINI_API_KEY and SCRAPECREATORS_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Facebook Ads Library run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @proxy-intell/facebook-ads-library-mcp at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (ba105f257e2a), read on 2026-10-05. The repository is watched and re-audited when it changes.