kiro-usage-mcp
Click on "Deploy 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., "@kiro-usage-mcphow many Kiro credits have I used, and when do they reset?"
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.
kiro-usage-mcp
An MCP server that reports your Kiro credit usage: plan, credits used and remaining, and the reset date.
It reads the output of kiro-cli chat --no-interactive "/usage", so it works with any account the Kiro CLI is logged into and needs no token of its own.
Requirements
Node.js 22.13 or later
Kiro CLI, installed and logged in (
kiro-cli login)pnpm, to build from source
Related MCP server: agent-usage
Install
git clone https://github.com/shaffe-fr/kiro-usage-mcp.git
cd kiro-usage-mcp
pnpm install
pnpm buildConfigure
Add the server to your MCP client. For Kiro, edit ~/.kiro/settings/mcp.json (global) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"kiro-usage": {
"command": "node",
"args": ["/absolute/path/to/kiro-usage-mcp/dist/index.js"],
"autoApprove": ["get_kiro_usage"]
}
}
}The tool is read-only, so auto-approving it is safe. Any other MCP client that launches stdio servers works the same way.
If kiro-cli is not on the PATH of the process that starts the server, set KIRO_CLI_PATH to the executable:
"env": { "KIRO_CLI_PATH": "C:\\Users\\you\\AppData\\Local\\Kiro-Cli\\kiro-cli.exe" }Tool
get_kiro_usage
Argument | Type | Description |
|
| Optional. Bypass the 30 second cache. |
Returns a text summary:
KIRO POWER: 7483.87 of 10000 credits used (74.8%), 2516.13 remaining, resets 2026-11-01.and the same data as structuredContent:
{
"plan": "KIRO POWER",
"resetsOn": "2026-11-01",
"creditsUsed": 7483.87,
"creditsTotal": 10000,
"creditsRemaining": 2516.13,
"percentUsed": 74.8,
"addOnCreditsAvailableForPurchase": true
}Limitations
Each probe starts a Kiro CLI chat session, which may leave an empty session in the CLI history. Results are cached for 30 seconds and concurrent calls share a single probe.
The server parses the CLI's human-readable output. If a Kiro release changes that format, the tool returns an error quoting the unexpected output rather than wrong numbers.
Overage and organisation-level allowances are not reported, because
/usagedoes not show them.
Development
pnpm build # compile to dist/
pnpm test # compile and run the parser testsLicense
Available Tools
1 toolget_kiro_usageKiro credit usageARead-only
Returns the Kiro plan credits used, remaining and the reset date, read from kiro-cli /usage.
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the 30 second cache |
Output Schema
| Name | Required | Description |
|---|---|---|
| plan | Yes | |
| resetsOn | Yes | |
| creditsUsed | Yes | |
| percentUsed | Yes | |
| creditsTotal | Yes | |
| creditsRemaining | Yes | |
| addOnCreditsAvailableForPurchase | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false. The description adds genuine value by disclosing the data source ('read from kiro-cli /usage'), which hints at latency and local dependency, but it does not mention the 30-second cache behavior that the schema parameter reveals.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the verb and the returned data, with the data source appended. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values needn't be explained, and the sole parameter is fully covered by the schema. The description is nearly complete for this simple read tool; only cache/staleness behavior is left implicit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single optional 'refresh' parameter is fully documented in the schema ('Bypass the 30 second cache'). The description adds nothing about it, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Returns the Kiro plan credits') and even enumerates the returned fields (used, remaining, reset date). No siblings exist, so no differentiation is required, but the purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied by the read-only 'Returns...' framing; there is no statement of when to call it, prerequisites, or alternatives. With no sibling tools the omission is minor, but no explicit guidance is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v0.1.0- First observed
get_kiro_usage
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusion or misselection. Its purpose (fetch Kiro plan credit usage) is unambiguous.
The single name get_kiro_usage follows a clear verb_noun convention with a domain-specific prefix. With only one tool there are no conflicting conventions to reconcile.
The server's scope is narrow — reporting credit usage from kiro-cli — so a single tool is reasonable rather than thin. Slightly under-scoped only in that no optional parameters (e.g. history or date range) are offered.
The tool covers the core read operation fully: used, remaining, and reset date. There are no write or history operations, but those are arguably outside the stated reporting purpose.
Maintenance
Related MCP Connectors
Read-only Codex usage-limit reset data: 24/48h reset forecast, dated reset record, service status.
Read-only AI/LLM cost tools with current MCP discovery and attributable Registry transport.
Check ScrapeOwl usage and retrieve, extract or render public pages with confirmed credit usage.
Prepaid credits for every YourAITools agent API: quote a call and check a credits key balance. Free.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes AI credit usage data from OpenMeter to the TAIS AI chat service, automatically scoped to the calling tenant and restricted to admin users.-
- AlicenseNot gradedqualityBmaintenanceExposes rate-limit and usage data for AI coding agent CLIs as MCP tools, enabling querying of usage snapshots and reset times.MIT
- FlicenseAqualityBmaintenanceMCP server that exposes a single tool to retrieve ChatGPT/Codex quota via the signed-in Codex CLI, reporting rate-limit windows and usage percentages.1-
- AlicenseAqualityBmaintenanceEnables querying OpenCode Go subscription quota (rolling, weekly, and monthly usage) and Zen prepaid balance as MCP tools.29 npmMIT