Integration

Heap integration

Product analytics platform for tracking user behavior with automatic event capture. Heap provides server-side APIs for custom event tracking, user identification, user property management, and account analytics. Essential for product teams needing behavioral analytics, user journey tracking, and retroactive data analysis without manual instrumentation.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Heap.Built from the 13 Heap tools below, on the connection you add once.

Common Heap use cases

  • Set user email address
  • Bulk sync user data from CRM
  • Set company subscription tier
  • Track events for EU customers
  • Monitor GDPR deletion progress
  • Bulk sync account data from CRM
  • GDPR right to erasure compliance
  • Authenticate before user deletion
  • Bulk import historical event data
  • Set user subscription tier or plan

What you can do with Heap

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

User, 6 operations

  • add_user_emailAdd user emailPOSTAgents: ask firstSet user email address property
  • add_user_propertiesAdd user propertiesPOSTAgents: ask firstAdd custom properties to user profile
  • bulk_add_user_propertiesBulk add user propertiesPOSTAgents: ask firstBulk add properties to multiple users
  • delete_usersDelete usersPOSTAgents: ask firstSubmit user deletion request
  • get_deletion_statusGet deletion statusGETAgents: ask firstCheck user deletion request status
  • identify_userIdentify userPOSTAgents: ask firstIdentify and link user to permanent identity

Event, 4 operations

  • bulk_track_eventsBulk track eventsPOSTAgents: ask firstBatch track multiple events in one request
  • track_eventTrack eventPOSTAgents: ask firstTrack a custom event for a user
  • track_event_euTrack event euPOSTAgents: ask firstTrack event via EU datacenter
  • track_with_user_idTrack with user idPOSTAgents: ask firstTrack event using Heap user_id

Account, 2 operations

  • add_account_propertiesAdd account propertiesPOSTAgents: ask firstAdd custom properties to B2B account
  • bulk_add_account_propertiesBulk add account propertiesPOSTAgents: ask firstBulk add properties to multiple accounts

Auth, 1 operation

  • get_auth_tokenGet auth tokenPOSTAgents: ask firstGet temporary auth token for Delete API

Use Heap from Claude Code, Cursor or Codex

Connect Heap in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Heap operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Heap

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Heap once

    Add your Heap connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Heap integration FAQ

What can you do with the Heap integration?

LiveContext exposes 13 operations on Heap, covering user, event, account and auth. Common uses include Set user email address, Bulk sync user data from CRM and Set company subscription tier.

Popular integrations

Browse the whole catalog