Skip to content

Connect HubSpot to Cursor

  • Why are sources missing?

Check your forms and lead tracking in Cursor against the contacts HubSpot actually records. Lemonado connects them in about 2 minutes, no API keys needed.

MCPhttps://mcp.lemonado.io/mcp

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. 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. 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.

    text
    https://mcp.lemonado.io/mcp
  3. 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. 4

    Add Lemonado

    Merge this into the file and save.

    json
    {
      "mcpServers": {
        "lemonado": {
          "url": "https://mcp.lemonado.io/mcp"
        }
      }
    }
  5. 5

    Sign in

    Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.

  6. 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.

Cursor logoCursor

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

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.

For agents · markdown
# 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.txt
FAQ

Frequently 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.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free