How to Use the HubSpot CRM MCP in Claude Code
Pipe HubSpot CRM data directly into your shell scripts and CI/CD pipelines with Claude Code. No browser needed.
Works with every AI agent you already use
…and any MCP-compatible client
Connect HubSpot CRM MCP to Claude Code
Create your Vinkius account to connect HubSpot CRM to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
HubSpot CRM in Your Terminal
Look up a customer without leaving your command line. Pipe a name into the agent and use `hs_search_contacts` to get back a clean JSON object with their details. It's HubSpot, but it acts like `grep`. You can then take that contact's ID and feed it into `hs_get_associations` to find their company, or use `hs_get_contact` to pull their full record. It's perfect for quick lookups while you're in the middle of something else.
Automate CRM Tasks with Shell Scripts
Use this MCP server to build powerful automations. Write a shell script that reads a CSV of new leads, loops through them, and calls `hs_create_contact` for each one. Schedule it as a cron job for daily imports. You can also create reports. A simple script could run `hs_search_companies` to find all companies in a certain industry, then pipe the output to `jq` for formatting and send it to a Slack channel via a webhook.
Integrate HubSpot into Your CI/CD Pipeline
Trigger CRM actions from your deployment process. For example, after a successful production deploy, your GitHub Action could use Claude Code to call `hs_create_note` on a key customer's account to inform their account manager. A backend process can trigger a job that uses `hs_create_contact` and `hs_create_task` to provision a new user in HubSpot. This MCP connection makes your infrastructure CRM-aware.
Set up HubSpot CRM MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seehubspot-crm-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest HubSpot CRM transactions." It will automatically discover and invoke the available HubSpot CRM tools.
claude mcp add --transport http hubspot-crm-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about HubSpot CRM MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the HubSpot CRM MCP today
We host it, we monitor it, we maintain it. You just paste one token.