Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcpstatShow me the usage statistics for this server."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcpstat
Usage tracking and analytics for MCP servers. Pure Python, zero required dependencies.
Track which tools get called, how often, and keep an audit trail - all in 3 lines of code.
Installation
With MCP SDK:
Quick Start
Then ask your AI assistant: "Give me MCP usage stats"
Features
SQLite-backed - Stats persist across restarts
Built-in MCP tools -
get_tool_usage_stats,get_tool_catalogTag system - Categorize and filter tools
Token tracking - Estimate or record actual token usage
Latency tracking - Measure execution duration, identify slow tools
File logging - Optional timestamped audit trail
Async-first - Thread-safe via
asyncio.Lock
Documentation
Full Documentation - Quick start, API reference, examples
Quick Start - Get running in 5 minutes
Configuration - Customize paths, logging, presets
API Reference - Complete method reference
Token Tracking - Cost analysis features
Latency Tracking - Performance monitoring
Examples
See examples/ for minimal and full integration patterns.
Contributing
See CONTRIBUTING.md. Run tests with:
License
MIT - see LICENSE for details.
MCP is a trademark of its respective owners. This project is not affiliated with or endorsed by any trademark holders.