Skip to main content
Glama
hubspot-mcp

hubspot-mcp

by ZLeventer

hubspot-marketing-mcp

用于 HubSpot CRM 的 MCP 服务器 — 33 个工具,涵盖联系人、公司、交易、流水线、列表、营销邮件、表单、工作流和属性。

工具

联系人 (6)

工具

描述

hs_search_contacts

对联系人进行全文搜索

hs_get_contact

通过 ID 获取联系人及其关联信息

hs_contact_by_email

通过精确的电子邮件地址查找联系人

hs_recent_contacts

最近创建的联系人,可按生命周期阶段过滤

hs_create_contact

创建新联系人

hs_update_contact

更新现有联系人的属性

公司 (3)

工具

描述

hs_search_companies

对公司进行全文搜索

hs_get_company

通过 ID 获取公司及其关联信息

hs_list_company_contacts

列出与公司关联的联系人

交易 (4)

工具

描述

hs_search_deals

对交易进行全文搜索

hs_get_deal

通过 ID 获取交易,包括金额、阶段和关联信息

hs_deals_by_stage

列出特定流水线阶段中的交易

hs_recent_deals

最近创建的交易,可选仅显示未结交易

流水线 (2)

工具

描述

hs_list_pipelines

列出所有流水线及其阶段 ID

hs_pipeline_summary

按阶段统计交易数量和总金额 — 漏斗快照

列表 (3)

工具

描述

hs_list_lists

列出所有联系人列表(静态和动态)

hs_get_list

获取列表元数据,包括成员数量

hs_list_members

获取列表中的联系人

营销邮件 (3)

工具

描述

hs_list_email_campaigns

列出营销邮件活动

hs_get_email_campaign_stats

获取邮件的打开、点击、退信和退订统计数据

hs_list_marketing_emails

按状态(草稿、已排期、已发布、已归档)过滤列出邮件

表单 (3)

工具

描述

hs_list_forms

列出所有 HubSpot 表单

hs_get_form

获取完整的表单定义,包括字段

hs_form_submissions

获取最近的表单提交记录及其字段值

工作流 (2)

工具

描述

hs_list_workflows

列出所有自动化工作流

hs_get_workflow

获取完整的工作流详情,包括触发器和操作

属性 (2)

工具

描述

hs_list_properties

列出对象类型的所有 CRM 属性

hs_get_property

获取完整的属性定义,包括枚举选项

所有者 (1)

工具

描述

hs_list_owners

列出可分配给 CRM 记录的 HubSpot 用户

高级 / 后门 (1)

工具

描述

hs_crm_search

针对任何对象类型使用自定义过滤器的结构化 CRM 搜索

Related MCP server: hubspot-mcp

设置

1. 获取 HubSpot 私有应用访问令牌

  1. 在 HubSpot 中,转到 设置 (Settings) → 集成 (Integrations) → 私有应用 (Private Apps)

  2. 创建一个新的私有应用

  3. 授予权限范围:crm.objects.contacts.read, crm.objects.companies.read, crm.objects.deals.read, crm.lists.read, automation, forms, marketing-email

  4. 复制访问令牌

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_ACCESS_TOKEN

是

HubSpot 私有应用访问令牌 (pat-na1-...)

许可证

MIT

Available Tools

30 tools
hs_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_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

    B3.3/5.0

    Scored across 30 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count4/5

    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.

    Completeness2/5

    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

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      A 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 npm
      35
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP 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
    • F
      license
      C
      quality
      D
      maintenance
      An independent MCP server built from HubSpot's OpenAPI specs, offering 106 tools for CRM automation including contacts, companies, deals, invoices, and line items.
      100
      2
      -
    • A
      license
      A
      quality
      D
      maintenance
      A comprehensive MCP server providing Claude with enterprise-grade access to HubSpot CRM, including contacts, deals, quotes, workflows, and automation through 37 tools.
      37
      23 npm
      MIT