Heap MCP. Track User Events and Manage Profiles via Conversation
Heap MCP lets your agent manage product analytics directly. Track specific user events, update profile details for groups of users, and query behavior metrics without logging into an analytics dashboard. It’s designed to let you handle everything from setting up custom event tracking on the backend to permanently deleting user data in compliance with GDPR.
Give Claude and any AI agent real-world access
Add or modify custom properties for specific users or entire groups of accounts.
Send multiple user events simultaneously to record high-throughput activity across your product.
Permanently remove a user and all associated data records for compliance purposes.
Link an anonymous visitor session to a known, specific user identity.
Retrieve a list of every defined segment (user group) within your project.
Search and retrieve user profiles based on specific actions or attributes you define.
Ask an AI about this
Waiting for input…
What AI agents can do with Heap MCP: 12 Tools for Data Control
Use these twelve tools to perform every action in your Heap account—from tracking specific user interactions to managing entire data schemas—all through natural conversation.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Heap MCPAdd Account Properties
Adds or modifies properties that apply to a group of users (an account).
Add User Properties
Sets or changes custom attributes on an individual user's profile.
Bulk Add User Properties
Updates the properties for several users at once in a single request.
Bulk Track Events
Sends multiple user events simultaneously to record high-volume activity efficiently.
Delete User Data
Permanently removes a specific user and all their associated data records (for GDPR...
Get Api Usage
Checks your current API usage limits and overall project status.
Get My Profile
Retrieves basic information about the credentials used to connect this MCP.
Identify User
Links an anonymous visitor's session ID to a known, persistent user identity.
Get Event Definitions
Lists all custom event names and definitions currently configured in Heap.
Get Segments
Retrieves a list of every defined user segment or cohort for your project.
Query User Profiles
Filters and searches user profiles based on specific criteria, like actions taken or...
Track Event
Sends a single server-side event for a specified user within your product.
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on each call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Heap, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,200+ others, all in one place
- Add new capabilities to your AI anytime you want
- Connections are secured and governed automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog weekly
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Heap. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS CLOUD
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on each call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
The Headache of Deep Product Analytics
Today, figuring out user behavior requires jumping between tabs: opening the segment list, checking event definitions, and running custom queries. You end up copying IDs into spreadsheets or writing repetitive API calls just to confirm if a specific action was tracked correctly.
With this MCP, you talk to your agent instead of clicking through dashboards. You simply ask it to check for 'Checkout Started' events, and the data comes back instantly, giving you immediate confidence in your analytics setup.
Managing User Profiles with Heap
Updating user properties across thousands of accounts usually involves running a complex backend job or writing specific code to ensure every field is current. This process takes time and requires specialized scripting knowledge.
Now, you can update profiles using add_account_properties directly through your agent. It treats the entire data layer like a simple conversation, letting you focus on 'what' needs changing, not 'how' to send the request.
What Heap MCP does for your AI
Connecting your Heap.io account gives your AI client full control over your product data and how users behave within your application. Instead of opening complex analytics dashboards, you can talk to your agent and ask it to perform actions directly against your user base. You can send custom server-side events right from the chat window, or group multiple users together for updates using bulk operations.
Need to know what segments of your audience are doing? Your agent lists all defined segments instantly. Or maybe you just need to figure out if a specific event definition exists in your schema. You can query user profiles based on unique behaviors and attributes, making it feel like having a dedicated data analyst sitting right next to you.
This capability is hosted on the Vinkius Marketplace, so once you connect your preferred client, you get access to this powerful toolset alongside hundreds of others.
It also handles compliance issues; when GDPR hits, your agent permanently deletes user records for you. It's all about taking complex data tasks and handling them through plain conversation.
019d75ae-ffd9-72f2-9085-2974bd0e1b7d How to set up Heap MCP
The bottom line is that you manage complex analytics tasks by talking to your AI client instead of clicking through dashboards.
Subscribe to this MCP, then input your Heap App ID and API Key into the connection settings.
Your AI client authenticates with Heap, making all the product data available for conversation-based commands.
You ask your agent a question like, 'Track event X for user Y,' and it executes the command immediately.
Who uses Heap MCP
This MCP is for data professionals who deal with user behavior and growth metrics daily. It's built for the product manager tired of manually exporting segment data, or the engineering lead who needs to automate backend event logging without writing code.
Needs to instantly check how many users are in a specific cohort using list_segments and verify if an expected event definition is available.
Automates the tracking of server-side events or updates user properties for multiple accounts in high volumes.
Handles compliance requests by permanently deleting user data using the delete_user_data tool, ensuring records are scrubbed correctly.
Benefits of connecting Heap MCP
You can track multiple events concurrently using bulk_track_events, which handles high-volume data logging much faster than sending them one by one.
Stop manually updating user records. You use add_user_properties or bulk_add_user_properties to modify attributes for entire groups of users instantly.
Compliance is simple. When a deletion request comes in, you run delete_user_data through your agent and it handles the permanent removal.
You don't need to guess if an event name is correct; running get_event_definitions confirms your analytics schema immediately.
Need to know who did what? You can query user profiles using query_user_profiles, filtering by complex behaviors or attributes you care about.
Heap MCP use cases
Tracking a new feature launch
A growth engineer needs to log that users are starting to use the 'Pro Dashboard' on their account. Instead of writing code, they ask their agent to run bulk_track_events for every user who hits the dashboard, tracking the event and associated value.
Fixing a leaky funnel segment
A product manager notices that 'Trial Users' are dropping off. They use get_segments to confirm the cohort exists, then run query_user_profiles to find exactly which users in that group viewed the pricing page but never signed up.
Handling GDPR data removal
A data privacy officer receives a deletion request for 'jane.doe@example.com'. They prompt their agent, and it executes delete_user_data, ensuring all associated behavioral and profile records are purged instantly.
Reconnecting anonymous sessions
A user lands on the site anonymously (anon_123). When they log in via their AI client, your agent runs identify_user to link anon_123's actions to their known account ID. All future events are consolidated.
Heap MCP tradeoffs
What to watch out for, and the recommended way to handle each one.
Manual Dashboard Navigation
Spending 20 minutes clicking through Heap's interface, filtering by date range, and manually checking if the 'Checkout Started' event exists.
Just ask your agent to run get_event_definitions. It instantly confirms the schema you need without ever leaving the chat.
Sequential Updates
Running a script or multiple API calls, one by one, to update properties for 50 different users when they all hit a specific milestone.
Use bulk_add_user_properties. This sends all the updates in one efficient request, saving time and API calls.
Ambiguous Targeting
Trying to find users who did X and Y but forgetting which specific criteria or date range to use.
Use query_user_profiles. You describe the behavior, and it filters the user base precisely based on those attributes.
When to use Heap MCP
Use this MCP if your core need involves manipulating data within Heap—meaning you are tracking events, updating profiles, or managing segments directly via conversation. For example, if you want to bulk_add_user_properties or run delete_user_data based on a prompt, this is the tool. Don't use it if all you want to do is read raw SQL logs; for that, you need a dedicated database connector. Also, if your goal is simply visualizing user flow in a live dashboard (read-only), an analytics visualization MCP might be better. Use this when the action is the data manipulation itself.
Frequently asked questions about Heap MCP
How do I find my Heap App ID and API Key? +
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.
Can I track events server-side through this integration? +
Yes! Use the track_event tool. You provide the user identity, event name, and optional properties. This is perfect for capturing actions that happen outside the client browser.
How do I update user properties in bulk? +
Use the bulk_add_user_properties tool. You must provide a JSON array containing objects with identity and properties for each user you wish to update.
Is the data deletion tool permanent? +
Yes. The delete_user_data tool triggers a permanent deletion of the user identity and all historical data from Heap, helping you comply with GDPR and CCPA requests.