Use Adligator from an AI agent (MCP + Skill)
Connect Claude or any MCP client to the Adligator MCP server and drop in the adligator-ad-research Skill so the agent searches Meta's Ad Library correctly — the three tools, the keyword rule, and the filter enum codes.
Adligator ships a remote MCP (Model Context Protocol) server, so any MCP client — Claude, or your own agent — can search Meta's Ad Library on your behalf. This guide connects the server and adds the companion Skill that teaches the agent to use it like an experienced media buyer instead of a first-timer.
Step 1 — get an API key
Open the Developer portal and create an API key (API access is included on eligible plans). The same key authenticates both the REST API and the MCP server.
Step 2 — connect the MCP server
The server runs in stateless Streamable HTTP mode at:
POST https://<your-adligator-host>/api/v1/mcp
Authenticate every request with either an Authorization: Bearer <token>
header or X-API-Key: <your key>. Point your MCP client at that URL. Once
connected, the agent sees three tools:
search_ads— filter Meta's Ad Library, returns a paginated list of ads.get_ad_details— full info for one ad, including media descriptors.get_ad_download_url— the highest-resolution original file for a media item.
They are meant to be chained: search → details → download.
Step 3 — add the adligator-ad-research Skill
Tools alone don't tell the agent how to search. The Skill does. It is a
small, portable SKILL.md (plus two reference files) that encodes the same
lessons as this Academy — in a form the model reads automatically:
- The keyword rule — search
PlinkonotiGaming,meet singlesnotDating. (See find the right keywords.) - The filter enum codes — the MCP expects
displayFormat: "VIDEO"andbuttonTypes: ["SHOP_NOW"], not the friendly labels in the web app. (See the filter reference.) - Tool chaining, recipes, and zero-result troubleshooting.
Install it the way your client loads Skills (for Claude, place the
adligator-ad-research/ folder in your Skills directory). The agent loads it
automatically when a request is about researching Meta ads.
Step 4 — ask in plain language
With both connected, natural requests just work:
"Find German video ads for weighted blankets that have been running 30+ days, then show me the top creative."
The Skill steers the agent to put the copy phrase in body, set
countries: ["DE"], displayFormat: "VIDEO", fromActiveDays: 30, sort by
longevity, then call get_ad_details on the best result.
What's next
- How to find the right keywords — the single most important habit, and the one the Skill enforces.
- Every filter explained — the human-label version of the enum codes the agent uses.
- Find long-running winners — the filter combination behind the "proven winners" recipe.