Costlens — Ai Productivity Tracking
@Costlens-dev
About 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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"costlens": {
"command": "npx",
"args": [
"-y",
"@costlens/mcp-server"
],
"env": {
"COSTLENS_MCP_KEY": "<YOUR_KEY>"
}
}
}
}Tools
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
Overview
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.
More Other MCP servers
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

EverArt
modelcontextprotocolModel Context Protocol Servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Comments