StatHat

StatHat MCP Connector for Claude

A+

Track custom metrics and statistics effortlessly via StatHat — post counters, values, and batch updates directly from your AI agent.

4 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your StatHat account to any AI agent to monitor your application's performance and business metrics through simple commands.

What you can do

  • EZ Statistics — Post stats using just a name (e.g., "User Signups"). StatHat automatically creates the metric if it doesn't exist.
  • Classic Counters — Increment specific metrics using unique Stat Keys for precise tracking.
  • Value Tracking — Send numerical values (like response times or temperatures) to specific stat keys.
  • Batch Processing — Use the JSON API to send multiple statistics in a single request for high-efficiency logging.

How it works

  1. Subscribe to this server
  2. Enter your StatHat EZ Key or User Key
  3. Start logging metrics from Claude, Cursor, or any MCP-compatible client

No more manual dashboard entries or complex SDK configurations for quick tracking. Your AI acts as a bridge to your data observability stack.

Who is this for?

  • Developers — log errors, function execution counts, or performance metrics directly from the IDE.
  • Data Analysts — quickly update business KPIs or experimental results via natural language.
  • DevOps Engineers — monitor system health and event counts without leaving the terminal or chat interface.
metricsstatisticstrackingmonitoringanalytics

4 tools expose this connector's capabilities to your AI agent.

post_classic_counter

Post a counter stat using the StatHat Classic API

post_classic_value

Post a value stat using the StatHat Classic API

post_ez_stat

Creates the stat automatically if it does not exist. Post a stat using the StatHat EZ API

post_json_stats

Pass a JSON array of objects containing stat/key, count/value, and optional t (timestamp). Post multiple stats using the StatHat JSON API

See how to talk to your AI agent using StatHat.

Increment the 'Messages Processed' stat by 1 using StatHat EZ.

I've successfully incremented the 'Messages Processed' counter. StatHat confirmed the update was received.

Post a value of 45.5 to the stat key 'th789abc' using the classic API.

The value 45.5 has been posted to stat key 'th789abc'. Your dashboard should reflect this update immediately.

Batch update these stats: 'errors' count 5 and 'latency' value 120.

I've sent the batch update for 'errors' and 'latency' via the JSON API. Both metrics have been updated.

The EZ API (`post_ez_stat`) allows you to post stats using a simple human-readable name and your EZ Key. The Classic API (`post_classic_counter`, `post_classic_value`) requires a unique Stat Key for each specific metric, providing more granular control.

Related Connectors