treg.to / Catalog / Meta Ad Library
4 tools · your own account · never metered

Meta Ad Library MCP for AI agents

Official Meta ad library — anyone's live Facebook/Instagram ads and spend ranges. Connect your own Meta Ad Library account once and your agent uses it from then on, through one treg.to token. Calls on your own connection are never metered.
$1.00 of free credit on every new team · no provider signup · no card
works in
ChatGPTClaudeClaude CodeCodexCursorGrokGemini CLI
What your agent can now do

Meta Ad Library, one prompt away

AGENT
ChatGPTClaudeClaude CodeCodexCursorGrokGemini CLI
search publicly running ads
ads a specific Page is running now
political ads, who paid & spend range
treg
$ treg call meta-ad-library.meta-ads.library.search
✓ 200 · free
$ treg call meta-ad-library.meta-ads.library.advertiser
✓ 200 · free
$ treg call meta-ad-library.meta-ads.library.political
✓ 200 · free
$ _
Meta Ad LibraryYOUR ACCOUNT
Official Meta ad library — anyone's live Facebook/Instagram ads and spend ranges.
⚒ 4 TOOLS

Advertising · https://graph.facebook.com/v21.0

Set up

Set up Meta Ad Library in Claude Code, Codex or any agent

1Give this to your agent
in your agent's chat
set up treg — https://treg.to/llms.txt
2Or add the MCP server yourself
claude code
claude mcp add --transport http treg https://treg.to/mcp

ChatGPT

Settings → Connectors → add https://treg.to/mcp as a custom connector.

Grok bot

Add https://treg.to/mcp as a remote MCP connector in its tool settings.

Claude Desktop

Settings → Connectors → Add custom connector → https://treg.to/mcp.

Cursor, Codex, any MCP client

Point it at https://treg.to/mcp (HTTP transport).

CLI

curl -fsSL https://treg.to/install.sh | sh

Plain HTTP

LangChain, CrewAI or any code: /call/<tool-id> with a Bearer token. No SDK.

Try it

What's the best way to ask?

the prompt
Using treg, search publicly running ads. Show me the price first.

Run one directly

a call
curl -H "Authorization: Bearer $TREG_TOKEN" \
  "https://treg.to/call/meta-ad-library.meta-ads.library.search"
Why treg.to

Why call Meta Ad Library through treg.to

Your account, held safely

Connect once; treg.to keeps the credential server-side and injects it per call. No key on any machine.

Price before the call

The provider's own rate, $0.000 markup. How billing works.

No subscription, no seats

Charged per call. $1.00 free per new team, no card to start.

Your own Meta Ad Library key is free

Register it and those calls are never metered. Your key always wins.

Switch by changing a word

Another provider is a different word in the prompt, not a new integration.

One key, the whole catalog

The same token calls Apify, ScrapeCreators and ~2,600 other tools.

The shelf

All 4 Meta Ad Library tools

Meta Ads (Facebook & Instagram) · 4 tools
  • Search the Meta ad library by keyword · free
    Search publicly running Facebook and Instagram ads by keyword meta-ad-library.meta-ads.library.search
  • Ads a Facebook Page runs, by Page id — Meta ad library · free
    List every ad a specific Facebook Page is currently running meta-ad-library.meta-ads.library.advertiser
  • Political and issue ads with spend — Meta ad library · free
    Search political and issue ads and see who paid for them and roughly how much meta-ad-library.meta-ads.library.political
  • EU ad reach and audience breakdown — Meta ad library · free
    Get the EU reach, audience breakdown and payer of ads delivered in Europe meta-ad-library.meta-ads.library.eu_reach

Reliability badges come from live traffic through treg.to, not a controlled benchmark.

Related

Same jobs, other providers

These providers answer some of the same capabilities as Meta Ad Library. The platform pages show them on one row with rate and coverage; choosing is yours, treg.to does not route between providers automatically.

also on the catalog
ApifyScrapeCreators
Questions

Before you start

Do I need a Meta Ad Library account?

Yes. This is an own-account connection: you sign in to Meta Ad Library once and your agent uses that connection through your treg.to token. Calls on it are never metered.

How do I add Meta Ad Library to Claude Code?

Run: claude mcp add --transport http treg https://treg.to/mcp — one MCP server carries Meta Ad Library and the rest of the catalog.

Which frameworks does it work with?

Anything that speaks MCP (Claude Code, Claude Desktop, ChatGPT, Codex, Cursor, Grok) and anything that can make an HTTP request (LangChain, CrewAI, LlamaIndex, plain code).

Is this the official Meta Ad Library MCP server?

No. treg.to serves Meta Ad Library's real API through its own metered proxy: the request is the provider's own, the credential is injected server-side, and the answer is relayed verbatim. The official Meta Ad Library channels are linked above.