• AUTO-CREATE
  • INCREMENT
  • QUERY
  • HUMAN

How to log simple metrics with your AI client

Connect StatHat once. After that, you just tell your AI what to track and it handles the rest.

Ask AI about this page

Short answer

How can I track stats using my AI?

Just tell your AI what you want to count. It uses natural language to create or increment named statistics on the fly. You get a running tally of your data without touching a database.

The results.

Where your data goes.

Your AI manages the conversation while StatHat stores the numbers.

AUTO-CREATE

Instant stat creation

The AI identifies the metric you mentioned. It uses post_ez_stat to set up a new named statistic immediately.

INCREMENT

Running tallies

When you report a new event, the AI adds it to the existing count. You'll see your totals climb as you chat.

QUERY

Data retrieval

Ask your AI for the current value of any metric. It pulls the latest number from StatHat so you can see progress.

HUMAN

Manual control

You decide when a metric is finished or needs a reset. The AI won't delete or wipe your history without you asking.

The workflow

What your AI does when a metric arrives.

The AI acts as the bridge between your chat and your statistics.

  1. Interpret intent

    Your AI listens to your request and figures out if you want to start a new count or add to an old one.

    post_ez_stat
  2. Execute update

    The AI sends the command to update the specific named statistic you mentioned.

    post_ez_stat
  3. Confirm success

    The AI tells you the new total so you know the update worked.

    post_ez_stat
  4. Report status

    You can ask for a summary of all your active stats at any time.

    post_ez_stat

Try it

Copy these to start.

Use these lines to kick off your tracking.

Starting points

These are just ideas. Swap out the metric names for whatever you actually want to track.

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
  • Log a new stat called 'daily coffee consumption' and set it to 1.

  • Increment my 'completed tasks' metric by 1.

  • What is the current value of my 'website visitors' stat?

  • Add 5 to my 'total sales' statistic.

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

Start here

Connect StatHat once, then ask.

Click the link to connect. Your credentials stay encrypted and safe. Once connected, you can use these tools in any compatible client.

Connect StatHat to your AI

FAQ

How this task behaves.

  • 01

    Do I need to create keys for my statistics first?

    No. The AI creates the named statistic for you the first time you mention it.

  • 02

    Can the AI delete my statistics?

    No. The AI only has the ability to create and increment stats through this tool.

  • 03

    Can I track multiple different things at once?

    Yes. You can track as many unique named statistics as you need.

  • 04

    Will the AI change my existing data without permission?

    No. The AI only performs the specific increment or creation you ask for in the chat.

  • 05

    Does this work with any AI client?

    It works with any MCP-compatible client like Claude, Cursor, or Windsurf.

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

Connect StatHat to Claude, Cursor, ChatGPT & more