• VALUE
  • COUNT
  • DASHBOARD
  • HUMAN

How to track specific stat keys with your AI

Connect StatHat to your AI client once. After that, your agent handles all the numerical updates for you.

Ask AI about this page

Short answer

How can I track specific stat keys with my AI?

Your AI sends precise numbers or increments to StatHat keys to keep your monitoring granular. You get real-time updates by simply telling your agent which metric to change. This setup gives you a direct line from your AI's logic to your StatHat dashboard.

Where data lands.

The outcomes of your updates.

Every instruction you give your agent results in a specific data point in StatHat.

VALUE

Absolute measurements

The AI sets a key to a specific number. Use this for gauges or fixed metrics like current temperature.

COUNT

Running totals

Your agent adds to an existing total. This is perfect for tracking event counts or successful runs.

DASHBOARD

Live monitoring

Updates appear in your StatHat dashboard immediately. You can watch trends develop as your agent works.

HUMAN

Manual control

The AI only touches the keys you name. You remain in charge of creating keys and interpreting the data.

The workflow

What your AI does when a metric needs updating.

The AI translates your natural language into precise StatHat API calls.

  1. Identify the target

    Your agent parses your request to find the correct StatHat key for the job.

    post_classic_value
  2. Set a new value

    If you want to set a metric to a specific level, the AI pushes that exact number.

    post_classic_value
  3. Increment a total

    When you ask to add to a total, the AI bumps the existing value by your specified amount.

    post_classic_counter
  4. Confirm the write

    The AI verifies the update was successful so you know the data is live.

    post_classic_counterpost_classic_value

Try it

Copy these to start.

Use these prompts to begin sending data to StatHat.

Starting points

Swap the bracketed text for your actual StatHat key names or specific numbers.

StatHat Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_9nbOVIYYenpFsByD28JMgOZQqElzpJceAGuRHFs0/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 — StatHat capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "stathat-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_9nbOVIYYenpFsByD28JMgOZQqElzpJceAGuRHFs0/mcp"
    }
  }
}
Copy into chat04
  • Set the 'api_latency' key in StatHat to 150.

  • Increment the 'daily_user_signups' counter by 1.

  • Update the 'server_load' key with the value 45.

  • Add 5 to my 'completed_tasks' StatHat key.

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

Start here

Connect StatHat once, then ask.

Follow the link to connect. Your credentials stay encrypted on our side, and you can find the full tool list on the Connector page.

Connect StatHat to your AI

FAQ

How this task behaves.

  • 01

    Can the AI create new StatHat keys?

    No. The AI can only send values to keys that already exist in your StatHat account.

  • 02

    Does the AI delete my historical data?

    No. The AI only sends new values or increments. It cannot delete or modify your existing StatHat history.

  • 03

    Can I use this to track multiple different metrics?

    Yes. As long as you have the keys set up, your agent can target any number of different StatHat keys.

  • 04

    Will the AI decide when to update a metric?

    No. The AI only performs an update when you explicitly tell it to in your chat.

  • 05

    Can the AI change my StatHat account settings?

    No. The tools are strictly limited to posting values and incrementing counters.

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

Connect StatHat to Claude, Cursor, ChatGPT & more