HubSpot
A Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data, providing built-in vector storage and caching mechanisms help overcome HubSpot API limitations while improving response times.
What is HubSpot?
HubSpot is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server that enables ai assistants to interact with hubspot crm data, providing built-in vector storage and caching mechanisms help overcome hubspot api limitations while i...
A Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data, providing built-in vector storage and caching mechanisms help overcome HubSpot API limitations while improving response times.
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol (MCP) server that enables AI assist
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-hubspotConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use HubSpot
MCP HubSpot is a Python-based MCP server that connects AI assistants to HubSpot CRM data, exposing tools for creating contacts and companies, retrieving active deals and conversations, and performing semantic search across CRM records using a local FAISS vector index. The built-in vector storage layer caches retrieved data locally, which overcomes HubSpot API rate limits and dramatically speeds up repeated queries. Marketing and sales teams using Claude can manage their CRM pipeline through natural language without switching to the HubSpot UI.
Prerequisites
- A HubSpot account with a Private App access token
- The HubSpot Private App must have scopes: crm.objects.contacts (read/write), crm.objects.companies (read/write), and sales-email-read
- Docker installed (recommended) or Python 3.10+ for local execution
- An MCP-compatible client such as Claude Desktop or Claude Code
Obtain a HubSpot Private App access token
In HubSpot, navigate to Settings > Integrations > Private Apps, create a new private app, and grant the required scopes: crm.objects.contacts (read/write), crm.objects.companies (read/write), and sales-email-read. Copy the generated access token.
Run the server with Docker
Pull and run the pre-built Docker image, passing your HubSpot access token as an environment variable. Mount a local path for persistent vector storage to avoid re-fetching data after restarts.
docker run -e HUBSPOT_ACCESS_TOKEN=your_token \
-v /path/to/local/storage:/storage \
buryhuang/mcp-hubspot:latestAlternatively, install via Smithery
Smithery automates the installation and Claude Desktop configuration in a single command.
npx -y @smithery/cli@latest install mcp-hubspot --client claudeConfigure Claude Desktop manually
If not using Smithery, add the server to claude_desktop_config.json so Claude Desktop can start the Docker container as the MCP process.
Test the connection
Open Claude Desktop and ask it to list your most recently active HubSpot contacts to verify the server is running and the access token is valid.
HubSpot Examples
Client configuration
Add this to claude_desktop_config.json to run the HubSpot MCP server via Docker. Replace 'your_token' with your actual HubSpot Private App access token.
{
"mcpServers": {
"mcp-hubspot": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "HUBSPOT_ACCESS_TOKEN=your_token",
"-v", "/path/to/storage:/storage",
"buryhuang/mcp-hubspot:latest"
]
}
}
}Prompts to try
These prompts exercise the CRM tools exposed by the HubSpot MCP server.
- "Show me the most recently active contacts in my HubSpot CRM."
- "Create a new HubSpot contact named Jane Smith at Acme Corp with email [email protected]."
- "What recent conversations have we had with Acme Corp?"
- "Search my HubSpot data for any records related to enterprise pricing discussions."
- "Create a HubSpot company for Globex Corporation in the manufacturing industry."Troubleshooting HubSpot
API calls fail with 403 Forbidden errors
Check that your HubSpot Private App has all three required scopes: crm.objects.contacts (read and write), crm.objects.companies (read and write), and sales-email-read. Regenerate the token after adding missing scopes.
Semantic search returns stale or empty results
The FAISS vector index is built from data retrieved in previous sessions. If CRM data has changed significantly, delete the /storage volume mount directory contents and restart the container to force a fresh retrieval.
Docker container exits immediately with no output
Ensure you pass the -i flag to docker run (required for stdio MCP transport) and that HUBSPOT_ACCESS_TOKEN is set. Run 'docker run -e HUBSPOT_ACCESS_TOKEN=your_token buryhuang/mcp-hubspot:latest' manually to see error output.
Frequently Asked Questions about HubSpot
What is HubSpot?
HubSpot is a Model Context Protocol (MCP) server that model context protocol (mcp) server that enables ai assistants to interact with hubspot crm data, providing built-in vector storage and caching mechanisms help overcome hubspot api limitations while improving response times. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install HubSpot?
Follow the installation instructions on the HubSpot GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with HubSpot?
HubSpot works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is HubSpot free to use?
Yes, HubSpot is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
HubSpot Alternatives — Similar Business Applications Servers
Looking for alternatives to HubSpot? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up HubSpot in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use HubSpot?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.