Pipedrive MCP Server

Pipedrive MCP Server

Enables LLMs like Claude to interact with Pipedrive CRM data through a standardized interface, providing 22 tools for managing deals, persons, organizations, activities, and more.

Category
访问服务器

README

Pipedrive MCP Server

A Model Context Protocol (MCP) server for Pipedrive CRM. This server allows LLMs like Claude to interact with your Pipedrive data through a standardized interface.

Developed by Osher Digital

Features

  • 22 Tools for comprehensive Pipedrive access
  • Saved Filter Support: Use Pipedrive's saved filters to query by custom fields
  • Field Definitions: Map custom field hashes to human-readable names
  • Activities: Access calls, meetings, tasks, and emails
  • Flexible Sorting: Sort deals by date, value, or title
  • Date Range Filtering: Filter by created/updated dates
  • Rate Limiting: Built-in rate limiting to respect Pipedrive API limits

Installation

cd pipedrive-mcp-python

# Install with uv
uv sync

Configuration

Create a .env file in the project root (or set environment variables):

# Required
PIPEDRIVE_API_TOKEN=your_api_token_here
PIPEDRIVE_DOMAIN=your-company.pipedrive.com

# Optional - Rate Limiting
PIPEDRIVE_RATE_LIMIT_MIN_TIME_MS=250
PIPEDRIVE_RATE_LIMIT_MAX_CONCURRENT=2

Getting Your API Token

  1. Log into your Pipedrive account
  2. Go to Settings > Personal preferences > API
  3. Copy your API token

Usage

Running the Server

# Run with uv
uv run pipedrive-mcp

Claude Desktop Integration

Add to your Claude Desktop configuration:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "pipedrive": {
      "command": "/path/to/pipedrive-mcp-python/.venv/bin/python",
      "args": ["-m", "pipedrive_mcp.server"],
      "cwd": "/path/to/pipedrive-mcp-python"
    }
  }
}

Set environment variables in your shell profile or .env file in the project directory.

Claude Code CLI Integration

claude mcp add pipedrive -- /path/to/pipedrive-mcp-python/.venv/bin/python -m pipedrive_mcp.server

Available Tools (22)

User Management

Tool Description
get_users() Get all users/owners from Pipedrive

Deals

Tool Description
get_deals(...) Get deals with comprehensive filtering (see below)
get_deal(deal_id) Get a single deal by ID with all custom fields
get_deal_notes(deal_id) Get notes for a specific deal
search_deals(term, limit) Full-text search deals

get_deals parameters:

  • search_title - Search by deal title (partial matches)
  • owner_id - Filter by owner/user ID
  • stage_id - Filter by pipeline stage
  • status - Filter by status: open, won, lost, deleted (default: open)
  • pipeline_id - Filter by pipeline
  • filter_id - Use a saved filter from Pipedrive
  • min_value / max_value - Filter by deal value range
  • created_after / created_before - Filter by creation date (ISO format: YYYY-MM-DD)
  • updated_after / updated_before - Filter by update date
  • sort_by - Sort field: add_time, update_time, title, value (default: add_time)
  • sort_order - Sort direction: asc, desc (default: desc)
  • limit - Maximum results (default: 500)

Persons (Contacts)

Tool Description
get_persons(filter_id, limit) Get all persons, optionally filtered by saved filter
get_person(person_id) Get a single person by ID with all custom fields
search_persons(term, limit) Full-text search persons

Organizations

Tool Description
get_organizations(filter_id, limit) Get all organizations, optionally filtered
get_organization(org_id) Get a single organization by ID
search_organizations(term, limit) Full-text search organizations

Pipelines & Stages

Tool Description
get_pipelines() Get all sales pipelines
get_pipeline(pipeline_id) Get a single pipeline by ID
get_stages(pipeline_id) Get all stages, optionally filtered by pipeline

Leads

Tool Description
search_leads(term, limit) Full-text search leads

Universal Search

Tool Description
search_all(term, item_types, limit) Search across all item types

Supported item types: deal, person, organization, product, file, activity, lead

Filters

Tool Description
get_filters(filter_type) Get all saved filters from Pipedrive

Filter types: deals, persons, org, products, activities

Use saved filters to query by custom fields:

  1. Create a filter in Pipedrive UI with your criteria
  2. Call get_filters() to find the filter's ID
  3. Pass filter_id to get_persons(), get_deals(), or get_organizations()

Field Definitions

Tool Description
get_deal_fields() Get deal field definitions (maps hash IDs to names)
get_person_fields() Get person field definitions
get_organization_fields() Get organization field definitions

These tools map custom field hash keys (like c3976c9693716fc786c2092081506816441ee526) to human-readable field names.

Activities

Tool Description
get_activities(...) Get activities (calls, meetings, tasks, emails)
get_activity_types() Get all activity types configured in Pipedrive

get_activities parameters:

  • deal_id - Filter by deal
  • person_id - Filter by person
  • org_id - Filter by organization
  • user_id - Filter by assigned user
  • activity_type - Filter by type (call, meeting, task, email, etc.)
  • done - Filter by completion status (True/False)
  • start_date / end_date - Filter by date range (ISO format)
  • limit - Maximum results (default: 100)

Examples

Get 10 most recent deals

get_deals(limit=10)

Get deals created this year

get_deals(created_after="2026-01-01")

Get highest value deals

get_deals(sort_by="value", sort_order="desc", limit=10)

Get contacts matching a saved filter

get_filters(filter_type="persons")  # Find the filter ID
get_persons(filter_id=122)          # Use the filter

Get all calls for a specific deal

get_activities(deal_id=123, activity_type="call")

Understand a custom field

get_deal_fields()  # Returns mapping of hash keys to field names

Development

# Install with dev dependencies
uv sync --extra dev

# Run tests
uv run pytest

# Run with verbose output
uv run pytest -v

License

MIT License - see LICENSE file for details.

Attribution

Developed by Osher Digital - Digital transformation and AI integration specialists.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选