MCP.so
登录

Costlens — Ai Productivity Tracking MCP Server

@Costlens-dev

基本信息

分类

其他

传输方式

stdio

作者

Costlens-dev

提交者

João Filipe Romão

关于 Costlens — Ai Productivity Tracking MCP Server

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.

Costlens — Ai Productivity Tracking MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "costlens": {
      "command": "npx",
      "args": [
        "-y",
        "@costlens/mcp-server"
      ],
      "env": {
        "COSTLENS_MCP_KEY": "<YOUR_KEY>"
      }
    }
  }
}

Costlens — Ai Productivity Tracking MCP Server 工具

7

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

概览

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

常见问题

1

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.

2

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.

3

Does Costlens slow down my coding workflow?

No. All tracking runs asynchronously and is designed to have zero latency – it never blocks your workflow.

4

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`.

5

Where can I learn more?

Visit the Costlens website at https://costlens.dev or the MCP documentation at https://costlens.dev/docs/mcp.

评论

其他 分类下的更多 MCP 服务器