Логотип Pipedrive MCP Server

Pipedrive MCP Server

Организация
nubiia-dev

Pipedrive CRM MCP server for AI assistants like Claude — 300+ tools covering the full Pipedrive API. Built by Nubiia.

Издательnubiia-dev
Репозиторийmcp-pipedrive
ЯзыкTypeScript
Форки
10
Звёзды
12
Доступные инструменты
0
Тип транспортаstdio
Категории
ЛицензияMIT
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Pipedrive MCP Server предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 12, форки: 10 — в связанном репозитории.

Pipedrive MCP Server

npm version License: MIT Node Version by Nubiia

The most complete and robust Pipedrive MCP implementation for Claude

A production-ready Model Context Protocol server that provides Claude with comprehensive access to the Pipedrive CRM API. This server enables seamless automation of sales workflows, deal management, contact organization, and activity tracking through natural language conversations.

Built and maintained by Nubiia — automatización e integraciones con IA para negocios (MCP, Holded, Pipedrive y más). ¿Quieres algo así para tu empresa? Escríbenos en nubiia.es.

Features

  • 300+ Tools Across 29 Categories - Complete coverage of the entire Pipedrive REST API (v1 + v2)
  • Advanced Rate Limiting - 10 requests/second with burst capacity up to 100 requests
  • Multi-Level Caching - 5-15 minute TTL for frequently accessed data
  • Retry Logic - Exponential backoff for failed requests (429, 500, 502, 503, 504)
  • Comprehensive Error Handling - Detailed error messages with actionable suggestions
  • Full TypeScript Support - Type-safe schemas and interfaces throughout
  • Zod Validation - Runtime validation for all inputs with helpful error messages
  • MCP Resources - Read-only access to pipelines, custom fields, and user info
  • MCP Prompts - 5 guided workflows for common operations
  • Performance Metrics - Built-in tracking for request duration and success rates
  • Read-Only Mode - Optional safety mode that blocks all write operations
  • Toolset Filtering - Enable/disable specific tool categories as needed

Tool Categories

307 tools across 29 categories — complete coverage of the Pipedrive REST API (v1 + v2):

CategoryToolsDescription
Deals43Full lifecycle: CRUD, stages, participants, products, files, merge, conversions, installments (v2)
Fields30Custom field discovery + CRUD for deal/person/org/product/project fields, plus lead & note fields
Persons23Contact management with custom fields, activities, deals, files, and followers
Organizations21Company management with relationships to persons, deals, and activities
Projects16Projects, boards, phases, groups, tasks, and plan management
Pipelines15Pipeline management, stages, conversion & movement statistics
Leads15Leads CRUD, labels, sources, search, and lead↔deal conversions
Roles14Roles, assignments, settings, and pipeline visibility
Products13Product catalog, deal/person attachments, files, and followers
Users12Users, permissions, followers, and role assignments
Notes9Notes and comments for deals, persons, and organizations
Activities9Task, call, and meeting scheduling with due dates and completion
System9Health, metrics, currencies, user settings, recents, and cache
Teams8Team management and membership
Files7File upload, download, management, and remote file linking
Filters7Filter CRUD and helper metadata
Search6Universal and entity-specific search
Mailbox6Mail threads and messages
Stages5Pipeline stage CRUD (v2)
Tasks5Project task management
Goals5Goal CRUD and results
Call logs5Call log CRUD and audio attachments
Activity types5Activity type management
Org relationships5Organization-to-organization relationships
Channels4Messaging channel integration
Webhooks3Webhook CRUD
Permission sets3Permission set inspection and assignments
Project templates2Project template discovery
Meetings2Video call provider linking

Installation

Global Installation

bash
npm install -g @nubiia/mcp-pipedrive

Using npx (No Installation Required)

bash
npx -y @nubiia/mcp-pipedrive

Configuration

Prerequisites

  1. Get your Pipedrive API token from Settings > API
  2. Have Claude Desktop installed

Claude Desktop Setup

macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "pipedrive": {
      "command": "npx",
      "args": ["-y", "@nubiia/mcp-pipedrive"],
      "env": {
        "PIPEDRIVE_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Windows

Edit %APPDATA%\Claude\claude_desktop_config.json:

json
{
  "mcpServers": {
    "pipedrive": {
      "command": "npx",
      "args": ["-y", "@nubiia/mcp-pipedrive"],
      "env": {
        "PIPEDRIVE_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Environment Variables

VariableRequiredDefaultDescription
PIPEDRIVE_API_TOKENYes-Your Pipedrive API token
PIPEDRIVE_READ_ONLYNofalseEnable read-only mode (blocks all write operations)
PIPEDRIVE_TOOLSETSNodeals,persons,organizations,activitiesComma-separated list of enabled tool categories
LOG_LEVELNoinfoLogging level (debug, info, warn, error)

Advanced Configuration Examples

Read-Only Mode

Perfect for exploratory use or when you want to prevent accidental modifications:

json
{
  "mcpServers": {
    "pipedrive": {
      "command": "npx",
      "args": ["-y", "@nubiia/mcp-pipedrive"],
      "env": {
        "PIPEDRIVE_API_TOKEN": "your_token",
        "PIPEDRIVE_READ_ONLY": "true"
      }
    }
  }
}

Filtered Toolsets

Only enable specific tool categories:

json
{
  "mcpServers": {
    "pipedrive": {
      "command": "npx",
      "args": ["-y", "@nubiia/mcp-pipedrive"],
      "env": {
        "PIPEDRIVE_API_TOKEN": "your_token",
        "PIPEDRIVE_TOOLSETS": "deals,persons,search"
      }
    }
  }
}

Debug Logging

Enable verbose logging for troubleshooting:

json
{
  "mcpServers": {
    "pipedrive": {
      "command": "npx",
      "args": ["-y", "@nubiia/mcp-pipedrive"],
      "env": {
        "PIPEDRIVE_API_TOKEN": "your_token",
        "LOG_LEVEL": "debug"
      }
    }
  }
}

Usage Examples

Example 1: Creating a Deal with Contact

Claude, create a new deal for "Enterprise Software License" worth $50,000.
The contact is John Smith (john@acme.com). Set the expected close date
to the end of next month and add a follow-up call for tomorrow.

Claude will:

  1. Search for or create the person "John Smith"
  2. Create the deal linked to this person
  3. Schedule a call activity for tomorrow
  4. Provide a summary with IDs and next steps

Example 2: Searching for Contacts

Find all contacts at Acme Corporation and show me their recent deals.

Claude will:

  1. Search organizations for "Acme Corporation"
  2. Get all persons associated with that organization
  3. Retrieve deals for each person
  4. Present organized results with totals

Example 3: Managing Activities

Show me all overdue activities for my open deals and reschedule them
to next week.

Claude will:

  1. List all activities with done=false and past due dates
  2. Filter for activities linked to open deals
  3. Update each activity with new dates next week
  4. Provide a summary of rescheduled items

Example 4: Using Custom Fields

Before creating this deal, show me what custom fields are available
for deals and explain what each one means.

Claude will:

  1. Access the pipedrive://custom-fields resource
  2. Extract deal-specific custom fields
  3. Display field names, types, and options
  4. Explain how to use them in deal creation

Example 5: Pipeline Management

Generate a pipeline report showing deal counts and total values for
each stage in my sales pipeline.

Claude will:

  1. Use the pipedrive://pipelines resource
  2. Get deal summaries grouped by stage
  3. Calculate totals and percentages
  4. Format as a readable report

Example 6: Weekly Review Workflow

Run the weekly pipeline review prompt.

Claude will:

  1. Execute the weekly-pipeline-review prompt
  2. Gather all open deals by stage
  3. Calculate metrics (won/lost, approaching close, stale deals)
  4. Generate actionable recommendations

Custom fields

Pass custom field values by display name when creating or updating deals, persons, organizations, products, or leads:

json
{
  "title": "ACME Enterprise Deal",
  "value": 50000,
  "currency": "USD",
  "custom_fields": {
    "Industria": "Tech",
    "Budget": 50000
  }
}

The MCP server resolves names to Pipedrive hash keys automatically. See docs/CUSTOM_FIELDS.md for the full guide.

Stage and lead-label management

Manage pipeline stages and lead labels directly from the LLM:

json
{ "name": "Qualified", "pipeline_id": 1, "deal_probability": 75 }

Convert qualified leads into deals (or roll a deal back to a lead) via the asynchronous *_convert_to_* / *_convert_status tool pairs.

Deal installments

Manage scheduled, fixed payments on a deal (API v2 — the modern replacement for the legacy subscriptions feature):

json
{ "id": 123, "description": "Deposit", "amount": 500, "billing_date": "2026-01-15" }

Tools: deals_list_installments, deals_add_installment, deals_update_installment, deals_delete_installment.

Full field coverage

Field tools now cover every entity: deal, person, organization, product, lead and note field listings (fields_list_lead_fields, fields_list_note_fields — read-only), plus full project field CRUD via API v2 (fields_list_project_fields, fields_create_project_field, fields_update_project_field, fields_delete_project_field).

Architecture

Core Components

  • PipedriveClient - HTTP client with rate limiting, caching, and retry logic
  • Rate Limiter - Bottleneck-based limiter (10 req/s, burst capacity)
  • Cache Layer - TTL-based cache with LRU eviction (500 item max)
  • Retry Handler - Exponential backoff for transient failures
  • Metrics Collector - Request tracking and performance monitoring
  • Error Handler - Standardized error formatting with context

Tool Structure

Each tool follows a consistent pattern:

  1. Zod Schema - Input validation with descriptive errors
  2. Description - Detailed usage instructions for the LLM
  3. Handler - Async function that calls PipedriveClient

Resources

Three MCP resources provide read-only reference data:

  • pipedrive://pipelines - All pipelines with stages and deal counts
  • pipedrive://custom-fields - Custom field definitions for all entities
  • pipedrive://current-user - Authenticated user info and permissions

Prompts

Five guided workflows for common operations:

  • create-deal-workflow - Complete deal creation with person and activity
  • sales-qualification - BANT qualification checklist
  • follow-up-sequence - Multi-day activity sequence
  • weekly-pipeline-review - Pipeline health report
  • lost-deal-analysis - Lost deal pattern analysis

Performance

Rate Limiting

  • Default: 10 requests/second (100ms between requests)
  • Burst: 100 token reservoir that refills every minute
  • Auto-retry: 429 errors automatically retry after 5 seconds

Caching Strategy

Data TypeTTLReason
Pipelines10 minPipeline structures change infrequently
Custom Fields15 minField definitions are relatively static
User Info1 minUser data may change during session
List Requests5 minDefault for paginated results

Metrics

The server tracks:

  • Total requests and success rate
  • Average response time
  • Error rate by type
  • Cache hit rate
  • Rate limit events

Access metrics with the system/metrics tool.

API Reference

This MCP server implements the Pipedrive REST API v1. For detailed API documentation, see:

Advanced Usage

Custom Field Discovery

Before creating or updating entities, check available custom fields:

javascript
// Access via MCP resource
//custom-fields

// Or use field tools
pipedrive: fields / deal - fields;
fields / person - fields;
fields / org - fields;
fields / activity - fields;

Error Handling

All tools return structured errors with:

  • Error type (validation, authentication, rate limit, etc.)
  • Detailed message
  • Suggested actions
  • Original API error (if applicable)

Workflow Automation

Chain multiple tools together for complex workflows:

  1. Lead Qualification

    • Search for person
    • Get their deals and activities
    • Create qualification note
    • Update deal stage
  2. Deal Pipeline Movement

    • Get deal details
    • Check custom field requirements
    • Update custom fields
    • Move to next stage
    • Create next activity
  3. Reporting

    • List deals by stage
    • Get deal summaries
    • Calculate metrics
    • Format as markdown

Troubleshooting

See TROUBLESHOOTING.md for common issues and solutions.

Quick fixes:

  • Authentication errors: Verify your API token at https://app.pipedrive.com/settings/api
  • Rate limiting: Reduce request frequency or enable caching
  • Validation errors: Check tool input schema and required fields
  • Not seeing tools in Claude: Restart Claude Desktop after config changes

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Setup

bash
# Clone the repository
git clone https://github.com/nubiia-dev/mcp-pipedrive.git
cd mcp-pipedrive

# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Run with auto-reload during development
npm run dev

Running Tests

bash
# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run with UI
npm run test:ui

Security

Please see SECURITY.md for our security policy and how to report vulnerabilities.

Important: Never commit your API token to version control. Always use environment variables.

About Nubiia

This MCP server is built and maintained by Nubiia.

Nubiia ayuda a empresas a automatizar procesos e integrar sus herramientas con IA: servidores MCP a medida, integraciones con CRMs y ERPs (Pipedrive, Holded y más), y agentes que conectan tus datos de negocio con asistentes como Claude. Este @nubiia/mcp-pipedrive es un ejemplo open source de lo que hacemos.

👉 ¿Quieres una integración o automatización con IA para tu negocio? nubiia.es · ✉️ hola@nubiia.es

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

Inspired by mcp-holded - an excellent MCP server implementation for Holded CRM.

Support

Changelog

See CHANGELOG.md for version history and release notes.

Roadmap

  • Webhook support for real-time updates
  • Bulk operations for mass updates
  • Advanced filtering with complex queries
  • Export/import functionality
  • Integration with other CRMs
  • GraphQL support

Author

Built by Nubiia — nubiia.es · hola@nubiia.es

Maintainer: Samuel Fraga — GitHub


Made with dedication by Nubiia

Установка

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

Используйте MCP Pipedrive MCP Server с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Pipedrive MCP Server вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Pipedrive MCP Server как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Pipedrive MCP Server.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "mcp-pipedrive": {
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-pipedrive"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Pipedrive MCP Server, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Pipedrive MCP Server.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Pipedrive MCP Server?
Pipedrive MCP Server
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Pipedrive MCP Server.

Часто задаваемые вопросы

Для чего используется сервер MCP Pipedrive MCP Server?

Pipedrive MCP Server — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Pipedrive MCP Server с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Pipedrive MCP Server с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Pipedrive MCP Server с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Pipedrive MCP Server, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Pipedrive MCP Server к TypingMind?

Pipedrive MCP Server работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP Pipedrive MCP Server в TypingMind?

Pipedrive MCP Server предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Pipedrive MCP Server?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Pipedrive MCP Server требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇