# Biblioteca de Anúncios — MCP server on mcp.ai > Discover who is advertising on Instagram and Facebook about a topic, and read each ad's copy, call to action and landing page. Public data from Meta's ad library, hosted by the platform, no credentials required. By: mcp.ai · official Page: https://new.mcp.ai/ad_library ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_ad_library?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_ad_library ### Claude 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Biblioteca de Anúncios, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Biblioteca de Anúncios, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Biblioteca de Anúncios. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Manus 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Agents 1. Copy the Biblioteca de Anúncios link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Biblioteca de Anúncios needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/ad_library/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/ad_library/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/ad_library/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/ad_library/skill.md Postman collection (v2.1): https://new.mcp.ai/ad_library/postman.json ## Tools - ad_library_company_ads(page_id: string, country?: string, limit?: integer, cursor?: string, page_ids?: string[]) — List every ad one specific advertiser is running, given its `page_id` (get it from ad_library_search_advertisers). Use it to map a single competitor's whole campaign: which offers, which copy, which l - ad_library_search_ads(query: string, country?: string, limit?: integer, cursor?: string) — Find ads a competitor (or any company) is currently running on Instagram and Facebook for a keyword, using Meta's public ad library. Returns each ad's advertiser, copy, headline, call to action, landi - ad_library_search_advertisers(query: string, limit?: integer) — Look up advertisers by company name and get their page id, category, follower/like counts and Instagram handle when available. Use it to turn a company name into the `page_id` that ad_library_company_ ## Example prompts - "Who is advertising about "meal delivery" on Instagram in the US?" - "List the ads Duolingo is running right now" - "Compare the ad copy of competitors advertising "project management software"" ## Links Docs: https://mcp.ai/docs/mcps/ad_library Website: https://mcp.ai/mcps/ad_library