hubspot-mcp
hubspot-marketing-mcp
用于 HubSpot CRM 的 MCP 服务器 — 33 个工具,涵盖联系人、公司、交易、流水线、列表、营销邮件、表单、工作流和属性。
工具
联系人 (6)
工具 | 描述 |
| 对联系人进行全文搜索 |
| 通过 ID 获取联系人及其关联信息 |
| 通过精确的电子邮件地址查找联系人 |
| 最近创建的联系人,可按生命周期阶段过滤 |
| 创建新联系人 |
| 更新现有联系人的属性 |
公司 (3)
工具 | 描述 |
| 对公司进行全文搜索 |
| 通过 ID 获取公司及其关联信息 |
| 列出与公司关联的联系人 |
交易 (4)
工具 | 描述 |
| 对交易进行全文搜索 |
| 通过 ID 获取交易,包括金额、阶段和关联信息 |
| 列出特定流水线阶段中的交易 |
| 最近创建的交易,可选仅显示未结交易 |
流水线 (2)
工具 | 描述 |
| 列出所有流水线及其阶段 ID |
| 按阶段统计交易数量和总金额 — 漏斗快照 |
列表 (3)
工具 | 描述 |
| 列出所有联系人列表(静态和动态) |
| 获取列表元数据,包括成员数量 |
| 获取列表中的联系人 |
营销邮件 (3)
工具 | 描述 |
| 列出营销邮件活动 |
| 获取邮件的打开、点击、退信和退订统计数据 |
| 按状态(草稿、已排期、已发布、已归档)过滤列出邮件 |
表单 (3)
工具 | 描述 |
| 列出所有 HubSpot 表单 |
| 获取完整的表单定义,包括字段 |
| 获取最近的表单提交记录及其字段值 |
工作流 (2)
工具 | 描述 |
| 列出所有自动化工作流 |
| 获取完整的工作流详情,包括触发器和操作 |
属性 (2)
工具 | 描述 |
| 列出对象类型的所有 CRM 属性 |
| 获取完整的属性定义,包括枚举选项 |
所有者 (1)
工具 | 描述 |
| 列出可分配给 CRM 记录的 HubSpot 用户 |
高级 / 后门 (1)
工具 | 描述 |
| 针对任何对象类型使用自定义过滤器的结构化 CRM 搜索 |
Related MCP server: hubspot-mcp
设置
1. 获取 HubSpot 私有应用访问令牌
在 HubSpot 中,转到 设置 (Settings) → 集成 (Integrations) → 私有应用 (Private Apps)
创建一个新的私有应用
授予权限范围:
crm.objects.contacts.read,crm.objects.companies.read,crm.objects.deals.read,crm.lists.read,automation,forms,marketing-email复制访问令牌
2. 配置 Claude Desktop
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": ["-y", "hubspot-marketing-mcp"],
"env": {
"HUBSPOT_ACCESS_TOKEN": "pat-na1-xxxxxxxxxxxx"
}
}
}
}2a. 配置 Claude Code (CLI)
claude mcp add hubspot -e HUBSPOT_ACCESS_TOKEN=pat-na1-xxxxxxxxxxxx -- npx -y hubspot-marketing-mcp环境变量
变量 | 必需 | 描述 |
| 是 | HubSpot 私有应用访问令牌 ( |
许可证
MIT
Available Tools
30 toolshs_contact_by_emailA
Look up contacts by exact email address. Returns up to 5 matches.
Inputs: email (required).
hs_create_contactC
Create a new HubSpot contact. Email is required; all other fields are optional.
Inputs: email (required), firstname, lastname, phone, +3 more.
hs_crm_searchA
Escape hatch: run a structured CRM search with custom filter conditions against any object type. Use when preset tools don't cover your query. Docs: developers.hubspot.com/docs/api/crm/search
Inputs: objectType (required), filters (required), properties, sorts, +1 more.
hs_deals_by_stageA
List deals in a specific pipeline stage, sorted by amount descending.
Inputs: pipelineId (required), stageId (required), limit.
hs_form_submissionsB
Get recent submissions for a form including all field values and submission timestamps.
Inputs: formGuid (required), limit, after.
hs_get_companyA
Retrieve a single company by ID with all standard properties and associated contact/deal IDs.
Inputs: companyId (required).
hs_get_contactA
Retrieve a single contact by ID with all standard properties and associated company/deal IDs.
Inputs: contactId (required).
hs_get_dealA
Retrieve a single deal by ID with amount, stage, close date, and associated contacts/companies.
Inputs: dealId (required).
hs_get_email_campaign_statsA
Get performance statistics (opens, clicks, bounces, unsubscribes) for a specific marketing email.
Inputs: emailId (required).
hs_get_formA
Get full form definition including fields, required properties, and redirect settings.
Inputs: formGuid (required).
hs_get_listA
Get metadata for a specific contact list including membership count and list type.
Inputs: listId (required).
hs_get_propertyB
Get full definition of a single CRM property including options/enum values and validation rules.
Inputs: objectType (required), propertyName (required).
hs_get_workflowB
Get full details of a workflow including enrollment triggers, actions, and settings.
Inputs: workflowId (required).
hs_list_company_contactsC
List all contacts associated with a company.
Inputs: companyId (required), limit.
hs_list_email_campaignsC
List marketing email campaigns ordered by most recently updated.
Inputs: limit, offset.
hs_list_formsC
List all HubSpot forms ordered by most recently updated.
Inputs: limit.
hs_list_listsB
List all HubSpot contact lists (static and active). Optionally filter by name substring.
Inputs: limit, query.
hs_list_marketing_emailsB
List marketing emails, optionally filtered by publication state (DRAFT, SCHEDULED, PUBLISHED, ARCHIVED).
Inputs: limit, state.
hs_list_membersC
Get contacts that are members of a specific list.
Inputs: listId (required), limit.
hs_list_ownersA
List HubSpot users (owners) that can be assigned to CRM records. Filter by email to look up a specific rep.
Inputs: email, includeInactive.
hs_list_pipelinesA
List all CRM pipelines (deals or tickets) with their stage IDs. Use stage IDs with hs_deals_by_stage.
Inputs: objectType.
hs_list_propertiesA
List all properties defined for a CRM object type. Use customOnly=true to see only custom fields.
Inputs: objectType (required), customOnly.
hs_list_workflowsB
List all HubSpot automation workflows with name, type, and enabled status.
Inputs: limit.
hs_pipeline_summaryB
Deal counts and total amounts aggregated by pipeline stage — a quick funnel snapshot for a given pipeline.
Inputs: pipelineId (required).
hs_recent_contactsB
Most recently created contacts, optionally filtered by lifecycle stage (lead, marketingqualifiedlead, opportunity, customer, etc.).
Inputs: limit, lifecycleStage.
hs_recent_dealsB
Most recently created deals. Pass openOnly=true to exclude closed deals.
Inputs: limit, openOnly.
hs_search_companiesA
Full-text search across companies by name, domain, or industry.
Inputs: query (required), limit.
hs_search_contactsA
Full-text search across contacts by name, email, company, or any indexed field.
Inputs: query (required), limit.
hs_search_dealsC
Full-text search across deals by name.
Inputs: query (required), limit.
hs_update_contactB
Update one or more properties on an existing contact.
Inputs: contactId (required), properties (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Each tool targets a distinct HubSpot object or action (e.g., contact, company, deal, form, list, workflow). There is no overlap between tools like hs_search_companies, hs_search_contacts, and hs_search_deals, and the escape hatch hs_crm_search is clearly differentiated as a custom query tool. All tools have unique purposes.
The majority of tools follow a consistent verb_noun pattern with snake_case and the 'hs_' prefix (e.g., hs_create_contact, hs_get_company, hs_search_deals). However, a few tools deviate slightly (hs_contact_by_email, hs_crm_search, hs_form_submissions, hs_pipeline_summary), breaking the strict pattern. Overall, the naming is mostly predictable.
30 tools cover a wide range of HubSpot objects and operations, which is appropriate for a comprehensive CRM integration. While slightly on the higher side, each tool serves a distinct purpose and the count is reasonable given the complexity of HubSpot's API surface.
The toolset is heavily read-oriented, with only one create (hs_create_contact) and one update (hs_update_contact) operation. Missing create, update, and delete for companies, deals, forms, lists, workflows, marketing emails, properties, and pipelines. This is a significant gap that will prevent agents from performing essential CRM write operations.
Related MCP Connectors
HubSpot MCP server: 9 tools, every client portal on one connector. Writes preview first.
Search, read, create and update CRM contacts, companies, deals and tickets in HubSpot.
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.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol implementation for the HubSpot API that provides a standardized interface for accessing and managing CRM data, including companies, contacts, deals, and other objects with comprehensive CRUD operations and association management.67 npm35MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the HubSpot CRM API with tools for managing contacts, companies, deals, tickets, and CRM workflows. Generated with MCPForge. Sensitive operations can be protected with permissions, audit logs, and approval workflows.MIT
- FlicenseCqualityDmaintenanceAn independent MCP server built from HubSpot's OpenAPI specs, offering 106 tools for CRM automation including contacts, companies, deals, invoices, and line items.1002-
- AlicenseAqualityDmaintenanceA comprehensive MCP server providing Claude with enterprise-grade access to HubSpot CRM, including contacts, deals, quotes, workflows, and automation through 37 tools.3723 npmMIT