AgentCost
БесплатноНе проверен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.
README
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.
Quick Start
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.
Tools
agentcost_preview (Free)
Analyze your Claude Code session logs at no cost. Returns:
- Total cost breakdown by model
- Token counts (input/output/cache)
- Tool usage frequency
- Top 5 most expensive turns
Upload your JSONL from ~/.claude/projects/ to see where your money goes.
agentcost_analyze ($5-$15 via x402)
Full analysis with actionable recommendations:
- Pro ($5): Waste pattern detection, per-tool cost attribution, optimization recommendations
- Full ($15): + industry benchmarks, savings projections, exportable report
agentcost_sample (Free)
Get a sample report to see the output format before submitting real data.
How It Works
- Find your Claude Code session logs in
~/.claude/projects/ - Use
agentcost_previewto get a free cost breakdown - If you want waste detection and recommendations, use
agentcost_analyze
Paid analysis uses x402 micropayments on Base mainnet — no API keys or subscriptions needed.
API Endpoints
| 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
License
MIT
Установить AgentCost в Claude Desktop, Claude Code, Cursor
unyly install agentcostСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add agentcost -- npx -y alphaforensics-mcpFAQ
AgentCost MCP бесплатный?
Да, AgentCost MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для AgentCost?
Нет, AgentCost работает без API-ключей и переменных окружения.
AgentCost — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить AgentCost в Claude Desktop, Claude Code или Cursor?
Открой AgentCost на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare AgentCost with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
