HubSpot MCP Server

HubSpot MCP Server

hubspot-mcp•byscopiousdigital

An MCP server that connects Claude and other MCP clients to the HubSpot API for CRM interaction and sales analysis.

License: MIT License•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides core CRM tools to search, get, create and update contacts, deals and companies in HubSpot.
  • •Offers sales analytics tools that return aggregated sales metrics grouped by time period.
  • •Exposes deal history, notes and engagement activity tools for a specific deal.
  • •Includes sales performance, pipeline and forecast analytics tools.

BEST FOR

  • •Sales teams that want to query and manage HubSpot contacts, deals and companies conversationally.
  • •Analysts who need sales performance and pipeline conversion insights from HubSpot.
  • •Reviewing the full history and engagement activity of a deal.

ABOUT HUBSPOT-MCP

HubSpot MCP Server is cataloged as an MCP server attributed to scopiousdigital. An MCP server that connects Claude and other MCP clients to the HubSpot API for CRM interaction and sales analysis. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for HubSpot MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server authenticate with HubSpot?

It uses a HubSpot service key supplied as HUBSPOT_API_KEY, which the server passes to the HubSpot client and sends as a bearer token.

Are forecasted sales metrics available?

Yes, a forecast analytics tool returns forecasted sales metrics for future periods based on historical data and the current pipeline.

Upstream README

View this exact version on GitHub

README.md · b2153b0eaa9a · Fetched 2026-11-13 10:13:45 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

HubSpot MCP Server

MCP Server for the HubSpot API, enabling Claude to interact with HubSpot CRM for sales analysis and insights.

Disclaimer

This open-source project is not affiliated with or endorsed by HubSpot. It is an independent implementation that interacts with HubSpot's API.

Install from the MCP registry

Clients that support the MCP Registry can install io.github.scopiousdigital/hubspot-mcp. That entry runs the npm package @scopiousdigital/server-hubspot over stdio. Set HUBSPOT_API_KEY as described in Setup.

Need a custom HubSpot MCP server? Scopious Digital builds them.

Tools

Core CRM Tools

  1. hubspot_search_contacts

    • Search for contacts in HubSpot using a query string
    • Required inputs:
      • query (string): Search query string (email, name, etc.)
    • Optional inputs:
      • count (number, default: 10): Maximum number of contacts to return
      • propertyList (array): List of properties to include in results
    • Returns: List of matching contacts with their properties
  2. hubspot_get_contact

    • Get a specific contact by ID
    • Required inputs:
      • contactId (string): The ID of the contact to retrieve
    • Optional inputs:
      • properties (array): List of properties to include in results
    • Returns: Contact details with specified properties
  3. hubspot_create_contact

    • Create a new contact in HubSpot
    • Required inputs:
      • properties (object): Contact properties with at least email field
    • Returns: Created contact details
  4. hubspot_update_contact

    • Update an existing contact in HubSpot
    • Required inputs:
      • contactId (string): The ID of the contact to update
      • properties (object): Contact properties to update
    • Returns: Updated contact confirmation
  5. hubspot_list_deals

    • List deals in HubSpot with pagination
    • Optional inputs:
      • limit (number, default: 10, max: 100): Maximum number of deals to return
      • after (string): Pagination cursor for next page
      • properties (array): List of properties to include in results
    • Returns: List of deals with their details
  6. hubspot_get_deal

    • Get a specific deal by ID
    • Required inputs:
      • dealId (string): The ID of the deal to retrieve
    • Optional inputs:
      • properties (array): List of properties to include in results
    • Returns: Deal details with specified properties
  7. hubspot_create_deal

    • Create a new deal in HubSpot
    • Required inputs:
      • properties (object): Deal properties with at least dealname field
    • Returns: Created deal details
  8. hubspot_update_deal

    • Update an existing deal in HubSpot
    • Required inputs:
      • dealId (string): The ID of the deal to update
      • properties (object): Deal properties to update
    • Returns: Updated deal confirmation
  9. hubspot_list_companies

    • List companies in HubSpot with pagination
    • Optional inputs:
      • limit (number, default: 10, max: 100): Maximum number of companies to return
      • after (string): Pagination cursor for next page
      • properties (array): List of properties to include in results
    • Returns: List of companies with their details
  10. hubspot_get_company

    • Get a specific company by ID
    • Required inputs:
      • companyId (string): The ID of the company to retrieve
    • Optional inputs:
      • properties (array): List of properties to include in results
    • Returns: Company details with specified properties

Sales Analytics Tools

  1. hubspot_get_sales_analytics

    • Get aggregated sales analytics data for specific time periods
    • Required inputs:
      • period (string): Time period to group analytics data by (daily, weekly, monthly, quarterly, yearly)
      • startDate (string): Start date for analysis in ISO format (YYYY-MM-DD)
    • Optional inputs:
      • endDate (string): End date for analysis in ISO format
      • pipeline (string): Pipeline ID to filter by
      • dealStage (string): Deal stage ID to filter by
      • dealOwner (string): Deal owner ID to filter by
    • Returns: Aggregated sales metrics grouped by time period
  2. hubspot_get_deal_history

    • Get the complete history of changes to a deal
    • Required inputs:
      • dealId (string): The ID of the deal to get history for
    • Returns: History of deal changes with timestamps and modified properties
  3. hubspot_get_deal_notes

    • Get notes associated with a specific deal
    • Required inputs:
      • dealId (string): The ID of the deal to get notes for
    • Optional inputs:
      • limit (number, default: 20): Maximum number of notes to return
      • after (string): Pagination cursor for next page of results
    • Returns: List of notes with their content and creation timestamps
  4. hubspot_get_engagements_by_deal

    • Get all engagement activities associated with a deal
    • Required inputs:
      • dealId (string): The ID of the deal to get engagements for
    • Optional inputs:
      • types (array): Types of engagements to include (CALL, EMAIL, MEETING, TASK, NOTE)
      • limit (number, default: 20): Maximum number of engagements to return
      • after (string): Pagination cursor for next page of results
    • Returns: List of engagements with their details and type information
  5. hubspot_get_sales_performance

    • Get performance metrics for sales reps over a specific time period
    • Required inputs:
      • period (string): Time period to group performance data by (daily, weekly, monthly, quarterly, yearly)
      • startDate (string): Start date for analysis in ISO format (YYYY-MM-DD)
    • Optional inputs:
      • endDate (string): End date for analysis in ISO format
      • ownerIds (array): List of owner IDs to include in the analysis
      • pipeline (string): Pipeline ID to filter by
    • Returns: Performance metrics for each sales rep including deal counts, revenue, and win rates
  6. hubspot_get_pipeline_analytics

    • Get analytics for a specific sales pipeline including conversion rates between stages
    • Required inputs:
      • pipelineId (string): The ID of the pipeline to analyze
      • period (string): Time period to group analytics data by (daily, weekly, monthly, quarterly, yearly)
      • startDate (string): Start date for analysis in ISO format (YYYY-MM-DD)
    • Optional inputs:
      • endDate (string): End date for analysis in ISO format
    • Returns: Pipeline stage metrics including deal counts, values, conversion rates, and time in stage
  7. hubspot_get_forecast_analytics

    • Get forecasted sales data based on current pipeline and historical performance
    • Required inputs:
      • period (string): Time period to group forecast data by (monthly, quarterly, yearly)
    • Optional inputs:
      • numberOfPeriods (number, default: 3): Number of future periods to forecast
      • pipeline (string): Pipeline ID to filter by
    • Returns: Forecasted sales metrics for future periods based on historical data and current pipeline

Setup

Create a HubSpot service key and set it as HUBSPOT_API_KEY. HubSpot authenticates service keys as a bearer token (Authorization: Bearer <key>). This server passes HUBSPOT_API_KEY to the HubSpot client, which sends it in that header.

You must be a Super Admin, or have the Developer tools access permission, to create a key. A key can only be granted scopes you already have.

  1. Create a service key:

    • In your HubSpot account, open Development
    • In the left sidebar, open Keys → Service keys. HubSpot's private app sunset also points here from Settings → Integrations → Service Keys
    • Click Create service key and enter a name
    • Click Add new scope. In the right panel, select each scope below. Use Find a scope to search by name
    • Click Update, review the list, then click Create and confirm
    • Open the new key, click Show, then Copy
  2. Required scopes:

    These match the CRM calls this server makes. Notes, calls, meetings, and tasks are read with crm.objects.contacts.read. Deal pipeline analytics is covered by crm.objects.deals.read.

    • crm.objects.contacts.read
    • crm.objects.contacts.write
    • crm.objects.companies.read
    • crm.objects.deals.read
    • crm.objects.deals.write
    • crm.objects.owners.read
    • sales-email-read (one-to-one email content, such as hs_email_text)

Existing legacy private app tokens still work in HUBSPOT_API_KEY until September 2027. HubSpot stopped new legacy private app creation on 28 September 2026 for new accounts and on 26 October 2026 for existing accounts, and legacy private apps become unsupported in September 2027. New setups should use a service key.

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

npx

{
  "mcpServers": {
    "hubspot": {
      "command": "npx",
      "args": ["-y", "@scopiousdigital/server-hubspot"],
      "env": {
        "HUBSPOT_API_KEY": "your-service-key"
      }
    }
  }
}

docker

{
  "mcpServers": {
    "hubspot": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "HUBSPOT_API_KEY", "mcp/hubspot"],
      "env": {
        "HUBSPOT_API_KEY": "your-service-key"
      }
    }
  }
}

Paste the copied service key (or an existing legacy private app token) as the value of HUBSPOT_API_KEY.

Troubleshooting

If you encounter errors, verify that:

  1. Every scope listed above is on the service key
  2. HUBSPOT_API_KEY is the key value from Show, not the key's name
  3. Your HubSpot plan includes access to the APIs you're trying to use
  4. The user who created the key already had those scopes

Build

Docker build:

docker build -t mcp/hubspot -f Dockerfile .

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Maintained by Scopious Digital. We build HubSpot integrations and white-label dev for HubSpot agencies.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for HubSpot MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/hubspot-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops