Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

TraceRoost

Local traces and cost tracking for Claude Code, Codex, Copilot and other coding agents

TraceRoost is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
Web, macOS, Windows
Runs
Remotely
Version
1.3.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add traceroost -- npx -y traceroost

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "traceroost": {
      "command": "npx",
      "args": [
        "-y",
        "traceroost"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "traceroost": {
      "command": "npx",
      "args": [
        "-y",
        "traceroost"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "traceroost": {
      "command": "npx",
      "args": [
        "-y",
        "traceroost"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "traceroost": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "traceroost"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add traceroost -- npx -y traceroost

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.traceroost]
command = "npx"
args = ["-y", "traceroost"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "traceroost": {
      "command": "npx",
      "args": [
        "-y",
        "traceroost"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user traceroost npx -- -y traceroost

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "traceroost": {
          "command": "npx",
          "args": [
            "-y",
            "traceroost"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About TraceRoost

TraceRoost records what your coding agents do on your own machine: prompts, tool calls, token use, estimated cost and the files they touch. It reads the local log files that agents already write and can also receive live OpenTelemetry data, so history appears right after install.

Beyond usage charts, it flags runs that look stuck, such as repeated tool calls, oscillating edits or recurring errors, and offers a correction prompt you can paste into the session. An Advisor compares traces across projects and suggests additions to instruction files like CLAUDE.md or AGENTS.md.

An MCP server lets the agent itself query its recent sessions, cost and loop patterns before starting new work. Individual developers can use it for free; the optional TraceRoost Cloud adds a shared team view for linked machines, with counts and timings rather than code or prompts leaving the machine.

What it does

Local trace history
Reads agent log files and databases automatically, so past sessions show up without configuration.
Live OpenTelemetry capture
Receives span timing, time-to-first-token and per-tool latency from agents that export OTel.
Stuck-agent signals
Sixteen named patterns such as repeated calls or recurring errors, each with a paste-ready correction prompt.
Cost estimates
Estimates per-trace and per-day spend by agent and model for token-priced agents.
Instruction file advisor
Suggests additions to CLAUDE.md or AGENTS.md based on files the agent keeps rediscovering.
Agent query server
An MCP server that lets your coding agent check its own recent work and cost before starting a task.

Good for

  • Finding out which agent, model or repo is driving most of your coding spend
  • Spotting loops where an agent repeats the same tool call or edit without progress
  • Tightening your project instruction file based on where agents waste time
  • Letting an agent review its own recent sessions before picking up a new task
  • Sharing an org-wide view of coding agent cost and whether the work was committed

Pricing

Open source, from $12 a month

Local tool free and open source; Cloud free for 3 developers, $12/developer/month beyond that

Prices change. Check traceroost.com before you buy.

TraceRoost FAQ

Does TraceRoost send my code or prompts anywhere?

Traces stay on your machine. Only linked machines send per-trace counts, timings and hashed IDs to TraceRoost Cloud, not code, prompts or file names.

Is the local tool free?

Yes. The local TraceRoost tool is free and open source and needs no account. Cloud plans are free for up to 3 developers, with Team seats at $12.00 per developer per month beyond that.

Which agents does TraceRoost support?

Claude Code, Codex, GitHub Copilot, OpenCode, Cursor CLI and Antigravity CLI, with Antigravity support marked best effort.

How do I install TraceRoost?

Use the VS Code extension, a desktop app for macOS, Windows or Linux, or the terminal with npx traceroost or Homebrew. A background service keeps OTel data from being lost.

How do I add TraceRoost to Claude Code?

Run this command in your terminal: claude mcp add traceroost -- npx -y traceroost

What are the best alternatives to TraceRoost?

The closest alternatives to TraceRoost are Agent Observability, TokenTrace, Agent Cost MCP, Kestrel and agent-strace.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers