How to Use the HubSpot Marketing Hub MCP in Claude Code
Pipe live HubSpot Marketing Hub data directly into your terminal scripts and CI/CD pipelines with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect HubSpot Marketing Hub MCP to Claude Code
Create your Vinkius account to connect HubSpot Marketing Hub 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 Data for Your Shell Scripts
This MCP server puts your HubSpot marketing data on the command line. Pipe the output of `hs_list_contact_lists` to `jq` to parse audience sizes, or use `hs_list_campaigns` in a shell script to check if any campaigns are stuck in draft. It’s raw data, ready for you to process. No more manual exports or wrestling with a GUI. This is for developers who need direct, scriptable access to marketing metrics.
Headless Reporting and Monitoring
Set up automated checks on your marketing assets. Create a cron job that runs `hs_list_forms` and alerts you if a key form's submission count hasn't changed, indicating a potential problem. You can also monitor landing page status with `hs_list_landing_pages` to ensure nothing is accidentally unpublished. This is about building your own monitoring system with this MCP server, using simple, reliable tools.
Integrate HubSpot into Your CI/CD with an MCP Server
Make HubSpot data a part of your development workflow. Use a GitHub Action to run `hs_list_marketing_emails` and check for consistent naming conventions before a deployment, failing the build if standards aren't met. You can even use `hs_form_submissions` to pull test data into your integration test environment. This MCP server connects your marketing operations directly to your engineering pipelines.
Set up HubSpot Marketing Hub 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-marketing-hub-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest HubSpot Marketing Hub transactions." It will automatically discover and invoke the available HubSpot Marketing Hub tools.
claude mcp add --transport http hubspot-marketing-hub-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 Marketing Hub 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 Marketing Hub MCP today
We host it, we monitor it, we maintain it. You just paste one token.