home / mcp / hubspot mcp server
Provides an MCP server to connect Claude and other AI assistants to HubSpot CRM data with vector-backed search and caching.
Configuration
View docs{
"mcpServers": {
"baryhuang-mcp-hubspot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"HUBSPOT_ACCESS_TOKEN=your_token",
"-v",
"/path/to/storage:/storage",
"buryhuang/mcp-hubspot:latest"
],
"env": {
"HUBSPOT_ACCESS_TOKEN": "your_token"
}
}
}
}This MCP server lets AI assistants securely access HubSpot CRM data, including contacts, companies, and engagement details, while providing fast semantic search and reliable caching to handle HubSpot API limits and multi-step workflows.
You connect your AI assistant to HubSpot data through an MCP client, enabling natural language interactions with contacts, companies, and engagement history. The server stores conversation threads, uses semantic search to surface relevant past interactions, and caches embeddings for fast responses. Use this to build AI-enabled workflows like creating contacts from profiles, retrieving recent activity, or querying data across your HubSpot account.
Prerequisites: you need a HubSpot access token with the following scopes: crm.objects.contacts (read/write), crm.objects.companies (read/write), and sales-email-read.
# Install via Smithery (recommended)
npx -y @smithery/cli@latest install mcp-hubspot --client claudedocker run -e HUBSPOT_ACCESS_TOKEN=your_token buryhuang/mcp-hubspot:latest{
"mcpServers": {
"hubspot": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "HUBSPOT_ACCESS_TOKEN=your_token",
"-v", "/path/to/storage:/storage",
"buryhuang/mcp-hubspot:latest"
]
}
}
}Once running, you can prompt your AI assistant to perform HubSpot operations such as creating contacts or companies with duplicate prevention, retrieving recent activity, or performing semantic searches over retrieved data. The server persists data to your configured storage and maintains thread-level indexes for precise retrieval across conversations.
The server is designed for zero-configuration deployment with Docker, while also supporting local development and multi-platform Docker images for broad compatibility.
Create a HubSpot contact with duplicate prevention to avoid creating multiple similar entries.
Create a HubSpot company with duplicate prevention to avoid duplicate company records.
Retrieve activity for a specific HubSpot company, including emails, calls, and meetings.
Retrieve the most recently active companies based on recent interactions and activity.
Retrieve the most recently active contacts based on recent interactions and activity.
Fetch recent conversation threads with messages for context retention.
Perform semantic search across previously retrieved HubSpot data using vector embeddings.