loading…
Search for a command to run...
loading…
MCP server that analyzes AI agent session logs to find token waste and optimization opportunities.
MCP server that analyzes AI agent session logs to find token waste and optimization opportunities.
MCP server that analyzes AI agent session logs to find token waste and optimization opportunities.
Free preview tier — see where your money goes before paying for detailed analysis.
Add to your Claude Desktop or MCP client config:
{
"mcpServers": {
"agentcost": {
"command": "npx",
"args": ["-y", "alphaforensics-mcp"]
}
}
}
No API key needed for the free preview tier.
agentcost_preview (Free)Analyze your Claude Code session logs at no cost. Returns:
Upload your JSONL from ~/.claude/projects/ to see where your money goes.
agentcost_analyze ($5-$15 via x402)Full analysis with actionable recommendations:
agentcost_sample (Free)Get a sample report to see the output format before submitting real data.
~/.claude/projects/agentcost_preview to get a free cost breakdownagentcost_analyzePaid analysis uses x402 micropayments on Base mainnet — no API keys or subscriptions needed.
| Endpoint | Price | Description |
|---|---|---|
POST /forensics/preview |
Free | Cost breakdown + top-5 hot turns |
POST /forensics/analyze |
$5-$15 | Waste patterns + recommendations |
GET /forensics/sample |
Free | Sample report |
Base URL: https://api.agentsconsultants.com
MIT
Run in your terminal:
claude mcp add agentcost -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.