Introduction
AI agents meet your product in many places: crawlers fetch your pages, agents call WebMCP tools on your website, MCP clients like Claude, Cursor and ChatGPT call your MCP server, and coding agents run your CLI and call your API. AgentStats records each of them, so you can see what agents actually do and why they fail. The people on your website are counted too, next to the agents.
What you can track
Each piece is independent. Add the ones your product has.
Website
A small script that records every WebMCP tool call with its arguments, duration and outcome, and counts your visitors without cookies.
AI crawlers
GPTBot, ClaudeBot and the rest never run JavaScript. A small middleware (or a log drain) reports them, verified against each vendor's published IP ranges.
MCP servers
One line in your server, in seven languages, or a proxy in front of a remote one. Every request, the client that sent it and the tool list over time.