HubSpot CRM MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with full access to HubSpot CRM. Manage contacts, companies, deals, pipelines, and associations directly from Claude, Cursor, or any MCP-compatible client.
README
HubSpot CRM MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with full access to HubSpot CRM. Manage contacts, companies, deals, pipelines, and associations directly from Claude, Cursor, or any MCP-compatible client.
Features
- Contact Management - Create, read, update, search, and list contacts
- Company Management - Create, read, and search companies
- Deal Management - Create, read, update, and list deals with pipeline tracking
- Pipeline Access - Retrieve deal pipelines and stage configurations
- Object Associations - Link contacts to companies, deals to contacts, etc.
- Built-in Rate Limiting - Automatic throttling (100 req/10s) with 429 retry
- Cursor-based Pagination - Efficient data retrieval for large datasets
Available Tools (14)
| Tool | Description |
|---|---|
hubspot_create_contact |
Create a new contact |
hubspot_get_contact |
Get contact by ID or email |
hubspot_update_contact |
Update contact properties |
hubspot_search_contacts |
Search contacts with filters |
hubspot_list_contacts |
List contacts with pagination |
hubspot_create_company |
Create a new company |
hubspot_get_company |
Get company by ID |
hubspot_search_companies |
Search companies by name/domain |
hubspot_create_deal |
Create a new deal |
hubspot_get_deal |
Get deal by ID |
hubspot_update_deal |
Update deal properties |
hubspot_list_deals |
List deals with pagination |
hubspot_get_pipelines |
Get all deal pipelines and stages |
hubspot_create_association |
Associate CRM objects together |
Quick Start
npx @cloud9-labs/mcp-hubspot
Prerequisites
- Node.js >= 20.0.0
- HubSpot account with a Private App access token
Required HubSpot Scopes
Your Private App needs these scopes:
crm.objects.contacts.read/crm.objects.contacts.writecrm.objects.companies.read/crm.objects.companies.writecrm.objects.deals.read/crm.objects.deals.write
Installation
Via npm (Recommended)
npm install @cloud9-labs/mcp-hubspot
From Source
git clone https://github.com/cloud9-labs/mcp-hubspot.git
cd mcp-hubspot
npm install
npm run build
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": ["-y", "@cloud9-labs/mcp-hubspot"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": ["-y", "@cloud9-labs/mcp-hubspot"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}
Usage Examples
Once connected, you can ask your AI assistant:
- "Create a contact for John Smith at john@example.com"
- "Search for all contacts at Acme Corp"
- "Create a deal called 'Enterprise License' for $50,000"
- "Show me all deal pipelines and their stages"
- "Associate contact 123 with company 456"
- "List the last 20 deals in our pipeline"
Search Filters
The hubspot_search_contacts tool supports advanced filtering:
Operators: EQ, NEQ, LT, LTE, GT, GTE, BETWEEN, IN, NOT_IN,
HAS_PROPERTY, NOT_HAS_PROPERTY, CONTAINS_TOKEN, NOT_CONTAINS_TOKEN
Example: Search contacts where lifecycle stage equals "lead":
{
"query": "",
"filters": [
{
"propertyName": "lifecyclestage",
"operator": "EQ",
"value": "lead"
}
]
}
Building an AI Sales Automation System?
This MCP server is part of an open-source toolkit for AI-powered sales automation. We're building MCP servers that connect your entire sales stack — CRM, email, scheduling, lead scoring, and more.
Follow our progress and get updates:
- X (Twitter): @cloud9_ai_labs
- GitHub: cloud9-labs
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.