MCP
Meta Ad Library MCP server for AI agents
Give Claude, Cursor or any MCP client Meta Ad Library data: 3 endpoints from $0.004 a call, no Meta Ad Library login. Your AI finds the endpoint, says the price and fetches.
Connect your AI in one sentence
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
Paste it into Claude Code, Cursor, Codex or any agent that can open a web page. It connects itself, checks the connection without spending anything, and tells you the balance.
What it can answer about Meta Ad Library
| Ask for | Endpoint it calls | Price |
|---|---|---|
| Meta Ad Library search Search the Meta Ad Library (Facebook, Instagram, Messenger) by keyword: advertiser, copy, headline, images and videos, landing page, where it runs and since when. Can be limited to one country, to image or video ads, and to ads running now or stopped. | meta.ads.search | $0.004 per call · about 30 ads per page |
| Meta Ad Library ad detail One ad of the Meta Ad Library by its library ID or link: advertiser, copy, images and videos, landing page, platforms, first and last day shown, and whether it is still running. | meta.ads.get | $0.004 per call |
| Meta advertiser ads The ads one advertiser (a Facebook page) runs in the Meta Ad Library, by the page ID or the brand's name: copy, creative, landing page, platforms and dates. The way to see what a competitor is running now. | meta.advertisers.ads.list | $0.004 per call · about 30 ads per page |
Two tool calls, one charge
find {"query":"Meta Ad Library library search"}Finds meta.ads.search and its price. Free, no key.call {"capability":"meta.ads.search","query":"portable espresso"}One page of data: $0.004 per call · about 30 ads per page.
Skill package
okdata-meta gives an agent every Meta Ad Library endpoint with its price and the question it answers.
Task skills that run here: Ad creatives
More
Every Meta Ad Library endpoint, full contracts ·The MCP server ·MCP reference