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.
@Costlens-dev
基本信息
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>"
}
}
}
}Get current spend summary — daily, weekly, monthly, and session totals
Analyze a prompt and suggest the cheapest adequate model
Start a productivity tracking session
End a productivity tracking session
Log a productivity event within a session
Get productivity summary for a time period
Get GitHub PR metrics — PRs merged, review rounds, first-pass rate, cost per PR
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.
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.
It tracks coding sessions (start/end), events (commits, PRs, deploys, file edits), costs per session and deliverable, and GitHub PR metrics.
Run `npx @costlens/mcp-server setup` – a browser opens for authentication and the agent is automatically configured in about 30 seconds.
No. All tracking runs asynchronously and is designed to have zero latency – it never blocks your workflow.
Seven tools: `start_session`, `end_session`, `log_event`, `get_productivity_summary`, `get_spend_summary`, `get_github_metrics`, and `costlens_suggest_model`.
Visit the Costlens website at https://costlens.dev or the MCP documentation at https://costlens.dev/docs/mcp.
🚀 The fast, Pythonic way to build MCP servers and clients.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
AI 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

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
评论