mcpField
H
HubSpot MCP Server

HubSpot MCP Server

Local
github.com/baryhuangData & Analytics131Updated 50w ago

About HubSpot MCP Server

HubSpot MCP Server is an MCP server that lets AI assistants work with HubSpot CRM contacts, companies and engagement data. It includes built-in vector storage and caching to work around HubSpot API limits and reduce response times.

Key features

  1. 01Access to contacts, companies and engagement data
  2. 02Contact and company creation with duplicate prevention
  3. 03Retrieval of recently active companies and contacts
  4. 04FAISS-based semantic search over retrieved data

Use cases

  1. 01Creating HubSpot contacts and companies from a LinkedIn profile
  2. 02Checking recent pipeline activity
  3. 03Searching previously retrieved CRM data by meaning

MCP support

This project is an MCP server that exposes HubSpot tools to MCP clients for reading and writing CRM data and running semantic search.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
Run commandnpx -y @smithery/cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@smithery/cli

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

HubSpot MCP Server

Docker Hub License: MIT

Overview

A Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data. This server bridges AI models with your HubSpot account, providing direct access to contacts, companies, and engagement data. Built-in vector storage and caching mechanisms help overcome HubSpot API limitations while improving response times.

Our implementation prioritizes the most frequently used, high-value HubSpot operations with robust error handling and API stability. Each component is optimized for AI-friendly interactions, ensuring reliable performance even during complex, multi-step CRM workflows.

Why MCP-HubSpot?

  • Direct CRM Access: Connect Claude and other AI assistants to your HubSpot data without intermediary steps
  • Context Retention: Vector storage with FAISS enables semantic search across previous interactions
  • Zero Configuration: Simple Docker deployment with minimal setup

Example Prompts

Create HubSpot contacts and companies from this LinkedIn profile:
[Paste LinkedIn profile text]
What's happening lately with my pipeline?

Available Tools

The server offers tools for HubSpot management and data retrieval:

ToolPurpose
hubspot_create_contactCreate contacts with duplicate prevention
hubspot_create_companyCreate companies with duplicate prevention
hubspot_get_company_activityRetrieve activity for specific companies
hubspot_get_active_companiesRetrieve most recently active companies
hubspot_get_active_contactsRetrieve most recently active contacts
hubspot_get_recent_conversationsRetrieve recent conversation threads with messages
hubspot_search_dataSemantic search across previously retrieved HubSpot data

Performance Features

  • Vector Storage: Utilizes FAISS for efficient semantic search and retrieval
  • Thread-Level Indexing: Stores each conversation thread individually for precise retrieval
  • Embedding Caching: Uses SentenceTransformer with automatic caching
  • Persistent Storage: Data persists between sessions in configurable storage directory
  • Multi-platform Support: Optimized Docker images for various architectures

Setup

Prerequisites

You'll need a HubSpot access token with these scopes:

  • crm.objects.contacts (read/write)
  • crm.objects.companies (read/write)
  • sales-email-read
Quick Start
# Install via Smithery (recommended)
npx -y @smithery/cli@latest install mcp-hubspot --client claude

# Or pull Docker image directly
docker run -e HUBSPOT_ACCESS_TOKEN=your_token buryhuang/mcp-hubspot:latest
Docker Configuration

For manual configuration in Claude desktop:

{
  "mcpServers": {
    "hubspot": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "HUBSPOT_ACCESS_TOKEN=your_token",
        "-v", "/path/to/storage:/storage",  # Optional persistent storage
        "buryhuang/mcp-hubspot:latest"
      ]
    }
  }
}
Building Docker Image

To build the Docker image locally:

git clone https://github.com/buryhuang/mcp-hubspot.git
cd mcp-hubspot
docker build -t mcp-hubspot .

For multi-platform builds:

docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64 -t buryhuang/mcp-hubspot:latest --push .

Development

pip install -e .

License

MIT License

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.