Connect
Pipedrive to
Claude Code
- Why do web deals lack a source?
https://mcp.lemonado.io/mcpUse Claude Code to check how web leads reach Pipedrive, and save pipeline analysis as scripts you can rerun. Lemonado connects them in about 1 minute, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect Pipedrive to Claude Code?
Deals that arrive without a source usually come from code: a form handler, a webhook, a Zapier step someone replaced. Claude Code reads that code, and with Lemonado it can see which Pipedrive deals and persons were actually created, so you fix the gap where it starts.
All your Pipedrive data
Deals, values, stages and pipelines, ready to ask about.
Always today's numbers
Activities: calls, meetings and tasks, synced from Pipedrive automatically, so answers use today's numbers.
Connect all your tools
Questions like "What does a won deal cost?" use Pipedrive and HubSpot, Attio at once.
How to connect Pipedrive to Claude Code
Before you start
- A Pipedrive account you can sign in to
- Claude Code installed
- A Lemonado account (the free trial works)
- 1
Connect Pipedrive in Lemonado
In Lemonado, open Connectors, find Pipedrive and sign in. Sign in with a Pipedrive user who can see every pipeline you want in reports. Users with limited visibility only share their own deals.
- 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
Add the server
With Claude Code installed, run one of these in your terminal. Most people want the first: it adds Lemonado to every project.
bash# every project (recommended) claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp # this project only claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp - 4
Sign in
Start Claude Code with claude and run /mcp. Choose Lemonado and finish the sign-in in your browser.
bashclaude /mcp - 5
Ask Claude Code about Pipedrive
Ask a question about the accounts your connection can reach. Claude Code can also write the numbers into a file or a script for you. Try "Our signup form creates Pipedrive deals through api/pipedrive.ts. Check which fields it sets and compare with deals created from the website this month." Or ask: "Export the funnel" or "Score open deals"
Good to know
- The command uses Claude Code's default local scope. Use --scope user to share the server across projects.
What can Claude Code do with Pipedrive?
Claude Code queries your Pipedrive data while it works in your repo: it saves data as files, checks tracking against code and runs headless with claude -p.
Our signup form creates Pipedrive deals through api/pipedrive.ts. Check which fields it sets and compare with deals created from the website this month.
The handler sets title, value and person, but writes the UTM source to a custom field that was deleted in September. 214 deals since then have no source.
Source: Pipedrive + your code
Save this year's Pipedrive deals with source, stage history and won date to data/pipedrive_deals.csv.
Saved 2,480 deals with full stage history. 412 are won, worth $1.9M together.
Source: Pipedrive + your code
Write scripts/score_deals.py that scores open deals on stage age, activity count and source, using last year's won deals as the reference.
Saved and run. 18 open deals score in the top band, and 7 of them have no activity this week.
Source: Pipedrive + your code
Create a prompt file for claude -p that writes reports/pipeline-weekly.md with new, won and lost deals by source.
Saved prompts/pipeline-weekly.md. Each run pulls fresh Pipedrive data and rewrites the report.
Source: Pipedrive + your code
Group deals lost in the last 90 days by lost reason and stage. What's the main pattern?
"Price too high" is the top reason, and 70% of those losses happen after the demo. Deals lost before the demo mostly say "No reply".
Source: Pipedrive
Deals won from Google Ads and LinkedIn Ads this quarter, set against what we spent on each.
Google Ads: $1,480 per won deal. LinkedIn Ads: $3,100, but LinkedIn deals are worth 2.2x more, so they pay back faster.
Source: Pipedrive + ads
Connect Pipedrive to another AI app.
Claude
Connect Pipedrive to Claude
ChatGPT
Connect Pipedrive to ChatGPT
Cursor
Connect Pipedrive to Cursor
VS Code (GitHub Copilot)
Connect Pipedrive to VS Code (GitHub Copilot)
Codex
Connect Pipedrive to Codex
Perplexity
Connect Pipedrive to Perplexity
Google Antigravity
Connect Pipedrive to Google Antigravity
Windsurf (Devin Desktop)
Connect Pipedrive to Windsurf (Devin Desktop)
Zed
Connect Pipedrive to Zed
n8n
Connect Pipedrive to n8n
Other integrations for Claude Code
All Claude Code integrations- HubSpot in Claude CodeAsk Claude, ChatGPT or Cursor which campaigns bring deals, with HubSpot next to your ad spend.
- Attio in Claude CodeAsk Claude, ChatGPT or Cursor about your Attio records, next to the campaigns that brought them in.
- Google Ads in Claude CodeAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- LinkedIn Ads in Claude CodeAsk Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
- Amplitude in Claude CodeAsk Claude, ChatGPT or Cursor which campaigns bring Amplitude users who stick around.
- Google Tag Manager in Claude CodeAsk Claude, ChatGPT or Cursor what's in your GTM container, and what changed when tracking broke.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into Claude Code and ask it to connect you, or copy the block.
# Connect Pipedrive to Claude Code (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 Pipedrive company account. Sign in with a Pipedrive user who can see every pipeline you want in reports. Users with limited visibility only share their own deals. - In Claude Code: Terminal: claude mcp add ```bash # every project (recommended) claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp # this project only claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp ``` If you are Claude Code, run the setup yourself: Add the Lemonado MCP server for all my projects by running: claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp Then tell me to run /mcp and sign in to Lemonado. Once I've signed in, list the Pipedrive accounts Lemonado can reach. First question to try: "Our signup form creates Pipedrive deals through api/pipedrive.ts. Check which fields it sets and compare with deals created from the website this month." More: https://lemonado.io/integrations/pipedrive · https://lemonado.io/llms.txt
Frequently Asked Questions
No. Lemonado reads Pipedrive for analysis. If you want an agent to update deals, Pipedrive's own MCP server can write. For finding why deals arrive without a source, reading the data next to your code is what you need.
Yes. Pipedrive's MCP server is hosted, so Claude Code can use it too. It covers Pipedrive only. Lemonado covers Pipedrive plus your ad platforms, GA4 and the rest of your stack in one connection, so Claude Code can answer questions across them.
Run claude mcp list to see whether lemonado is connected. If it needs authentication, run /mcp inside Claude Code and sign in again. In Lemonado, check that Pipedrive is connected and External tools is on for the company. If deals are missing, check the user's visibility group in Pipedrive. Lemonado sees exactly what that user can see.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Deals won from Google Ads and LinkedIn Ads this quarter, set against what we spent on each."
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