npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@hubspot/mcp-server

v0.4.0

Published

MCP Server for developers building HubSpot Apps

Readme

HubSpot MCP Server

HubSpot's MCP server is now available as a beta release. This enables AI clients to seamlessly take HubSpot actions and interact with your HubSpot data, opening up powerful new integration possibilities for our ecosystem. For more information and to provide feedback, visit https://developers.hubspot.com/mcp. You can also use the prompt Provide feedback for HubSpot MCP tools from your preferred client application!

What is MCP?

MCP (Model Context Protocol) is an emerging standard that allows AI models to interact with applications through a consistent interface. It acts as an abstraction layer over HTTP, letting AI agents access application functionality without needing to understand specific API protocols.

Terms and Conditions

The HubSpot MCP Server is in beta and subject to the Early Adopter Program terms.

Pre-requisites

Install node and npm

Visit this link to download Node and NPM.

Create a private app in HubSpot:

  • Go to Settings > Integrations > Private Apps

  • Click "Create private app"

  • Name your app and set required scopes

  • Click "Create app"

  • Copy the generated access token

    Consider starting with read-only scopes

Using the MCP Server

Claude Desktop

  1. Download Claude Desktop here.
  2. Add the server configuration to your Claude Desktop config file (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json in macOS) and restart Claude Desktop:
{
  "mcpServers": {
    "hubspot": {
      "command": "npx",
      "args": ["-y", "@hubspot/mcp-server"],
      "env": {
        "PRIVATE_APP_ACCESS_TOKEN": "<your-private-app-access-token>"
      }
    }
  }
}
  1. Save the file and restart Claude. You should now be able to access all the tools!
  2. Visit this page for more information and troubleshooting.

Cursor

  1. Create a .cursor/mcp.json file in your project
mkdir -p .cursor && touch .cursor/mcp.json
  1. Put the following configuration to the file.
{
  "mcpServers": {
    "hubspot": {
      "command": "npx",
      "args": ["-y", "@hubspot/mcp-server"],
      "env": {
        "PRIVATE_APP_ACCESS_TOKEN": "<your-private-app-access-token>"
      }
    }
  }
}
  1. Save the file and restart Cursor. You should now be able to access all the tools!

  2. Visit this page for more information and troubleshooting.

Other MCP Clients

List of other popular MCP Clients are here.

Example Usage

Once set up, try these example prompts:

Get Insights from Your HubSpot Data

  • Get me the latest update about Acme Inc. from my HubSpot account.
  • Summarize all deals in the "Decision maker bought in" stage in my HubSpot pipeline with deal value > $1000.
  • Summarize the last five tickets created for Alex Smith in my HubSpot account.

Create and Update CRM Records

  • Update the address for John Smith in my HubSpot account.
  • Create a new contact "[email protected]" for Acme Inc. in my HubSpot account.

CRM Associations

  • List all associated contacts and their roles for Acme Inc. from my HubSpot account.
  • List associated contacts for Acme Inc. in my HubSpot account.
  • Associate John Smith with Acme Inc. as a company in my HubSpot account.

Add Engagements

  • Add a task to send a thank-you note to [email protected] in my HubSpot account.
  • Add a note for Acme Inc. in my HubSpot account.
  • List my overdue HubSpot tasks.
  • From my HubSpot account, find the number of contacts does have?

Tools

This MCP server provides a set of tools for interacting with the HubSpot CRM API.

| Category | Tool Name | Description | | ------------ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | OAuth | hubspot-get-user-details | Authenticates the current HubSpot private app access token, providing user information, hub details, authorized scopes, and account information. | | Objects | hubspot-list-objects | Retrieves a paginated list of CRM records for a specified object type. | | Objects | hubspot-search-objects | Performs filtered searches across CRM records using complex criteria and property-based filtering. | | Objects | hubspot-batch-create-objects | Creates multiple CRM records of the same object type in a single API call. | | Objects | hubspot-batch-update-objects | Updates multiple existing CRM records with new property values in a single API call. | | Objects | hubspot-batch-read-objects | Retrieves multiple CRM records by their IDs in a single batch operation. | | Objects | hubspot-get-schemas | Retrieves available custom object schemas with their objectTypeId and definitions. | | Properties | hubspot-list-properties | Retrieves the complete catalog of properties defined for any CRM object type. | | Properties | hubspot-get-property | Retrieves detailed information about a specific property definition. | | Properties | hubspot-create-property | Creates new custom properties for CRM object types. | | Properties | hubspot-update-property | Updates settings for existing custom properties. | | Associations | hubspot-batch-create-associations | Establishes multiple relationships between CRM records across different object types. | | Associations | hubspot-list-associations | Retrieves existing relationships between a specific record and other associated records. | | Associations | hubspot-get-association-definitions | Retrieves valid association types and labels between specific object types. | | Engagements | hubspot-create-engagement | Creates engagements (Notes or Tasks) associated with contacts, companies, deals, or tickets. | | Engagements | hubspot-get-engagement | Retrieves engagement details by ID. | | Engagements | hubspot-update-engagement | Updates an existing engagement with new information. | | Workflows | hubspot-list-workflows | Retrieves a paginated list of workflows | | Workflows | hubspot-get-workflow | Retrieves detailed information about a specific workflow, including actions, enrollment criteria, and scheduling. | | Links | hubspot-generate-feedback-link | Generates a feedback link for reporting tool issues or providing feedback. | | Links | hubspot-get-link | Generates HubSpot UI URLs to directly access records in the HubSpot interface. |