Why connect HubSpot to Cursor?
In Cursor, the agent can see the forms, hidden fields and tracking scripts you're editing. Add Lemonado and it can compare them with what reaches HubSpot, so lost lead sources get fixed in the code before they skew the pipeline report.
All your HubSpot data
Contacts and their original source, ready to ask about.
Always today's numbers
Deals, pipelines, stages and amounts, synced from HubSpot automatically, so answers use today's numbers.
Connect all your tools
Questions like "What does a deal cost?" use HubSpot and LinkedIn Ads, Google Ads at once.
How to connect HubSpot to Cursor
Before you start
- A HubSpot account you can sign in to
- Cursor installed
- A Lemonado account (the free trial works)
- 1
Connect HubSpot in Lemonado
In Lemonado, open Connectors, find HubSpot and sign in. Sign in with a HubSpot user that can see contacts and deals, then pick the account if you have more than one.
- 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 HubSpot
Try "Which HubSpot contacts created last month have no original source, and which page or form in our code did they sign up on?" Or ask: "Does the chat widget create contacts?" or "Which form converts best?"
Good to know
- Editing the file directly avoids relying on menu labels that change between Cursor versions.
What can Cursor do with HubSpot?
Cursor's agent reads your HubSpot data while it edits: it fills components with real data, checks tracking code and writes the analysis next to your code.
Which HubSpot contacts created last month have no original source, and which page or form in our code did they sign up on?
312 contacts have no source. 280 came from the demo form in pages/demo.tsx, which posts to HubSpot without the tracking cookie.
Source: HubSpot + your code
Check our chat widget code against HubSpot. Do conversations from the widget create contacts with a source?
They create contacts, but the source is always 'Offline' because widget.ts loads before the tracking script. 190 contacts this month are affected.
Source: HubSpot + your code
Compare HubSpot contacts and customers by form with the forms in our code. Which form brings the best leads?
The demo form (pages/demo.tsx) brings 22% of contacts and 61% of customers. The newsletter form brings volume but almost no deals.
Source: HubSpot + your code
We shipped a new pricing page on Sept 30. Did HubSpot contacts from that page change after the deploy?
Contacts from the pricing page fell 27% in the two weeks after. The new page moved the demo button below the plan table.
Source: HubSpot + your code
Will open pipeline cover this quarter's target at our usual win rate?
Open pipeline is $412k. At the 27% win rate that's $111k against a $140k target, so about $107k more pipeline is needed.
Source: HubSpot
Compare LinkedIn's reported leads with HubSpot contacts that list LinkedIn as the source last month.
LinkedIn reports 212 leads, HubSpot has 168. Most of the gap is duplicate form fills from existing contacts.
Source: HubSpot
Connect HubSpot to another AI app.
Claude
Connect HubSpot to Claude
ChatGPT
Connect HubSpot to ChatGPT
Claude Code
Connect HubSpot to Claude Code
VS Code (GitHub Copilot)
Connect HubSpot to VS Code (GitHub Copilot)
Codex
Connect HubSpot to Codex
Perplexity
Connect HubSpot to Perplexity
Google Antigravity
Connect HubSpot to Google Antigravity
Windsurf (Devin Desktop)
Connect HubSpot to Windsurf (Devin Desktop)
Zed
Connect HubSpot to Zed
n8n
Connect HubSpot 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.
- LinkedIn Ads in CursorAsk Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
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 HubSpot 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 HubSpot account. Sign in with a HubSpot user that can see contacts and deals, then pick the account if you have more than one.
- In Cursor: ~/.cursor/mcp.json
```json
{
"mcpServers": {
"lemonado": {
"url": "https://mcp.lemonado.io/mcp"
}
}
}
```
First question to try: "Which HubSpot contacts created last month have no original source, and which page or form in our code did they sign up on?"
More: https://lemonado.io/integrations/hubspot · https://lemonado.io/llms.txtFrequently Asked Questions
Only what you allow. In Lemonado you choose which sources the connection reaches, and the agent queries what it needs for the task, like counts by form or source. For tracking checks you rarely need names or emails at all.
Yes. HubSpot's official MCP server is hosted, so Cursor can use it too. It covers HubSpot only. Lemonado covers HubSpot plus your ad platforms, GA4 and the rest of your stack in one connection, so Cursor can answer questions across them.
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 HubSpot is connected and External tools is on for the company. If deals or contacts are missing, check your HubSpot user's permissions. HubSpot only shares records that user can view.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Compare LinkedIn's reported leads with HubSpot contacts that list LinkedIn as the source last month."
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