Pipedrive MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Pipedrive MCP Servershow me my open deals"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 syncConfiguration
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=2Getting Your API Token
Log into your Pipedrive account
Go to Settings > Personal preferences > API
Copy your API token
Usage
Running the Server
# Run with uv
uv run pipedrive-mcpClaude Desktop Integration
Add to your Claude Desktop configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/claude/claude_desktop_config.jsonWindows:
%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.serverAvailable Tools (22)
User Management
Tool | Description |
| Get all users/owners from Pipedrive |
Deals
Tool | Description |
| Get deals with comprehensive filtering (see below) |
| Get a single deal by ID with all custom fields |
| Get notes for a specific deal |
| Full-text search deals |
get_deals parameters:
search_title- Search by deal title (partial matches)owner_id- Filter by owner/user IDstage_id- Filter by pipeline stagestatus- Filter by status:open,won,lost,deleted(default:open)pipeline_id- Filter by pipelinefilter_id- Use a saved filter from Pipedrivemin_value/max_value- Filter by deal value rangecreated_after/created_before- Filter by creation date (ISO format: YYYY-MM-DD)updated_after/updated_before- Filter by update datesort_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 all persons, optionally filtered by saved filter |
| Get a single person by ID with all custom fields |
| Full-text search persons |
Organizations
Tool | Description |
| Get all organizations, optionally filtered |
| Get a single organization by ID |
| Full-text search organizations |
Pipelines & Stages
Tool | Description |
| Get all sales pipelines |
| Get a single pipeline by ID |
| Get all stages, optionally filtered by pipeline |
Leads
Tool | Description |
| Full-text search leads |
Universal Search
Tool | Description |
| Search across all item types |
Supported item types: deal, person, organization, product, file, activity, lead
Filters
Tool | Description |
| Get all saved filters from Pipedrive |
Filter types: deals, persons, org, products, activities
Use saved filters to query by custom fields:
Create a filter in Pipedrive UI with your criteria
Call
get_filters()to find the filter's IDPass
filter_idtoget_persons(),get_deals(), orget_organizations()
Field Definitions
Tool | Description |
| Get deal field definitions (maps hash IDs to names) |
| Get person field definitions |
| Get organization field definitions |
These tools map custom field hash keys (like c3976c9693716fc786c2092081506816441ee526) to human-readable field names.
Activities
Tool | Description |
| Get activities (calls, meetings, tasks, emails) |
| Get all activity types configured in Pipedrive |
get_activities parameters:
deal_id- Filter by dealperson_id- Filter by personorg_id- Filter by organizationuser_id- Filter by assigned useractivity_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 filterGet 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 namesDevelopment
# Install with dev dependencies
uv sync --extra dev
# Run tests
uv run pytest
# Run with verbose output
uv run pytest -vLicense
MIT License - see LICENSE file for details.
Attribution
Developed by Osher Digital - Digital transformation and AI integration specialists.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/osherai/pipedrive-mcp-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server