KiroStats
Provides session summaries formatted for Jira tickets, allowing users to paste or auto-attach credit usage, thinking time, and other session metrics to issues.
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., "@KiroStatsWhat's my credit usage this session?"
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.
KiroStats
Real-time credit usage and session tracking for Kiro IDE — as an MCP server.
No auth. No network. No cloud dependency. Reads directly from Kiro's local state on your machine.
What You Get
Once installed, Kiro automatically tracks every chat session:
Session credits — how many credits this conversation has consumed
Thinking time — cumulative seconds the agent spent processing
Wall-clock time — how long the chat has been open
Plan usage — monthly limit, used, remaining, overage charges
Jira-ready summaries — markdown output you can paste or auto-attach to tickets
Ask at any point:
"What's my credit usage this session?" "How long has Kiro been thinking?" "How long has this chat been open?" "Give me a session summary for Jira."
Related MCP server: Cursor Pro Limits MCP Server
Install (One Command)
git clone https://github.com/BrennanWebb/KiroStats.git
cd KiroStats
.\install.ps1The installer:
Pip-installs the MCP server package
Registers it in your user-level
~/.kiro/settings/mcp.jsonCreates a hook that auto-starts session tracking on every chat
Adds a steering file so the agent knows how to use the tools
Restart Kiro after install. Session tracking begins on your next chat.
Manual Install (if you prefer)
pip install -e .Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"kiro-usage": {
"command": "kiro-usage-mcp",
"autoApprove": ["start_session", "log_interaction", "get_session_stats", "get_plan_usage", "get_session_summary"]
}
}
}Then copy the hook and steering files from the install script, or create them manually.
Tools
Tool | Description |
| Snapshots current credits and starts the clock. Called automatically by hook. |
| Records thinking time for an agent turn. |
| Returns session credits, thinking time, wall-clock time, interaction count. |
| Returns full billing cycle info (limit, used, remaining, overage). |
| Markdown-formatted summary for Jira/PR comments. |
Supported Platforms
OS | Kiro State Path |
Windows |
|
macOS |
|
Linux |
|
Requirements
Python 3.10+
Kiro IDE installed and opened at least once
How It Works
Kiro stores plan usage in a local SQLite database. The UI renders "Est. Credits Used" from this data after every response. KiroStats reads the same cache and exposes it to agents via MCP tools.
Session tracking works by snapshotting the currentUsage value at chat start, then computing the delta on each query. Thinking time is logged per-turn by the agent. Wall-clock time is the elapsed time since start_session was called.
Uninstall
pip uninstall kiro-usage-mcp
# Remove from ~/.kiro/settings/mcp.json
# Delete ~/.kiro/hooks/kiro-stats-session.json
# Delete ~/.kiro/steering/kiro-stats.mdLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BrennanWebb/KiroStats'
If you have feedback or need assistance with the MCP directory API, please join our Discord server