# Pipedrive MCP server

> Enables Claude to manage sales workflows, deals, contacts, and pipelines through comprehensive access to the Pipedrive CRM API.

- Repository: https://github.com/nubiia-dev/mcp-pipedrive
- Page: https://hostedmcp.org/servers/nubiia-dev/mcp-pipedrive
- Transport: stdio
- Stars: 12
- License: MIT
- Latest version: 2.7.1

## Install

### Claude Code

```sh
claude mcp add --env 'PIPEDRIVE_API_TOKEN=<YOUR_PIPEDRIVE_API_TOKEN>' --env 'PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN>' mcp-pipedrive -- npx -y @nubiia/mcp-pipedrive
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-pipedrive": {
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-pipedrive"
      ],
      "env": {
        "PIPEDRIVE_API_TOKEN": "<YOUR_PIPEDRIVE_API_TOKEN>",
        "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-pipedrive": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-pipedrive"
      ],
      "env": {
        "PIPEDRIVE_API_TOKEN": "<YOUR_PIPEDRIVE_API_TOKEN>",
        "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp-pipedrive","type":"stdio","command":"npx","args":["-y","@nubiia/mcp-pipedrive"],"env":{"PIPEDRIVE_API_TOKEN":"<YOUR_PIPEDRIVE_API_TOKEN>","PIPEDRIVE_COMPANY_DOMAIN":"<PIPEDRIVE_COMPANY_DOMAIN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp-pipedrive": {
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-pipedrive"
      ],
      "env": {
        "PIPEDRIVE_API_TOKEN": "<YOUR_PIPEDRIVE_API_TOKEN>",
        "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add mcp-pipedrive --env 'PIPEDRIVE_API_TOKEN=<YOUR_PIPEDRIVE_API_TOKEN>' --env 'PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN>' -- npx -y @nubiia/mcp-pipedrive
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-pipedrive]
command = "npx"
args = ["-y", "@nubiia/mcp-pipedrive"]

[mcp_servers.mcp-pipedrive.env]
PIPEDRIVE_API_TOKEN = "<YOUR_PIPEDRIVE_API_TOKEN>"
PIPEDRIVE_COMPANY_DOMAIN = "<PIPEDRIVE_COMPANY_DOMAIN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'PIPEDRIVE_API_TOKEN=<YOUR_PIPEDRIVE_API_TOKEN>' -e 'PIPEDRIVE_COMPANY_DOMAIN=<PIPEDRIVE_COMPANY_DOMAIN>' mcp-pipedrive npx -- -y @nubiia/mcp-pipedrive
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-pipedrive": {
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-pipedrive"
      ],
      "env": {
        "PIPEDRIVE_API_TOKEN": "<YOUR_PIPEDRIVE_API_TOKEN>",
        "PIPEDRIVE_COMPANY_DOMAIN": "<PIPEDRIVE_COMPANY_DOMAIN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PIPEDRIVE_API_TOKEN` | yes | yes | Your Pipedrive API token (found in Settings → Personal Preferences → API) |
| `PIPEDRIVE_COMPANY_DOMAIN` | yes | no | Your Pipedrive company domain (e.g., 'mycompany' if your URL is mycompany.pipedrive.com) |
| `LOG_LEVEL` | no | no |  |
| `PIPEDRIVE_READ_ONLY` | no | no | Set to 'true' to enable read-only mode (blocks all write operations) |
| `PIPEDRIVE_TOOLSETS` | no | no | Comma-separated list of toolsets to enable (e.g., 'deals,persons,organizations') |

## FAQ

### Can I use this server in a safe mode to prevent accidental changes?

Yes, you can enable a Read-Only mode that blocks all write operations.

### Can I limit which tools the AI can access?

Yes, you can use the PIPEDRIVE_TOOLSETS environment variable to enable or disable specific tool categories.
