Use Trackveil analytics directly from Cursor, Claude Desktop, and other AI coding assistants.
Trackveil is the first analytics platform with native AI assistant integration. Query your data and generate tracking code directly from your coding environment.
Step 1: Generate an API key at dashboard.trackveil.net/app/api-keys
Step 2: Add to your Cursor settings:
{
"mcpServers": {
"trackveil": {
"url": "https://mcp.trackveil.net",
"headers": {
"Authorization": "Bearer tv_your_api_key_here"
}
}
}
}
Step 3: Restart Cursor and start using Trackveil with AI!
Ask questions about your analytics:
Generate tracking code:
Manage your account:
You:
"Track when users click the demo request button"
AI:
// Track demo request button clicks
document.querySelector('#demo-btn').addEventListener('click', () => {
Trackveil.track('Demo Requested', {
page: window.location.pathname,
timestamp: new Date().toISOString()
});
});
Paste this into your JavaScript file!
You:
"Create a conversion goal for newsletter signups"
AI:
✅ Goal created successfully!
Name: Newsletter Signup
Type: event
Target: Newsletter Signup
View at: dashboard.trackveil.net/app/goals
Download and save this as .cursor/mcp.json in your project:
{
"mcpServers": {
"trackveil": {
"url": "https://mcp.trackveil.net",
"headers": {
"Authorization": "Bearer tv_YOUR_API_KEY_HERE"
}
}
}
}
Replace tv_YOUR_API_KEY_HERE with your actual API key from
your dashboard.
The MCP server works with all plan tiers. Data shown respects your plan limits:
Add-ons increase your limits! The MCP automatically respects your total limit (base plan + add-ons).
If you're over your limit, the AI will show you limited data and provide an upgrade link!