Linkedin Ad Library
v0.1.0LinkedIn Ad Library MCP -- search and read the ads LinkedIn publishes in its public advertising…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
linkedin_ad_library_search
Search LinkedIn's public Ad Library for ads by advertiser name and/or keyword. Returns ad ID, library URL, creative type, ad type (e.g. "Single Image Ad"), advertiser name and logo, ad text (the library truncates it on the list with an ellipsis; use linkedin_ad_library_ad for the full text), headline and images, newest first, about 24 per page, with next_cursor/has_more. The library does not publish a total result count, so total_results is null. Advertiser matching is a substring match on the advertiser name, so a query for "Microsoft" also returns "Microsoft Copilot" ads; each row carries ad…
| Parameter | Type | Description |
|---|---|---|
advertiser | string | Advertiser (company or person) name, e.g. "Microsoft". Substring match on the name. |
advertiser_id | string | LinkedIn company id (digits, e.g. "1035" for Microsoft). Exact: returns only that company's ads. Takes precedence over advertiser. |
countries | string | Optional comma-separated ISO country codes (e.g. "US,DE"). Omit for all countries. |
cursor | string | next_cursor from the previous call. It carries the original query, so advertiser/keyword/within need not be repeated. |
keyword | string | Word or phrase to look for in ads, e.g. "cybersecurity". At least one of advertiser, advertiser_id or keyword is required (or a cursor). |
own_ads_only | boolean | Keep only rows whose advertiser name equals the advertiser query exactly (case-insensitive). Default false. |
within | string | Date window: last-30-days (alias 30d), current-year (alias ytd), or last-year. Omit for no date filter. |
linkedin_ad_library_ad
Read one ad from LinkedIn's public Ad Library by ad ID: creative type, ad type, full ad text, headline, call-to-action, destination URL, images, advertiser name/page URL/logo, who paid for it, the dates it ran, total impressions range and the targeting the advertiser selected (language, location). Fields the page does not show for that ad are null. Source: LinkedIn Ad Library.
| Parameter | Type | Description |
|---|---|---|
ad_id * | string | Ad ID from linkedin_ad_library_search (digits), or its library URL. |