Connect
LinkedIn Ads to
Cursor
- Is the Insight Tag firing?
https://mcp.lemonado.io/mcpUse LinkedIn Ads data in Cursor to build B2B reporting and check lead tracking against your code. Lemonado connects them in about 2 minutes, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect LinkedIn Ads to Cursor?
B2B teams often keep lead routing and reporting in code. Cursor's agent reads LinkedIn campaigns and leads through Lemonado and checks them against your forms, Insight Tag events and routing logic.
Your whole LinkedIn Ads account
Campaign groups, campaigns and ads, ready to ask about.
Always today's numbers
Spend, impressions, clicks and CTR, synced from LinkedIn Ads automatically, so answers use today's numbers.
Connect all your tools
Questions like "LinkedIn or Google for leads?" use LinkedIn Ads and Google Ads, Meta Ads at once.
How to connect LinkedIn Ads to Cursor
Before you start
- A LinkedIn Ads account you can sign in to
- Cursor installed
- A Lemonado account (the free trial works)
- 1
Connect LinkedIn Ads in Lemonado
In Lemonado, open Connectors, find LinkedIn Ads and sign in. Choose the Campaign Manager ad accounts you want. Your LinkedIn user needs at least Viewer access to each.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Open your MCP config
Open ~/.cursor/mcp.json for every project, or .cursor/mcp.json for this project only. Create the file if it doesn't exist.
- 4
Add Lemonado
Merge this into the file and save.
json{ "mcpServers": { "lemonado": { "url": "https://mcp.lemonado.io/mcp" } } } - 5
Sign in
Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.
- 6
Ask Cursor about LinkedIn Ads
Try "Check which pages fire the LinkedIn Insight Tag conversion and compare that with LinkedIn's reported conversions last month." Or ask: "Is the Insight Tag working?" or "Which audiences convert?"
Good to know
- Editing the file directly avoids relying on menu labels that change between Cursor versions.
What can Cursor do with LinkedIn Ads?
Cursor's agent reads your LinkedIn Ads data while it edits: it fills components with real data, checks tracking code and writes the analysis next to your code.
Check which pages fire the LinkedIn Insight Tag conversion and compare that with LinkedIn's reported conversions last month.
The tag fires on /demo but not on /demo/thanks since the redirect change. LinkedIn recorded 41 conversions against 118 demo bookings.
Source: LinkedIn Ads + your code
Compare the LinkedIn Insight Tag conversions configured in our code with the conversions LinkedIn reports.
"Demo booked" fires on /thanks but LinkedIn shows 0 this month. The tag ID in the code is from the old ad account.
Source: LinkedIn Ads + your code
Save spend, leads and cost per lead by job function and company size for the last 90 days as data/linkedin.csv.
Saved 96 rows to data/linkedin.csv. Marketing roles at 51 to 200 employees are cheapest at $84 a lead.
Source: LinkedIn Ads + your code
Check that every LinkedIn campaign's landing URL in our config carries utm_source=linkedin. List the ones that don't.
3 of 12 are missing it. Their leads show up as direct traffic in the CRM.
Source: LinkedIn Ads + your code
Do our founder's thought leader ads beat company page ads on cost per lead?
Yes. $96 vs $141 per lead over 30 days, with twice the engagement rate.
Source: LinkedIn Ads
Which job functions and company sizes get us leads cheapest?
Marketing roles at 51 to 200 employees: $84 per lead. Enterprise IT is $310, with 22% of spend.
Source: LinkedIn Ads
Connect LinkedIn Ads to another AI app.
Claude
Connect LinkedIn Ads to Claude
ChatGPT
Connect LinkedIn Ads to ChatGPT
Claude Code
Connect LinkedIn Ads to Claude Code
VS Code (GitHub Copilot)
Connect LinkedIn Ads to VS Code (GitHub Copilot)
Codex
Connect LinkedIn Ads to Codex
Perplexity
Connect LinkedIn Ads to Perplexity
Google Antigravity
Connect LinkedIn Ads to Google Antigravity
Windsurf (Devin Desktop)
Connect LinkedIn Ads to Windsurf (Devin Desktop)
Zed
Connect LinkedIn Ads to Zed
n8n
Connect LinkedIn Ads to n8n
Other integrations for Cursor
All Cursor integrations- Google Ads in CursorAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Meta Ads in CursorAsk Claude, ChatGPT or Cursor about your Facebook and Instagram ads, creatives and results.
- Google Analytics in CursorAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Search Console in CursorAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Google Sheets in CursorUse your media plans, targets and offline sales sheets in Claude, next to live ad data.
- TikTok Ads in CursorAsk Claude, ChatGPT or Cursor which TikTok videos hold attention and which ones sell.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into Cursor and ask it to connect you, or copy the block.
# Connect LinkedIn Ads to Cursor (Lemonado MCP)
- Server URL: https://mcp.lemonado.io/mcp
- Transport: Streamable HTTP
- Auth: OAuth; the user signs in to Lemonado in the browser. No API keys.
- In Lemonado: connect the LinkedIn ad account. Choose the Campaign Manager ad accounts you want. Your LinkedIn user needs at least Viewer access to each.
- In Cursor: ~/.cursor/mcp.json
```json
{
"mcpServers": {
"lemonado": {
"url": "https://mcp.lemonado.io/mcp"
}
}
}
```
First question to try: "Check which pages fire the LinkedIn Insight Tag conversion and compare that with LinkedIn's reported conversions last month."
More: https://lemonado.io/integrations/linkedin-ads · https://lemonado.io/llms.txtFrequently Asked Questions
Yes. Lemonado's MCP server covers LinkedIn Ads. Add it to Cursor's mcp.json, connect your ad account in Lemonado and Cursor's agent can query campaigns, creatives and leads.
Open Cursor's settings and find lemonado in the MCP list. A red dot or a sign-in prompt means the login expired. Restart Cursor after editing mcp.json. In Lemonado, check that LinkedIn Ads is connected and External tools is on for the company. If an ad account is missing, check your role in Campaign Manager. LinkedIn only shares accounts your user has access to.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Cost per lead on LinkedIn vs Google Ads for the same demo offer."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free