Model Context Protocol server for Pipedrive API integration
npm install pipedrive-mcp-serverThis is a Model Context Protocol (MCP) server that connects to the Pipedrive API v2. It allows you to expose Pipedrive data and functionality to LLM applications like Claude.
- Read-only access to Pipedrive data
- Exposes deals, persons, organizations, and pipelines
- Includes all fields including custom fields
- Predefined prompts for common operations
1. Clone this repository
2. Install dependencies:
```
npm install
.env
3. Create a file in the root directory with your Pipedrive API token:`
`
PIPEDRIVE_API_TOKEN=your_api_token_here
`
4. Build the project:
`
npm run build
`
5. Start the server:
`
npm start
To use this server with Claude for Desktop:
1. Configure Claude for Desktop by editing your claude_desktop_config.json:
`json`
{
"mcpServers": {
"pipedrive": {
"command": "node",
"args": ["/path/to/pipedrive-mcp-server/build/index.js"],
"env": {
"PIPEDRIVE_API_TOKEN": "your_api_token_here"
}
}
}
}
2. Restart Claude for Desktop
3. In the Claude application, you should now see the Pipedrive tools available
- get-deals: Get all deals from Pipedrive (including custom fields)get-deal
- : Get a specific deal by ID (including custom fields)search-deals
- : Search deals by termget-persons
- : Get all persons from Pipedrive (including custom fields)get-person
- : Get a specific person by ID (including custom fields)search-persons
- : Search persons by termget-organizations
- : Get all organizations from Pipedrive (including custom fields)get-organization
- : Get a specific organization by ID (including custom fields)search-organizations
- : Search organizations by termget-pipelines
- : Get all pipelines from Pipedriveget-pipeline
- : Get a specific pipeline by IDget-stages
- : Get all stages from all pipelinessearch-leads
- : Search leads by termsearch-all
- : Search across all item types (deals, persons, organizations, etc.)
- list-all-deals: List all deals in Pipedrivelist-all-persons
- : List all persons in Pipedrivelist-all-pipelines
- : List all pipelines in Pipedriveanalyze-deals
- : Analyze deals by stageanalyze-contacts
- : Analyze contacts by organizationanalyze-leads
- : Analyze leads by statuscompare-pipelines
- : Compare different pipelines and their stagesfind-high-value-deals`: Find high-value deals
-
MIT