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.

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 emailPOSTSet user email address property
  • add_user_propertiesAdd user propertiesPOSTAdd custom properties to user profile
  • bulk_add_user_propertiesBulk add user propertiesPOSTBulk add properties to multiple users
  • delete_usersDelete usersPOSTSubmit user deletion request
  • get_deletion_statusGet deletion statusGETCheck user deletion request status
  • identify_userIdentify userPOSTIdentify and link user to permanent identity

Event, 4 operations

  • bulk_track_eventsBulk track eventsPOSTBatch track multiple events in one request
  • track_eventTrack eventPOSTTrack a custom event for a user
  • track_event_euTrack event euPOSTTrack event via EU datacenter
  • track_with_user_idTrack with user idPOSTTrack event using Heap user_id

Account, 2 operations

  • add_account_propertiesAdd account propertiesPOSTAdd custom properties to B2B account
  • bulk_add_account_propertiesBulk add account propertiesPOSTBulk add properties to multiple accounts

Auth, 1 operation

  • get_auth_tokenGet auth tokenPOSTGet 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