scopiousdigital/hubspot-mcp
Built by Metorial, the integration platform for agentic AI.
scopiousdigital/hubspot-mcp
Server Summary
Search for contacts using query strings
Retrieve specific contact details by ID
Manage deals and companies in HubSpot CRM
Perform sales analytics and reporting
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.
hubspot_search_contacts
query
(string): Search query string (email, name, etc.)count
(number, default: 10): Maximum number of contacts to returnpropertyList
(array): List of properties to include in resultshubspot_get_contact
contactId
(string): The ID of the contact to retrieveproperties
(array): List of properties to include in resultshubspot_create_contact
properties
(object): Contact properties with at least email
fieldhubspot_update_contact
contactId
(string): The ID of the contact to updateproperties
(object): Contact properties to updatehubspot_list_deals
limit
(number, default: 10, max: 100): Maximum number of deals to returnafter
(string): Pagination cursor for next pageproperties
(array): List of properties to include in resultshubspot_get_deal
dealId
(string): The ID of the deal to retrieveproperties
(array): List of properties to include in resultshubspot_create_deal
properties
(object): Deal properties with at least dealname
fieldhubspot_update_deal
dealId
(string): The ID of the deal to updateproperties
(object): Deal properties to updatehubspot_list_companies
limit
(number, default: 10, max: 100): Maximum number of companies to returnafter
(string): Pagination cursor for next pageproperties
(array): List of properties to include in resultshubspot_get_company
companyId
(string): The ID of the company to retrieveproperties
(array): List of properties to include in resultshubspot_get_sales_analytics
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)endDate
(string): End date for analysis in ISO formatpipeline
(string): Pipeline ID to filter bydealStage
(string): Deal stage ID to filter bydealOwner
(string): Deal owner ID to filter byhubspot_get_deal_history
dealId
(string): The ID of the deal to get history forhubspot_get_deal_notes
dealId
(string): The ID of the deal to get notes forlimit
(number, default: 20): Maximum number of notes to returnafter
(string): Pagination cursor for next page of resultshubspot_get_engagements_by_deal
dealId
(string): The ID of the deal to get engagements fortypes
(array): Types of engagements to include (CALL, EMAIL, MEETING, TASK, NOTE)limit
(number, default: 20): Maximum number of engagements to returnafter
(string): Pagination cursor for next page of resultshubspot_get_sales_performance
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)endDate
(string): End date for analysis in ISO formatownerIds
(array): List of owner IDs to include in the analysispipeline
(string): Pipeline ID to filter byhubspot_get_pipeline_analytics
pipelineId
(string): The ID of the pipeline to analyzeperiod
(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)endDate
(string): End date for analysis in ISO formathubspot_get_forecast_analytics
period
(string): Time period to group forecast data by (monthly, quarterly, yearly)numberOfPeriods
(number, default: 3): Number of future periods to forecastpipeline
(string): Pipeline ID to filter byCreate a HubSpot Private App:
Required Scopes:
crm.objects.contacts.read
crm.objects.contacts.write
crm.objects.deals.read
crm.objects.deals.write
crm.objects.companies.read
crm.objects.companies.write
crm.objects.owners.read
crm.objects.quotes.read
crm.objects.line_items.read
crm.objects.custom.read
crm.schemas.deals.read
crm.schemas.contacts.read
crm.schemas.companies.read
crm.schemas.custom.read
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"hubspot": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-hubspot"],
"env": {
"HUBSPOT_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"hubspot": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "HUBSPOT_API_KEY", "mcp/hubspot"],
"env": {
"HUBSPOT_API_KEY": "your-api-key-here"
}
}
}
}
If you encounter errors, verify that:
Docker build:
docker build -t mcp/hubspot -f Dockerfile .
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.