HubSpot MCP server: what it does, and what each tool call costs
The HubSpot MCP server is HubSpot's hosted Model Context Protocol endpoint at mcp.hubspot.com. It gives Claude, ChatGPT, Copilot, Gemini or your own agent OAuth-scoped read and write access to the CRM records a signed-in person can already see, through 32 documented tools. It carries no separate charge. Every tool call spends HubSpot API budget, which is the part most setup guides skip.
This guide comes from HubSpot's own developer documentation, the MCP specification and the vendor's API usage guidelines, all read on 1 December 2026. It covers the two servers HubSpot ships, the tool limits that quietly reshape your prompts, and the arithmetic that decides whether a marketing agent survives a real portal.
What the HubSpot MCP server actually is
Model Context Protocol is the standard that lets an AI client call external systems as tools instead of guessing from a prompt. HubSpot implemented it twice, and mixing the two up is the first mistake people make.
- The HubSpot MCP server runs remotely at https://mcp.hubspot.com. It signs a person in with OAuth and exposes their CRM, marketing and content data to any MCP-compatible client. Only this one touches live records.
- The Developer MCP server runs locally through the HubSpot CLI, needs Developer Platform v2025.2 and reached general availability on 19 February 2026. It is built for apps, themes and serverless functions, not for reading a pipeline.
HubSpot documents 32 tools on the remote server. They cover CRM records and activities, a SQL-style query tool, properties, pipelines, segments, buyer intent signals, conversations, campaigns, marketing email, landing pages, website pages, blog posts and a set of AEO tools. The integration guide is the canonical list, and it changes as tools are added.
Authentication is OAuth 2.0 with PKCE, and PKCE isn't optional. The MCP specification says clients MUST implement it, and HubSpot repeats the requirement in its troubleshooting section with the exact sequence. If your client skips the code challenge, the OAuth flow fails before any tool is called.
MCP clients MUST implement PKCE according to OAuth 2.1 Section 7.5.2. PKCE helps prevent authorization code interception and injection attacks by requiring clients to create a secret verifier-challenge pair. Model Context Protocol specification, version 2025-06-18, Authorization. Read 1 December 2026.
Access tokens expire, and refresh tokens rotate. A client that ignores the rotated refresh token works fine for an hour and then dies with an authentication error that looks like a permissions problem. HubSpot's docs name this failure directly: if the refresh token expired or was invalidated, you re-run the full authorization flow.
What can an agent do with it?
Read access is broad. Write access is real but gated. That split decides what you can hand to an agent and what still needs a human.
- CRM records: contacts, companies, deals, tickets, leads, custom objects and segments, plus activities such as calls, emails, meetings, notes and tasks.
- Content and marketing: blog posts, landing pages, site pages, campaigns, marketing events, page and blog analytics, marketing email drafts with send and engagement data, and AEO data such as brand share of voice and the full response text from ChatGPT, Gemini, Perplexity and Claude on Marketing Hub Professional or Enterprise.
- Conversations: chats, team email, WhatsApp, SMS, Messenger and knowledge base articles, subject to the inbox restrictions the user already has.
- Writing back: create and edit records, activities, pages, posts, campaigns, email drafts, properties, pipelines, segments and social posts. Deletes aren't supported on the remote server, so removal stays in the HubSpot interface.
Every write pauses for confirmation. The tool builds a proposed-changes summary and waits for an explicit yes before it touches a record, and the Claude and ChatGPT connectors cap a single write at 10 records. For a person at a keyboard that is exactly right. For a nightly cron job with nobody watching, it's a dead end.
Permissions pass through, they don't expand. Actions respect the signed-in user's HubSpot permissions, so an agent acting for a rep can't read a pipeline that rep can't open. You don't declare scopes when you create the connector either. HubSpot derives the scope set from the tools available at install time plus the permissions each person grants, which means a tool release can force every user to reinstall before the new scope applies. Sensitive Data properties, health information included, are never exposed at all.
How do you connect it to your stack?
There are two paths, and which one you take depends on whether a subscription AI client or your own code is doing the calling.
- For Claude, ChatGPT, Copilot or Gemini, install HubSpot's connector and sign in. A Super Admin approves the connector first unless you already hold Super Admin or App Marketplace Access.
- For your own agent, open Development in HubSpot, choose MCP Connectors, then Create MCP connector. Give it a name, a description and the OAuth redirect URL your client will use.
- HubSpot generates a client ID and client secret on the connector's details page. Your client points at https://mcp.hubspot.com and completes the OAuth flow with PKCE.
- To test without writing code, use the MCP Inspector over Streamable HTTP against https://mcp.hubspot.com/, add http://localhost:6274/oauth/callback/debug as a redirect URL, then run get_user_details to see the real read and write access for that account.
The local Developer MCP server is a separate install: upgrade the HubSpot CLI to 8.2.0 or higher, run hs mcp setup, and pick your coding tool from the prompt. It registers as HubSpotDev with context from HubSpot's developer docs, and it's the right server for scaffolding an app, not for summarising a pipeline.
When the connection breaks, it's almost always one of three things: a client that doesn't generate a code_verifier between 43 and 128 characters, a redirect URL that doesn't match the connector to the character, or an expired refresh token on an idle client. All three produce an error message that blames permissions.
Every tool call is an API call
An MCP tool call is a wrapper around a HubSpot API request, so the rate limits written for apps apply to your agent. They are counted against the app, not the person, which is why a chatty agent can throttle a whole account's integrations. The full tier table is in our guide to HubSpot API rate limits, and here is the short version.
The table is short. Free and Starter get 100 requests per 10 seconds per app against a 250,000 daily cap shared by every app in the account. Professional gets 190 per 10 seconds and 625,000 a day. Enterprise gets 190 per 10 seconds and 1,000,000 a day. An API limit increase lifts a private app to 250 per 10 seconds and adds 1,000,000 daily requests on top of the subscription, and you can buy at most two.
100 requests per 10 seconds per app on Free and Starter, against a daily cap of 250,000 shared across every app in the account. HubSpot API usage guidelines, updated 4 September 2026. Read 1 December 2026.
Now the prompt that looks small. Ask for a summary of every deal above a value threshold in a busy pipeline, and the tool searches in pages of 200 results, then fetches records in batches of 100 IDs. A 4,000-deal sweep is 20 search calls and 40 fetch calls before the model has read anything: 60 calls for one answer, or six seconds of the Free tier's burst budget on a single question. Two more limits turn that into a real ceiling. The public OAuth limit for marketplace apps is 110 requests every 10 seconds per installing account, and it explicitly excludes the CRM Search API, which has its own accounting. Failed requests still count too: HubSpot asks that error responses stay under 5% of daily requests, and Marketplace apps must hold that line to stay certified.
Here is the detail almost nobody mentions. HubSpot returns rate limit headers on every API response, but X-HubSpot-RateLimit-Daily and X-HubSpot-RateLimit-Daily-Remaining aren't included when the request is authorized with OAuth. The remote MCP server authenticates exactly that way, so an agent calling through it can read its per-window remaining budget but not its remaining daily budget. The daily cap resets at midnight in the account's own timezone. Build your own counter, or the first warning you get is a 429 with a policy name in the middle of a workflow.
Where agents break in a live portal
These are the limits that show up as wrong answers rather than errors. Each one is documented, and each one has bitten somebody's report.
- Search caps at 200 results a page, and a record fetch takes at most 100 IDs per request. A question phrased as find every contact who did X returns the first 200 and the model reports it as the complete set unless your prompt asks it to paginate.
- A search supports five filter groups of six filters, with AND inside a group and OR across groups. Prompts that need seven conditions silently lose one.
- Property search takes at most five keywords and returns labels and descriptions. Property discovery misses fields until you fetch them by name with get_properties.
- The SQL tool has no joins, no column aliases, no subqueries, no association traversal and no currency conversion. Any prompt that connects contacts to companies in one query fails, and a two-step prompt is the fix.
- Analytics only covers published pages. Draft pages return metadata and no performance data, so a report on a page you have not shipped is empty by design.
The write side adds its own edge cases. Validation isn't uniform across clients: through Claude, conditional property rules and pipeline stage validations apply while association label validations don't, and through ChatGPT custom validation rules are skipped entirely. If a property rule matters, test the write in the client your team actually uses.
One account per client is the last gotcha. A single Claude or ChatGPT login connects to one HubSpot account at a time, so an agency running five client portals keeps five logins rather than one connector.
Which jobs should stay off the MCP server?
MCP is a context connection, not a replacement for an integration. Four jobs belong somewhere else, and pretending otherwise is how teams end up with a broken sync and a support ticket.
- Bulk enrichment. The server works on records already in your account. New contacts and verified emails need a data source beside it, not a tool inside it.
- High-volume sync. For thousands of records a minute, a private app with batching and workflow webhooks is cheaper than an agent, and webhook calls from workflows don't count against the API limit at all.
- Deletes and clean-up. The remote server does not delete records, so a pruning workflow still needs the API or a human.
- Unattended automation. Every write needs a confirmation, so anything that must run at 3am without a person is the wrong shape for this server.
Cost is the other reason to route carefully. HubSpot lists no separate charge for the MCP server, but the tools that make it interesting sit behind editions: AEO needs Marketing Hub Professional or Enterprise, quotes in beta need Revenue Hub Professional or Enterprise, and free tools accounts can't create custom pipelines. Our breakdown of Marketing Hub pricing shows what those tiers actually cost once onboarding fees and contact jumps are included.
A rollout checklist for a small team
Run this in order. Each step exists because skipping it produces a failure that looks like a model problem.
- Decide which server you need. CRM and content access means the remote server; app and theme work means the local Developer MCP server.
- Create the MCP connector in Development, with a redirect URL you control.
- Connect once with MCP Inspector and run get_user_details to see the real scope for that account.
- Turn write tools to Needs Approval in the client settings. Leaving them on Always Allow removes the confirmation step your audit trail depends on.
- Write down the burst and daily budget for the account tier, and put a call counter in front of the agent before it goes near a cron job.
- Give the agent three test prompts with known answers: a paginated search, a property lookup and one write. Confirm all three behave before trusting a fourth.
The audit trail is worth planning for on day one. Creates and updates through the connector are attributed to both the user and the connector, so when a Super Admin can see who connected and when, an agent's bad edit is a traceable event instead of an unexplained change in a pipeline report.
What this changes about your agent stack
For three years the hard part of a marketing agent was access. You wrote a private app, mapped scopes, handled pagination and hoped the token didn't expire during a demo. That work is now a connector and an OAuth flow, and the interesting problems moved up a level: which workflow deserves an agent, how much API budget it may spend, and what a human still has to approve. That shift helps the people this blog is written for, the ones running marketing with agents rather than a team of ten. A CRM that answers questions in natural language is worth real hours when there is nobody to build the dashboard, and it is worth nothing if the same agent quietly truncates at 200 records.
If you would rather not assemble connectors, prompts and budgets yourself, that's the work we do at ad-vertly. If you're still deciding whether an agent belongs in your stack at all, the honest version of what they can and can't do is a better starting point than any vendor page, including ours. And if this post is the push you needed to rethink the CRM itself, the HubSpot alternatives worth comparing start at a lower number.