Heap

Heap MCP Connector for Claude

A+

Automate product analytics via Heap — track events, identify users, and manage segments directly from any AI agent.

12 tools Official Updated Oct 1, 2026 Official Vinkius Partner

Connect your Heap.io analytics account to any AI agent and take full control of your product data and user identity management through natural conversation.

What you can do

  • Event Tracking — Send custom server-side events to Heap to capture granular user interactions.
  • User Identification — Associate anonymous sessions with specific identities and set custom profile properties.
  • Segment Management — List all segments defined in your project to understand your user cohorts.
  • Event Definitions — Access your custom event definitions to stay aligned with your analytics schema.
  • Bulk Operations — Track multiple events or update several user profiles in a single high-throughput request.
  • GDPR Compliance — Permanently delete user data directly from the chat interface when requested.
  • Query Profiles — Filter and retrieve user profiles based on specific behavior or attributes.

How it works

  1. Subscribe to this server
  2. Enter your Heap App ID and API Key
  3. Start managing your product analytics from Claude, Cursor, or any MCP-compatible client

No more manual navigating through complex analytics dashboards for simple data updates. Your AI assistant acts as a dedicated Data Analyst or Growth Engineer.

Who is this for?

  • Product Managers — instantly check segment sizes and verify event definitions during planning.
  • Growth Engineers — automate server-side event tracking and user property updates.
  • Data Privacy Officers — streamline the execution of GDPR data deletion requests.
product-analyticsevent-trackinguser-behaviordigital-insightssession-analysisdata-segmentation

12 tools expose this connector's capabilities to your AI agent.

get_api_usage

Run this tool before making high-volume data queries. Check current API usage and project status

get_segments

Do not query segments without specifying a time range. List all segments defined in your Heap project

query_user_profiles

Pass the full query object as a JSON string. Query and filter user profiles based on criteria

add_user_properties

Use this when you know the user’s unique identity. Add or update custom properties for a user profile

identify_user

Use this only when the user is currently anonymous. Associate an anonymous session with a specific user identity

track_event

Properties should be a JSON string. Track a server-side event for a user in Heap

add_account_properties

Use this when updating properties for multiple users simultaneously. Add or update properties for an account (group of users)

bulk_add_user_properties

Pass a JSON array of user updates. Update properties for multiple users in a single request

bulk_track_events

Ensure the events array is correctly formatted. Track multiple events concurrently for high-throughput

delete_user_data

Provide the unique identifier of the user to delete. Permanently delete a user and all their associated data (GDPR)

get_event_definitions

Use this tool to verify event names before querying data. List all custom event definitions in Heap

get_my_profile

Use this to confirm the credentials associated with the current session. Get information about the authenticated API key

See how to talk to your AI agent using Heap.

Track event 'Checkout Started' for user 'user_992' with properties {'value': 49.99}.

Event tracked! I've successfully sent the 'Checkout Started' event for user_992 to Heap. Would you like to check the current properties for this user profile?

List all active segments in the project.

I've retrieved your segments. You have 5 active cohorts, including 'Power Users', 'Churn Risks', 'Trial Users', and 'New Signups'. Which segment would you like to query for user details?

Identify user 'anon_552' as 'john.doe@example.com'.

User identified! I've linked the anonymous session 'anon_552' to the identity 'john.doe@example.com' in Heap. Future events from this user will now be consolidated. Should I set any initial profile properties?

Log in to Heap, go to **Account > Projects**, and select your project. Your **App ID** will be visible there. For the **API Key**, navigate to the API section in your project settings to generate a server-side key.

Related Connectors