hubspot-mcp
Allows querying HubSpot CRM to search and fetch details of contacts, deals, companies, and quotes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hubspot-mcp Find all deals in the proposal stage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hubspot-mcp
Let Claude and other AI agents query your HubSpot CRM in natural language.
hubspot-mcp is a Model Context Protocol server that
exposes your HubSpot CRM — contacts, deals, companies, and quotes — to AI agents. Ask
"What deals are in the proposal stage?" or "Find the contact for acme.com" and the agent
answers from live HubSpot data.
Read-only and safe by default. The server only uses read scopes; it cannot modify your CRM.
Features
🔎 Search contacts, deals, companies, and quotes
📇 Fetch full details for any record by id (with associations)
🧭 List deal pipelines and stages so the agent knows valid filters
🔒 Read-only by design — no write scopes requested or used
🐍 Pure Python, built on the official MCP SDK (FastMCP)
Related MCP server: HubSpot MCP Server
Tools
Tool | What it does |
| Search contacts by name/email/company |
| Full detail for one contact |
| Search/filter deals by name and stage |
| Full deal detail + associated contacts/company |
| Search companies by name/domain |
| Full company detail |
| List quotes, optionally for one deal |
| Full quote detail + line items |
| List deal pipelines and their stages |
Install
Install directly from GitHub:
pip install git+https://github.com/MBAD753/hubspot-mcp
# or, isolated:
pipx install git+https://github.com/MBAD753/hubspot-mcpA PyPI release (
pip install hubspot-mcp) is planned — see the roadmap below.
Setup
In HubSpot, go to Settings → Integrations → Private Apps → Create a private app.
Grant read-only scopes:
crm.objects.contacts.read,crm.objects.deals.read,crm.objects.companies.read,crm.objects.quotes.read.Copy the access token and set it in your environment:
export HUBSPOT_ACCESS_TOKEN="pat-na1-xxxx..."Tip: Use a free HubSpot developer/test account while evaluating — never point a tool at a production account until you trust it.
Use with Claude Code
Register the server (user scope makes it available in every project):
claude mcp add hubspot --scope user \
--env HUBSPOT_ACCESS_TOKEN=pat-naX-xxxx... \
-- hubspot-mcpOr add it directly to your ~/.claude.json under mcpServers:
{
"mcpServers": {
"hubspot": {
"type": "stdio",
"command": "hubspot-mcp",
"env": { "HUBSPOT_ACCESS_TOKEN": "pat-naX-xxxx..." }
}
}
}Reload the window, then ask Claude: "Use my hubspot tools — what deals do I have and what stage is each in?"
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"hubspot": {
"command": "hubspot-mcp",
"env": {
"HUBSPOT_ACCESS_TOKEN": "pat-naX-xxxx..."
}
}
}
}Restart Claude Desktop, and the HubSpot tools appear. Try: "Search my HubSpot for deals in the proposal stage and show their amounts."
Development
git clone https://github.com/MBAD753/hubspot-mcp
cd hubspot-mcp
python -m venv .venv
.venv\Scripts\Activate.ps1 # Windows (PowerShell)
# source .venv/bin/activate # macOS / Linux
pip install -e ".[dev]"
pytest # run tests (mocked HTTP — no real API calls)
ruff check . # lintRoadmap
v1 (now): read-only search + fetch across contacts, deals, companies, quotes.
v2: opt-in write operations (create contact, update deal stage, add note, create quote), gated behind an explicit environment flag and separate write scopes.
License
MIT © Marcus Bickel
Available Tools
9 toolsget_companyA
Get full details for a single HubSpot company by its id.
Inputs: company_id (required). Returns: object
get_contactA
Get full details for a single HubSpot contact by its id.
Inputs: contact_id (required). Returns: object
get_dealA
Get full details for a single HubSpot deal by its id, including associated contacts and company.
Inputs: deal_id (required). Returns: object
get_pipeline_stagesA
List HubSpot deal pipelines and their stages, so you know the valid
stage values to pass to search_deals.
Inputs: no named parameters. Returns: result
get_quoteA
Get full details for a single HubSpot quote by its id, including line items.
Inputs: quote_id (required). Returns: object
list_quotesA
List HubSpot quotes, optionally filtered to those on a specific deal
(deal_id). Returns quotes with title, status, expiration, and amount.
Inputs: limit, deal_id. Returns: result
search_companiesB
Search HubSpot companies by name or domain. Returns companies with name, domain, industry, and location.
Inputs: query (required), limit. Returns: result
search_contactsA
Search HubSpot contacts by name, email, or company. Returns matching contacts with their core properties (name, email, phone, company, job title).
Inputs: query (required), limit. Returns: result
search_dealsA
Search HubSpot deals by name (query) and/or filter by deal stage
(stage). Returns deals with name, amount, stage, pipeline, and close date.
Use get_pipeline_stages to discover valid stage values.
Inputs: limit, query, stage. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct object and action (get vs search vs list), with no overlapping purposes. For example, get_company and search_companies are clearly different operations.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., get_company, search_deals, list_quotes), with no mixing of conventions.
9 tools cover the core HubSpot CRM objects (companies, contacts, deals, quotes, pipelines) without being excessive or insufficient.
The set provides comprehensive read operations but lacks any create, update, or delete tools, which is a significant gap for a CRM-focused server. Agents cannot manage records, only view them.
Maintenance
Related MCP Connectors
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
MCP server for the HubSpot Integrations Center HubDB: search and retrieve integration data.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceThis read-only MCP Server allows you to connect to HubSpot data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).MIT
- FlicenseNot gradedqualityDmaintenanceA Type 4 OAuth MCP server that enables AI assistants to interact with HubSpot CRM objects like contacts, companies, deals, and tickets.-
- AlicenseNot gradedqualityDmaintenanceA 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.11 npmMIT
- AlicenseNot gradedqualityCmaintenanceHubSpot MCP server that enables browsing and searching contacts, companies, and deals in your HubSpot workspace.76 npmMIT