• METRICS
  • GEOGRAPHY
  • EVENTS
  • HUMAN

How to query product usage metrics with your AI

Connect Countly to your AI client once. After that, you can pull real-time app performance data just by asking.

Ask AI about this page

Short answer

How can I query product usage metrics with my AI?

Your AI uses Countly tools to fetch session totals, user counts, and geographic distributions through simple text prompts. You get immediate answers to performance questions without digging through dashboards. This breakdown shows how it works.

Data outcomes

Where your data lands.

The AI processes your questions and routes the results to these specific outcomes.

METRICS

Aggregated stats

The AI pulls high-level session and user counts. You get the numbers you need for quick reporting.

GEOGRAPHY

Location breakdowns

The AI identifies where your users are located. This helps you spot regional performance trends.

EVENTS

Behavioral data

The AI looks at specific user actions. You can see exactly how people are interacting with your app.

HUMAN

Manual deep dives

If you need to change settings or delete data, you still have to do that yourself in the Countly dashboard.

The workflow

What your AI does when the request arrives.

The AI translates your plain English questions into specific data requests.

  1. Identify the metric

    The AI determines if you are asking for a broad count or a specific event. It selects the right data path based on your wording.

    read_metrics
  2. Fetch user actions

    If you ask about specific user behaviors, the AI pulls the relevant event logs to find patterns.

    read_events
  3. Drill into details

    When you need to see why a metric changed, the AI looks at the granular data behind the numbers.

    read_drill
  4. Summarize findings

    The AI takes the raw data it found and turns it into a clear, readable answer for you.

    read_metrics

Try it

Copy these to start.

Use these prompts to test the connection immediately.

Starting points

These are examples. Swap out the app names or timeframes to match your specific needs.

Countly Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_XCn8RC0rHZifc5Dr5D6YChNJVMfaKxEkqpKm6o4D/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Countly capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "countly-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_XCn8RC0rHZifc5Dr5D6YChNJVMfaKxEkqpKm6o4D/mcp"
    }
  }
}
Copy into chat04
  • How many active users did my mobile app have yesterday?

  • Show me the geographic distribution of my current user base.

  • What are the most common events happening in the latest version of my app?

  • Compare the session counts between last week and this week.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Countly once, then ask.

Just follow the link to connect your account. Your login stays encrypted on our side, and you can find the full capability list on the Connector page.

Connect Countly to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my Countly settings?

    No. The AI can only read metrics, events, and drill-down data. It cannot modify your configuration.

  • 02

    Can I delete user data using my AI?

    No. The tools provided are read-only. You must use the Countly dashboard for any data deletion or management.

  • 03

    Does the AI see all my private data?

    The AI only sees the specific data points it needs to answer your question through the provided tools.

  • 04

    Can I get real-time data?

    Yes, the AI pulls the most recent data available in your Countly instance when you ask a question.

  • 05

    Can the AI create new custom events?

    No. The AI can only read existing events. It cannot trigger or create new event types in Countly.

  • More questions about Countly? The Connector page answers them. See everything the Countly Connector can do

Connect Countly to Claude, Cursor, ChatGPT & more