Bring Web Analytics
to Mastra AI
Create your Vinkius account to connect HubSpot Analytics to Mastra AI and start using all 5 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the HubSpot Analytics MCP Server?
Connect HubSpot CRM to any AI agent — instant access to your full CRM data without switching tabs.
What you can do
- Contacts — Search, create, and manage contacts
- Companies — Find companies by name or domain
- Deals — Search and create deals with pipeline tracking
- Tickets — Create and search support tickets
- Notes — Create notes attached to any CRM record
- Owners — View all owners and team assignments
- Pipelines — List deal and ticket pipeline stages
Who is this for?
- Sales Reps — Manage your CRM without leaving your AI assistant
- Support Teams — Create tickets and notes on-the-go
- RevOps — Pipeline snapshots and owner assignments
- Managers — Full CRM visibility through conversation
Built-in capabilities (5)
Views are named configurations that scope analytics data — similar to Google Analytics views. Use when the user asks about available reporting scopes or needs a view ID for filtered analytics queries. List available analytics views in the HubSpot account for filtering web traffic and reporting data
Returns delivery count, open rate, click rate, bounce count, unsubscribe count, and spam report count. Use when the user asks about email campaign performance, wants to check open/click rates, or needs to audit deliverability for a specific send. Get delivery and engagement analytics for a specific HubSpot marketing email — opens, clicks, bounces, and unsubscribes
Shows page views, email opens, form submissions, meetings, calls, and other interactions. Essential for understanding engagement history. Requires objectType (contacts, companies, deals) and objectId. Use when the user asks "what has this contact done?" or "show me the activity timeline for this deal." List timeline events for a specific HubSpot CRM record — see all activity history for a contact, company, or deal
Returns report name, type, and description. These are custom reports created by users or auto-generated by HubSpot. Use when the user asks about available reports, wants to find a specific saved report, or needs to audit the reporting configuration. List custom analytics reports configured in HubSpot with name, type, and description
Returns metrics like total sessions, pageviews, new contacts generated, and bounce rate. Parameters: objectType controls the report view (totals, sessions, sources), period controls granularity (total, daily, weekly, monthly), and start/end define the date range. Use when the user asks about website performance, traffic trends, lead generation from the website, or traffic source breakdown. Get website traffic analytics from HubSpot — sessions, pageviews, new contacts, and traffic sources over time
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and HubSpot Analytics tool infrastructure. Connect 5 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add HubSpot Analytics without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every HubSpot Analytics tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
HubSpot Analytics in Mastra AI
Why run HubSpot Analytics with Vinkius?
The HubSpot Analytics connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 5 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect HubSpot Analytics using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
HubSpot Analytics and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect HubSpot Analytics to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
HubSpot Analytics for Mastra AI
Every request between Mastra AI and HubSpot Analytics is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What HubSpot data can I access?
Contacts, Companies, Deals, Tickets, Notes, Owners, and Pipelines. All data respects your HubSpot permissions.
Can I create and update records?
Yes! Create contacts, deals, tickets, and notes. All through natural conversation.
How does authentication work?
Uses a HubSpot Private App token (Bearer). Create a Private App in Settings > Integrations > Private Apps, copy the token, and paste it.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Easelly
6 toolsDesign infographics and visual reports using templates and a drag-and-drop editor that makes data storytelling simple.

Cronitor (Cron Monitoring)
44 toolsMonitor cron jobs, heartbeats, and websites. Track performance, receive alerts, and manage uptime directly from your AI agent.

Nansen (Blockchain Analytics)
48 toolsAccess institutional-grade blockchain analytics — track Smart Money, profile wallets, and monitor real-time token flows across multiple chains.

QuestDB (Time-Series)
4 toolsHigh-performance time-series database for fast SQL queries, data ingestion, and real-time analytics directly from your AI agent.
