About Pipedrive Fastmcp
Pipedrive Fastmcp is an MCP server in the Productivity category: fast MCP server for pipedrive.
Install
git clone https://github.com/bioanywhere/pipedrive_fastmcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (23)
create_activityCreate a new activity
Parameters not published.
create_dealCreate a new deal in Pipedrive
Parameters not published.
create_organizationCreate a new organization
Parameters not published.
create_personCreate a new person/contact
Parameters not published.
delete_dealDelete a deal
Parameters not published.
delete_organizationDelete an organization
Parameters not published.
delete_personDelete a person
Parameters not published.
get_activitiesGet all activities from Pipedrive
Parameters not published.
get_current_userGet current user information
Parameters not published.
get_deal_by_idGet a specific deal by ID
Parameters not published.
Show all 23 tools
get_dealsGet all deals from Pipedrive with filtering options
Parameters not published.
get_organization_by_idGet a specific organization by ID
Parameters not published.
get_organizationsGet all organizations from Pipedrive
Parameters not published.
get_person_by_idGet a specific person by ID
Parameters not published.
get_personsGet all persons/contacts from Pipedrive
Parameters not published.
get_pipeline_by_idGet a specific pipeline by ID
Parameters not published.
get_pipeline_dealsGet deals in a specific pipeline
Parameters not published.
get_pipelinesGet all pipelines from Pipedrive
Parameters not published.
get_usersGet all users from Pipedrive
Parameters not published.
search_itemsSearch for items across Pipedrive
Parameters not published.
update_dealUpdate an existing deal
Parameters not published.
update_organizationUpdate an existing organization
Parameters not published.
update_personUpdate an existing person
Parameters not published.
Ask AI
Ask AI about Pipedrive Fastmcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Pipedrive FastMCP Server
A comprehensive Model Context Protocol (MCP) server that exposes the complete Pipedrive API v1 as OpenAPI-based MCP tools using the FastMCP framework. This enables AI assistants to interact seamlessly with Pipedrive CRM data.
🚀 Features
- Complete API Coverage: 28 tools covering all major Pipedrive entities
- OpenAPI-based: Built following Pipedrive's official OpenAPI v1 specification
- FastMCP Framework: Modern, efficient MCP server implementation
- Secure Authentication: Token-based authentication with environment variable management
- Real-time Data: Direct integration with live Pipedrive data
- Comprehensive CRUD: Full Create, Read, Update, Delete operations for core entities
📋 Available Tools
🔹 Deals (6 tools)
get_deals- List all deals with filtering optionsget_deal_by_id- Get specific deal by IDcreate_deal- Create new dealupdate_deal- Update existing dealdelete_deal- Delete deal
🔹 Persons/Contacts (6 tools)
get_persons- List all persons/contactsget_person_by_id- Get specific person by IDcreate_person- Create new person/contactupdate_person- Update existing persondelete_person- Delete person
🔹 Organizations (6 tools)
get_organizations- List all organizationsget_organization_by_id- Get specific organization by IDcreate_organization- Create new organizationupdate_organization- Update existing organizationdelete_organization- Delete organization
🔹 Activities (2 tools)
get_activities- List all activities with filteringcreate_activity- Create new activity/task
🔹 Pipelines (3 tools)
get_pipelines- List all sales pipelinesget_pipeline_by_id- Get specific pipeline by IDget_pipeline_deals- Get deals within a pipeline
🔹 Users (2 tools)
get_users- List all usersget_current_user- Get current user information
🔹 Search (1 tool)
search_items- Search across all Pipedrive items
🔹 Resources (1 resource)
pipedrive://info- Server information and help
🛠️ Installation & Setup
Prerequisites
- Python 3.11+
- Pipedrive account with API access
- Pipedrive API token
1. Environment Setup
The server runs automatically in Replit. For local development:
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
2. Get Your Pipedrive API Token
- Log into your Pipedrive account
- Go to Settings → Personal preferences → API
- Copy your API token
- Set the environment variable:
export PIPEDRIVE_API_TOKEN="your_api_token_here"
3. Run the Server
python main.py
The server will start and listen for MCP connections via STDIO transport.
🔧 Configuration
Environment Variables
- PIPEDRIVE_API_TOKEN (required): Your Pipedrive API token
- PIPEDRIVE_COMPANY_DOMAIN (optional): Your company domain (defaults to 'api')
MCP Client Configuration
To connect an MCP-compatible AI assistant:
{
"mcpServers": {
"pipedrive": {
"command": "python",
"args": ["main.py"],
"env": {
"PIPEDRIVE_API_TOKEN": "your_token_here"
}
}
}
}
💡 Usage Examples
Basic Queries
"Show me all open deals"
"Create a new contact named John Doe with email john@example.com"
"Find all companies with 'tech' in the name"
"What are my sales pipelines?"
"Create a $5000 deal with Acme Corp"
Advanced Operations
"Show me all activities for this week"
"Get all deals assigned to user ID 123"
"Update deal 456 to the next stage"
"Find all contacts at Microsoft and their recent activities"
"Give me conversion rates for each pipeline stage"
Data Analysis
"Summarize all won deals this quarter"
"Show me the top 10 highest value deals"
"Which organizations have the most active deals?"
"What activities are overdue?"
📚 API Reference
All tools follow the Pipedrive API v1 specification:
- Base URL:
https://api.pipedrive.com/v1 - Authentication: API token via query parameter
- Documentation: https://developers.pipedrive.com/docs/api/v1
Response Format
All tools return JSON responses with either:
- Success: The requested data from Pipedrive
- Error:
{"error": "Description of what went wrong"}
Pagination
List endpoints support pagination:
start: Starting offset (default: 0)limit: Items per page (default: 100, max: 500)
Filtering
Many endpoints support filtering:
user_id: Filter by userfilter_id: Apply saved filterstatus: Filter by status- Date ranges and more
🔒 Security
- API tokens are securely handled via environment variables
- No tokens are logged or exposed in responses
- All API calls use HTTPS
- Follows Pipedrive's security best practices
🚀 Deployment
Production Deployment
The server is configured for VM deployment and will run as a long-running process:
# The server runs continuously via STDIO transport
python main.py
Integration with AI Assistants
This MCP server works with any MCP-compatible AI assistant:
- Claude (via MCP client)
- Cursor
- Other MCP clients
Configure your AI assistant to connect to this server for seamless Pipedrive integration.
📁 File Structure
├── main.py # Core MCP server implementation
├── mcp.json # MCP manifest with tool definitions
├── examples.py # Usage examples and patterns
├── requirements.txt # Python dependencies
├── pipedrive_openapi.yaml # Pipedrive OpenAPI specification
├── .env.example # Environment variable template
├── .gitignore # Git ignore patterns
└── README.md # This documentation
🤝 Contributing
This server implements the complete Pipedrive API v1 specification. For additional features or improvements:
- Check the Pipedrive API documentation
- Follow the existing code patterns
- Add comprehensive error handling
- Update the MCP manifest (
mcp.json)
📖 Resources
📜 License
MIT License - see LICENSE file for details.
Built with FastMCP 🚀 | Powered by Pipedrive API v1 🔌
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.