Skip to content
MCP server

CHRONOS-AGENT

Rust MCP server for AST-based symbol editing, refactoring and blast-radius checks in code

Runs locally
Install

CHRONOS-AGENT is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
1.8.1
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add chronos-agent -- docker run -i --rm ghcr.io/ptai-eng/chronos-agent:1.8.1

Add to claude_desktop_config.json

{
  "mcpServers": {
    "chronos-agent": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ptai-eng/chronos-agent:1.8.1"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "chronos-agent": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ptai-eng/chronos-agent:1.8.1"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "chronos-agent": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ptai-eng/chronos-agent:1.8.1"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "chronos-agent": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ptai-eng/chronos-agent:1.8.1"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "chronos-agent": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ptai-eng/chronos-agent:1.8.1"
      ]
    }
  }
}

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

About CHRONOS-AGENT

The README says CHRONOS-AGENT is a single Rust binary that gives MCP clients a code graph built with Tree-sitter parsing and an embedded KuzuDB database. Instead of relying on grep and line-range reads, it re-parses the target file before each symbol edit and runs a two-stage gate that checks syntax and signature changes against callers.

Refactoring is edge-verified: identifiers are classified from the AST so that real calls, tests and imports are separated from ambiguous candidate sites, and multi-file writes roll back atomically if something fails. The project states that it needs no language server daemon, though an opt-in LSP hydration mode is available in v1.8.1.

The README targets developers using coding agents such as Claude Code, Cursor, Codex or Copilot on repositories in seven language families. Write tools are disabled when the server runs with the readonly flag.

Tools this server provides (14)

Taken from the project documentation; the running server may differ.

chronos_analyze_file
Parse a source file, sync the graph, and run a review audit.
chronos_query_hotspots
Rank runtime bottlenecks, PageRank hubs and nested loop hotspots.
chronos_blast_radius
Compute blast radius, verification surfaces and co-change data.
chronos_mutation_gate
Run covering tests against mutant builds.
chronos_contract_status
Drain queued contract alerts from the pre-tool gate.
chronos_query_graph
Run read-only OpenCypher queries over the knowledge graph.
chronos_search_graph
Search symbols with BM25 tokenization and filters.
chronos_get_snippet
Read exact line ranges with callers, callees and covering tests.
chronos_get_architecture
Index the workspace and extract clusters and hotspots.
chronos_hydrate_telemetry
Load runtime metrics from profiler output files.
chronos_generate_agents_md
Generate agent instruction files for supported AI clients.
chronos_explore
Single-call context lookup with wildcards, outlines and batch queries.
chronos_edit_symbol
Fresh-parse symbol edits with syntax and signature gating.
chronos_refactor_symbol
Edge-verified rename, safe delete and usage preview.

What it does

Fresh-parse AST symbol editing
Edits re-read the file and re-parse it with Tree-sitter before replacing or inserting a symbol body.
Two-stage edit gate
A syntax check and a signature check against callers run before an edit is applied.
Edge-verified multi-file rename
Renames separate verified call and import sites from ambiguous candidates and roll back on failure.
Blast-radius analysis
Reports impact via PageRank, reverse-traversal entrypoints, and Git co-change history.
Read-only mode
A readonly flag hides mutating tools and blocks disk writes while keeping previews available.
Sandboxed script engine
Embedded Rhai scripts run with no filesystem, network or process access and an operation cap.

Good for

  • Renaming a function across a multi-file codebase without touching local variables or comments
  • Checking which callers and tests a signature change would affect before editing
  • Giving a coding agent a single-call context lookup instead of repeated grep and file reads
  • Finding runtime hotspots and nested loop depth in a project

Pricing

Open source

MIT licensed, runs locally

CHRONOS-AGENT FAQ

Does CHRONOS-AGENT require a language server running in the background?

The README says no: the default mode is zero-daemon, and language server disambiguation is opt-in.

Which languages are supported?

The README lists seven language families: TypeScript/JavaScript, Python, Rust, Go, C/C++ and Java.

How is CHRONOS-AGENT installed for MCP clients?

The README shows an npx command using @ptai-eng/chronos-mcp, prebuilt install scripts, Homebrew, and an OCI container image.

Is CHRONOS-AGENT free?

Yes. CHRONOS-AGENT is open source, so you can use and self-host it for free.

How do I add CHRONOS-AGENT to Claude Code?

Run this command in your terminal: claude mcp add chronos-agent -- docker run -i --rm ghcr.io/ptai-eng/chronos-agent:1.8.1

What are the best alternatives to CHRONOS-AGENT?

The closest alternatives to CHRONOS-AGENT are Coding Tools MCP, Lens MCP, Agentsbestfriend, Agent Lsp and Codehelper.

Where this comes from

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

How AIPoweredBot checks servers