Data Sources Beginner

HubSpot MCP Integration

3 min read Updated May 19, 2026
Contacts, companies, deals, tickets, engagements, and marketing data from HubSpot CRM and Marketing Hub.

HubSpot is the CRM and marketing platform many teams build their go-to-market on. Connecting HubSpot to clariBI gives every AI analysis access to your contacts, companies, deals, tickets, and marketing performance in real time.

Why connect HubSpot

CRM data is usually the most valuable analytics surface a company has, and the hardest to keep in sync across reporting tools. Direct connection through MCP removes the lag.

You can ask "What is our weighted pipeline by stage?", "Which marketing campaign drove the most SQLs last quarter?", or "Show me companies that moved deal stage in the last 30 days" and get answers built on the live data.

How the connection works

clariBI talks to HubSpot through its hosted MCP server at https://mcp.hubspot.com/. Authentication uses an OAuth flow against an OAuth app you register in the vendor's developer console. Tokens stay encrypted server-side and never leave clariBI in clear form.

sequenceDiagram
    actor U as You
    participant C as clariBI
    participant V as HubSpot
    U->>C: Click Authorize with HubSpot
    C->>V: Open OAuth authorization
    V-->>U: Grant read access?
    U->>V: Approve
    V-->>C: Authorization code
    C->>V: Exchange code for tokens
    V-->>C: Access + refresh tokens
    C->>C: Encrypt and store credentials
    C-->>U: Connection ready

Available tools

The AI engine selects from these read-only HubSpot tools during analyses. None of them modify data in HubSpot.

ToolReturnsExample question
get_user_detailsAuthenticated user info, account, and per-object access.Which HubSpot account am I connected to?
search_crm_objectsCRM records (contacts, companies, deals, tickets) with filtering, sorting, pagination.Show me deals over $50k closing this quarter.
get_crm_objectsUp to 100 CRM objects by ID.Get deal 12345.
search_propertiesProperty definitions via keyword search.What custom properties exist on Companies?
get_propertiesComplete property definitions including data types.Show all Deal properties.
search_ownersCRM record owners by name, email, or ID.Find the owner of these deals.
get_campaign_contacts_by_typePaginated campaign contact IDs.Who clicked the November newsletter?
get_campaign_analyticsCampaign metrics and revenue attribution.Campaign performance last quarter?
get_campaign_asset_typesAvailable campaign asset type names.What campaign asset types exist?
get_campaign_asset_metricsMetrics for campaign-associated CRM objects.Open rate for the Black Friday email asset?

Data flow during analysis

When you ask a question that maps to HubSpot, the AI engine routes to the right tool, reads the result, and pairs the answer with a chart you can pin to a dashboard.

sequenceDiagram
    actor U as You
    participant C as clariBI
    participant AI as AI engine
    participant V as HubSpot
    U->>C: Ask a question about CRM and marketing data
    C->>AI: Plan the analysis
    AI->>V: Call the right tool
    V-->>AI: Tool result
    AI->>AI: Summarize and chart
    C-->>U: Answer plus visual

Setting up the connection

  1. Open Data Sources in the clariBI sidebar.
  2. Click Add data source.
  3. Open the MCP Servers tab.
  4. Click the HubSpot card.
  5. Click Authorize with HubSpot.
  6. Sign in to HubSpot in the popup window and grant the requested read scopes.
  7. Back in clariBI, give your data source a name.
  8. Click Finish.

Permissions and data access

clariBI requests read access to CRM objects (contacts, companies, deals, tickets), engagements, marketing emails, forms, and content. No records will be created, updated, or deleted. Disconnect from your HubSpot account settings or from clariBI Settings.

Troubleshooting

ErrorCauseFix
"Selected scope unavailable on your HubSpot plan"Some HubSpot scopes require a paid tier.Either upgrade your HubSpot subscription or skip the affected scope at authorize time.
"Token expired" repeatedlyHubSpot refresh tokens rotate; clariBI handles this automatically but background refresh can fail under load.Disconnect and reconnect from clariBI Settings.

Related articles

Related Articles

Data Sources Intermediate

Morningstar MCP Integration

Investment research, fund data, ratings, fair-value estimates, and 200,000+ global securities from …

5 min read
Data Sources Intermediate

Keboola MCP Integration

Data pipelines, transformations, tables, and project metadata from the Keboola data-platform — for …

5 min read
Data Sources Intermediate

Logfire (EU) MCP Integration

OpenTelemetry traces, metrics, and logs from Pydantic Logfire (EU region) — for EU-resident custome…

5 min read

Still Need Help?

Can't find what you're looking for? Our support team is here to help you succeed with clariBI.