
HubSpot MCP Server
from Shameerpc5029
Integrate with HubSpot CRM to manage contacts, deals, and companies.
π Quick Start Guide
Welcome to the HubSpot MCP Server! This guide will get you up and running in just a few minutes.
π― What You Can Do Now
Company Management
- Create, update, delete companies
- Search by domain or other criteria
- Get recent company activity
- Bulk operations with filters
Contact Management
- Create, update, delete contacts
- Search by email, name, phone
- Manage list memberships
- Track recent contact activity
Natural Language Examples
- "Create a company for Acme Corp with their website acme.com"
- "Find the contact john@example.com and update their phone number"
- "Show me all companies created this month"
- "Add contact ID 12345 to my VIP customers list"
π Getting Help
- Documentation: See the main README.md for detailed info
- Issues: Report problems on GitHub Issues
- HubSpot API: Check HubSpot Developer Docs
π You're Ready!
You now have HubSpot CRM integrated with Claude! Start with simple commands and explore the powerful automation possibilities.
Key Features Available:
- π’ Complete company management
- π₯ Contact creation and updates
- π List management
- π Advanced search capabilities
- π Recent activity tracking
Happy automating! π
π Prerequisites
- Python 3.8+ installed on your system
- Claude Desktop application installed
- HubSpot Developer Account (free)
- Nango Integration configured (for secure authentication)
β‘ 5-Minute Setup
Step 1: Get HubSpot Access Token
- Visit HubSpot Developer Portal
- Sign in with your HubSpot account
- Create a new app or select existing one
- Go to the "Auth" tab β "Scopes"
- Enable these scopes:
Copy & paste β that's it
β crm.objects.companies.read β crm.objects.companies.write β crm.objects.contacts.read β crm.objects.contacts.write β crm.lists.read β crm.lists.write - Copy your access token from the "Auth" tab
Step 2: Configure Nango Integration
Obtain your Nango credentials:
- NANGO_BASE_URL: Your Nango instance base URL
- NANGO_SECRET_KEY: Your Nango secret key
- NANGO_CONNECTION_ID: Your connection identifier
- NANGO_INTEGRATION_ID: Your integration identifier
Step 3: Configure Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS:
Location: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
Location: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hubspot": {
"command": "uvx",
"args": ["git+https://github.com/Shameerpc5029/hubspot-mcp.git"],
"env": {
"NANGO_BASE_URL": "enter_your_nango_base_url_here",
"NANGO_SECRET_KEY": "enter_your_nango_secret_key_here",
"NANGO_CONNECTION_ID": "enter_your_nango_connection_id_here",
"NANGO_INTEGRATION_ID": "enter_your_nango_integration_id_here"
}
}
}
}Important: Replace the placeholder values with your actual Nango credentials:
- Replace
enter_your_nango_base_url_herewith your Nango base URL - Replace
enter_your_nango_secret_key_herewith your secret key - Replace
enter_your_nango_connection_id_herewith your connection ID - Replace
enter_your_nango_integration_id_herewith your integration ID
Step 4: Restart Claude Desktop
Close and reopen Claude Desktop to load the new configuration.
β Testing Your Setup
In Claude, try these commands:
- Test connection: "List all companies in my HubSpot"
- Create a test company: "Create a company called Test Corp with domain test.com"
- Search for contacts: "Find all contacts with gmail email addresses"
π§ Troubleshooting
Common Issues
β "Tool not found" errors
- Restart Claude Desktop after configuration changes
- Verify your Nango credentials are correct
- Check that
uvxis installed on your system
β Authentication failures
- Double-check your Nango credentials in the config
- Ensure all required scopes are enabled in your HubSpot app
- Verify your Nango integration is properly configured
β uvx command not found
- Install uvx:
pip install uvxorpipx install uvx - Ensure uvx is in your system PATH
Test Connection
You can test your setup by asking Claude simple questions like:
"Can you connect to my HubSpot account?"
"Show me my recent contacts"
"List my companies"Debug Mode
If you encounter issues, check the Claude Desktop logs or console for error messages.