Product analytics for mobile and web applications.
## Countly MCP Server: Product Analytics Platform The **Countly MCP Server** connects Countly's comprehensive product analytics platform to Google Antigravity, enabling developers to track user behavior, analyze product usage, and gain actionable insights through AI-assisted analysis. ### Why Countly MCP? - **Privacy-First Analytics**: Self-hosted option ensures complete data ownership and GDPR compliance - **Real-Time Dashboards**: Monitor user activity and product metrics as they happen - **Crash Analytics**: Automatically track and analyze application crashes with stack traces - **User Segmentation**: Create detailed user cohorts based on behavior and attributes - **A/B Testing**: Run experiments and analyze results with statistical significance ### Key Features #### 1. Event Tracking and Analysis ```javascript // Track custom events via MCP await countly.trackEvent({ key: "purchase_completed", count: 1, sum: 99.99, segmentation: { category: "electronics", payment_method: "credit_card", is_first_purchase: true } }); // Query event analytics const purchaseAnalytics = await countly.getEventData({ event: "purchase_completed", period: "30days", groupBy: ["category", "payment_method"] }); ``` #### 2. User Journey Analysis ```javascript // Analyze user funnels const checkoutFunnel = await countly.analyzeFunnel({ steps: [ "product_viewed", "add_to_cart", "checkout_started", "purchase_completed" ], period: "this_month", segmentation: { platform: "mobile" } }); console.log("Conversion rate:", checkoutFunnel.conversionRate); console.log("Drop-off points:", checkoutFunnel.dropOffAnalysis); ``` ### Configuration ```json { "mcpServers": { "countly": { "command": "npx", "args": ["-y", "@anthropic/mcp-countly"], "env": { "COUNTLY_SERVER": "https://your-countly-server.com", "COUNTLY_APP_KEY": "your-app-key", "COUNTLY_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Product Optimization**: Identify feature usage patterns and optimize the product experience based on real user behavior. **Mobile App Analytics**: Track iOS and Android app performance, crashes, and user engagement in a unified dashboard. **Privacy-Compliant Analytics**: Deploy self-hosted analytics for healthcare, finance, or government applications requiring data sovereignty. The Countly MCP Server provides comprehensive product analytics while maintaining user privacy and data control.
{
"mcpServers": {
"countly": {}
}
}