# mcp-pipedrive

An MCP server that gives your coding agent Pipedrive CRM tools — deals, contacts, pipelines, tasks and more — through plain conversation.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12
- Author: nubiia-dev
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nubiia-dev/mcp-pipedrive
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-pipedrive

## What it does

The server maps the Pipedrive REST API, both versions, onto agent tools grouped by category: deals, persons, organizations, projects, pipelines, leads, products, notes, activities, files, webhooks and others. You can switch categories on or off with `PIPEDRIVE_TOOLSETS`, which keeps the tool list short when you only need deals. A read-only switch, `PIPEDRIVE_READ_ONLY`, blocks every write call.

Requests that fail with 429 or 5xx are retried with growing delays, there is a rate cap and a short-lived cache for data fetched often. Inputs are validated at runtime and schemas are typed, so a malformed argument comes back as a readable error instead of a silent failure. Beyond tools, the server exposes read-only resources for pipelines, custom fields and users, plus a few guided prompts for routine operations.

Node.js 18 or newer has to be on the machine, and you supply an API token from the Pipedrive settings as `PIPEDRIVE_API_TOKEN` together with the company domain in `PIPEDRIVE_COMPANY_DOMAIN`. No token means no access. Turn read-only mode on before the first run against a live account, because an agent with write tools can touch real deals while you are still checking that it reads the right data.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `PIPEDRIVE_API_TOKEN`, `PIPEDRIVE_COMPANY_DOMAIN`, `PIPEDRIVE_TOOLSETS`, `PIPEDRIVE_READ_ONLY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env PIPEDRIVE_API_TOKEN=<PIPEDRIVE_API_TOKEN> --env PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN> --env PIPEDRIVE_TOOLSETS=<PIPEDRIVE_TOOLSETS> --env PIPEDRIVE_READ_ONLY=<PIPEDRIVE_READ_ONLY> --transport stdio mcp-pipedrive -- npx -y @nubiia/mcp-pipedrive
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add mcp-pipedrive --env PIPEDRIVE_API_TOKEN=<PIPEDRIVE_API_TOKEN> --env PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN> --env PIPEDRIVE_TOOLSETS=<PIPEDRIVE_TOOLSETS> --env PIPEDRIVE_READ_ONLY=<PIPEDRIVE_READ_ONLY> -- npx -y @nubiia/mcp-pipedrive
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-pipedrive": {
            "command": "npx",
            "args": [
                "-y",
                "@nubiia/mcp-pipedrive"
            ],
            "env": {
                "PIPEDRIVE_API_TOKEN": "<PIPEDRIVE_API_TOKEN>",
                "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>",
                "PIPEDRIVE_TOOLSETS": "<PIPEDRIVE_TOOLSETS>",
                "PIPEDRIVE_READ_ONLY": "<PIPEDRIVE_READ_ONLY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-pipedrive": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@nubiia/mcp-pipedrive"
            ],
            "env": {
                "PIPEDRIVE_API_TOKEN": "<PIPEDRIVE_API_TOKEN>",
                "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>",
                "PIPEDRIVE_TOOLSETS": "<PIPEDRIVE_TOOLSETS>",
                "PIPEDRIVE_READ_ONLY": "<PIPEDRIVE_READ_ONLY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e PIPEDRIVE_API_TOKEN=<PIPEDRIVE_API_TOKEN> -e PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN> -e PIPEDRIVE_TOOLSETS=<PIPEDRIVE_TOOLSETS> -e PIPEDRIVE_READ_ONLY=<PIPEDRIVE_READ_ONLY> mcp-pipedrive npx -y @nubiia/mcp-pipedrive
```
Replace <…> with your own values

## When to use it
- list deals sitting at one pipeline stage
- create a contact and attach it to a company
- find overdue tasks linked to deals
- pull the custom fields defined for deals
- convert a lead into a deal and fill the card

## Example prompts
- List every deal in the Sales pipeline that has been in negotiation for more than a week
- Create a contact for this new client and attach it to their organization
- Which activities on this deal are overdue, and who owns them?

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
