Costlens — Ai Productivity Tracking
@Costlens-dev
关于 Costlens — Ai Productivity Tracking
Track AI productivity automatically via MCP. Measures sessions, commits, PRs, cost per deliverable, and generates ROI reports for engineering leaders. Zero latency — all tracking is async.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"costlens": {
"command": "npx",
"args": [
"-y",
"@costlens/mcp-server"
],
"env": {
"COSTLENS_MCP_KEY": "<YOUR_KEY>"
}
}
}
}工具
7Begin tracking a coding session
End session with outcome + artifacts
Log commits, PRs, deploys
Sessions, cost, output for a period
Daily/weekly/monthly AI spend
PRs merged, review rounds, cost per PR
Get cost-optimized model suggestion
概览
What is Costlens — Ai Productivity Tracking?
Costlens — Ai Productivity Tracking is an MCP server that measures what AI code agents actually ship. It provides automatic session tracking, event logging, cost tracking per session and deliverable, GitHub PR metrics, and productivity reports with ROI calculation. It is designed for developers and teams using AI coding agents to quantify output and cost efficiency.
How to use Costlens — Ai Productivity Tracking?
Run npx @costlens/mcp-server setup – one command opens a browser for authentication and auto‑configures your agent. After setup, the server exposes seven tools: start_session, end_session, log_event, get_productivity_summary, get_spend_summary, get_github_metrics, and costlens_suggest_model. All tracking is async and never blocks your workflow.
Key features of Costlens — Ai Productivity Tracking
- Automatic session tracking (start, end, heartbeat)
- Event logging for commits, PRs, deploys, file edits
- Cost tracking per session and per deliverable
- GitHub PR metrics (review rounds, time to merge)
- Productivity reports with ROI calculation
- Zero latency – all tracking is async, never blocks
Use cases of Costlens — Ai Productivity Tracking
- Track AI coding agent sessions and log artifacts produced
- Measure cost per deliverable (commits, PRs, deploys)
- Generate productivity and spend summaries over any period
- Analyze GitHub PR efficiency (review rounds, time to merge)
- Get cost‑optimized model suggestions for coding tasks
FAQ from Costlens — Ai Productivity Tracking
What does Costlens track?
It tracks coding sessions (start/end), events (commits, PRs, deploys, file edits), costs per session and deliverable, and GitHub PR metrics.
How do I set up Costlens?
Run npx @costlens/mcp-server setup – a browser opens for authentication and the agent is automatically configured in about 30 seconds.
Does Costlens slow down my coding workflow?
No. All tracking runs asynchronously and is designed to have zero latency – it never blocks your workflow.
What tools does Costlens provide?
Seven tools: start_session, end_session, log_event, get_productivity_summary, get_spend_summary, get_github_metrics, and costlens_suggest_model.
Where can I learn more?
Visit the Costlens website at https://costlens.dev or the MCP documentation at https://costlens.dev/docs/mcp.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
评论