A Meta Ad Library MCP is a server that lets an AI assistant like Claude or ChatGPT search Facebook and Instagram ads for you. Meta doesn't make one. To set one up, copy a hosted server URL (Adspo's is https://mcp.adspo.co), add it to your AI client, sign in, and ask questions like "show me AG1's longest running ads" in plain English.
This guide covers what a Meta Ad Library MCP is, why Meta's own API isn't the same thing, how to connect one to Claude Code, ChatGPT or any MCP client, and what came back when we used it on AG1 on November 17, 2026. If you only use the Claude app, our step-by-step Claude guide walks through its connector screens.
What is a Meta Ad Library MCP?
MCP (Model Context Protocol) is an open standard that lets AI assistants call outside tools. A Meta Ad Library MCP gives the assistant tools like "search brands", "get a brand's ads" and "get this video's transcript". You ask a question, the assistant picks the tool, and the answer comes back with real ad data instead of a guess.
Adspo's MCP server has 19 tools, listed in the Adspo docs. The ones you'll use most:
| Tool | What it does |
|---|---|
search_brands | Finds a brand by name or website domain |
get_brand | A brand's profile: ad and creative counts, image and video mix, top countries, similar brands |
get_brand_creatives | A brand's ads, filtered and sorted by runtime, impressions, country or format |
get_creatives | Ads across all brands, by keyword, category or visual format |
get_creative_transcript | The full transcript of a video ad, with timestamps |
get_following_creatives | One feed of the latest ads from every brand you follow |
save_creative and create_board | Saves ads to your boards, only when you ask |
Meta Ad Library MCP vs the Meta Ad Library API
They sound alike, but they're different things.
| Meta Ad Library API | Hosted Ad Library MCP (Adspo) | |
|---|---|---|
| Made by | Meta | Adspo |
| Covers US commercial ads | No, only political and issue ads, plus ads delivered to the UK or EU | Yes, 10,000+ verified brands across markets |
| Setup | Verified Facebook account, Meta for Developers app, your own code | Paste a URL, sign in |
| Works in Claude or ChatGPT | Only if you build your own server around it | Yes, out of the box |
| Ranking signal | None for commercial ads | Impression rank within the brand's own account |
The full breakdown of what Meta's API returns, and how to get access, is in our Meta Ad Library API guide.
What you need before you start
- An MCP client. Claude (app or Claude Code), ChatGPT on a plan that allows custom MCP servers, or any other tool that supports remote MCP servers.
- An ad library account with an MCP server. This guide uses Adspo, which includes MCP and API access on its single plan: $29/month, or $19/month billed yearly, with a 7-day free trial.
How to connect a Meta Ad Library MCP: step by step
We checked each step below against the Adspo docs and OpenAI's help center on November 17, 2026, and ran the prompts in Claude Code with the Adspo server connected.
Step 1: Copy the MCP server URL
Open the Adspo MCP docs and copy the URL under MCP Server URL: https://mcp.adspo.co.
There's no key in it. You prove who you are by signing in later, so the URL is safe to paste anywhere.
The Adspo docs MCP Server page with the server URL https://mcp.adspo.co highlighted under MCP Server URL
Step 2: Add it to Claude Code with one command
In your terminal, run:
claude mcp add adspo --transport http https://mcp.adspo.co
Then start Claude Code, type /mcp, pick adspo and choose to authenticate. Claude Code's own help lists the same pattern for any HTTP server: claude mcp add --transport http <name> <url>.
Using the Claude app instead? Follow our Claude connector guide, which shows each screen.
The Claude Code section of the Adspo docs with the command claude mcp add adspo --transport http https://mcp.adspo.co highlighted
Step 3: Add it to ChatGPT as a custom MCP server
OpenAI's help center says custom MCP server connections are available for ChatGPT Business and Enterprise/Edu on ChatGPT web. On those plans:
- Go to Plugins.
- Select the plus button, then Add custom MCP server.
- Enter a name, like Adspo.
- Under Connection, paste
https://mcp.adspo.co. - Review the risk warning, tick I understand and want to continue, then select Create as a plugin.
On a Business workspace, only admins and owners can create these. Some accounts still show the older route through Settings > Apps with Developer mode, and the Adspo docs cover both.
OpenAI's help center article on connecting custom MCP servers in ChatGPT, with Add custom MCP server highlighted in the Configure the server connection steps
Step 4: Or paste the config into any other MCP client
For any other client that supports remote MCP servers, add this to its MCP config:
{
"mcpServers": {
"adspo": {
"url": "https://mcp.adspo.co"
}
}
}
Or ask your AI client directly: "Add this MCP server and give me the command: https://mcp.adspo.co". The Adspo docs suggest exactly that.
The Everything else section of the Adspo docs showing the mcpServers JSON config and the suggested prompt to add the server
Step 5: Sign in to your ad library
The first time the client calls the server, it opens a browser window. Sign in to your Adspo account and approve the connection. Your AI client gets a token, never your password, and you don't do this again unless you disconnect.
Step 6: Ask your first question
Start a new chat and ask in plain English, naming the brand: "Give me AG1's ad profile." If your client asks for permission to call a tool, allow it.
A real research session: AG1
Here's what three prompts returned in Claude Code with the Adspo server connected, on November 17, 2026.
Prompt 1: "Give me AG1's ad profile"
The assistant called get_brand. AG1 had 750 creatives behind 1,136 ads, 77% of them video (580 creatives). Its top markets were the United States (663 creatives) and Canada (637). It also listed IM8 Health, Grüns and Tmrw as similar brands.
Prompt 2: "What are AG1's most served US videos right now?"
The assistant called get_brand_creatives with country US, format video, sorted by most impressions. The #1 creative in AG1's account was a "Military, Take 25% Off" offer verified with ID.me, live for 117 days across 12 ads. 2 of the top 12 US videos opened on a GLP-1 hook and sent people to the AG1 Pro page.
Prompt 3: "Which AG1 ads are still live after the longest time?"
Sorted by longest running, the oldest active creative was 164 days old: a static immunity ad running in EU markets across 18 ads, #11 in the account. Nothing older was still live, which tells you AG1 rotates its creative fast.
More prompts that work
- "Compare the visual formats AG1 and Grüns use most."
- "Find skincare ads mentioning 'before and after' that have run for 90+ days."
- "Get the transcript of AG1's #2 US video and rewrite the hook for my brand."
- "Show me what the brands I follow launched this week."
- "Save the top 5 to a new board called AG1 swipe."
Common problems and fixes
- The client says it can't connect. Check the URL is exactly
https://mcp.adspo.co, with no trailing path. - No sign-in window opened. In Claude Code, run
/mcpand authenticate from there. Elsewhere, remove and re-add the server. - ChatGPT has no Add custom MCP server option. Your plan or workspace role may not allow it. On Business, ask an admin or owner.
- The assistant answers without data. Name the brand and ask it to use Adspo, like "Use Adspo to get Gymshark's longest running ads".
- A 403 from the REST API. Adspo's API returns 403 when the key's account has no active subscription.
What a do-it-yourself Meta Ad Library MCP won't give you
Open source Meta Ad Library MCP servers on GitHub are a fair choice if you like to tinker. The trade-offs:
- You run the plumbing. Many wrap Meta's API (with its limits) or a third-party scraping API, so you manage keys and a local config.
- Raw ads, not creatives. The same creative can show up once per ad, so a brand with 1,136 ads looks like 1,136 things to read.
- No ranking. Without impression rank or creative-level runtime, the assistant can only sort by date.
- No memory. No follows, groups or boards to pull from next time.
Other hosted servers exist too. We compared four of them on price and what they read in our Claude MCP guide.
A faster way: Meta ad research in any AI tool with Adspo
Adspo is an ad library built for creative teams. It tracks 10,000+ verified brands, groups ads into creatives and ranks each creative by impressions within the brand's own account. The MCP gives Claude, ChatGPT or any MCP client the same data you see in the app, so the answers match what your team looks at.
Here is AG1's brand page in the Adspo app, the data the assistant pulled with get_brand:
AG1 by Athletic Greens' brand page in the Adspo app showing 750 creatives and 1,136 ads, creative velocity, a 77% video media mix, the United States and Canada as top target countries, and landing pages
And its active creatives sorted by most impressions, the same ranking the MCP returns. The "Military, Take 25% Off" ad at 117 days sits in the top left:
AG1's active creatives in the Adspo app sorted by most impressions, led by a Military Take 25% Off ad running for 117 days, with Black Friday offers running 13 days
- Every country at once. No more one-country-at-a-time searches.
- A real ranking. Ask for most served, longest running, latest or most ads.
- Transcripts and hooks. Video ads come with their transcripts, so you can ask for the hook.
- Your library. Follows, groups and boards are tools too, so "what did my competitors launch this week" works.
- The same account for the REST API. Build your own tools with an
x-api-keyheader if you need to.
Adspo costs $29/month, or $19/month billed yearly, with MCP and API access included and a 7-day free trial. See how it compares with Meta's free library on our Facebook Ad Library alternative page.
Related guides
- How to use the Facebook Ad Library: every filter and setting, step by step.
- How to research competitor ads with Claude using an ad library MCP: the Claude app setup, screen by screen.
- Meta Ad Library API: what Meta's official API covers and its limits.
- How to see your competitors' Facebook ads: the manual way, for comparison.
Frequently asked questions
Is there an official Meta Ad Library MCP?
No. Meta offers the Ad Library website and the Ad Library API, which runs on the Graph API. It doesn't publish an MCP server. A Meta Ad Library MCP is a server built by someone else, either a hosted ad library like Adspo or an open source project on GitHub, that lets an AI assistant search Meta ads.
How do I add a Meta Ad Library MCP to Claude Code?
Run one command in your terminal. For Adspo it's claude mcp add adspo --transport http https://mcp.adspo.co. Then start Claude Code, run /mcp, pick the server and sign in to your Adspo account in the browser when asked.
Can I use a Meta Ad Library MCP in ChatGPT?
Yes, on plans that allow custom MCP servers. As of November 17, 2026, OpenAI's help center says custom MCP server connections are available for ChatGPT Business and Enterprise/Edu on ChatGPT web. You add one under Plugins with the plus button and Add custom MCP server, then paste the server URL.
Do I need an API key to use the Adspo MCP?
No. The MCP URL has no key in it. When you connect, your AI client opens a browser window and you sign in to your Adspo account. API keys are only for Adspo's REST API, which uses an x-api-key header.
Can a Meta Ad Library MCP show a competitor's ad spend?
No. Meta doesn't publish spend for regular commercial ads, so no MCP can return it. Adspo returns each creative's runtime, how many ads use it, its landing pages, transcript and its impression rank within the brand's own account, where 1 is the creative the brand serves most.
Why not just use the Meta Ad Library API?
Meta's API only returns ads about social issues, elections or politics, plus ads delivered to the UK or EU. A US-only product ad won't come back from it. It also needs a verified Facebook account, a Meta for Developers app and your own code to call it.
Wrapping it up
Meta doesn't make an Ad Library MCP, and its API skips most commercial ads. A hosted MCP fixes both: paste https://mcp.adspo.co into Claude Code, ChatGPT or any MCP client, sign in, and ask about any brand's ads in plain English.
Try Adspo free for 7 days and ask your AI what your competitors are running.