codelens-mcp 1.9.9

Pure Rust MCP server for code intelligence — 101 tools (+6 semantic), 25 languages, tree-sitter-first, 50-87% fewer tokens
codelens-mcp-1.9.9 is not a library.

codelens-mcp

MCP server binary for CodeLens — compressed context and verification tools for AI coding agents.

Built on codelens-engine. Exposes 101 tools via JSON-RPC (stdio) or HTTP, with role-based tool surfaces and adaptive token compression.

Quick Start

# Install
cargo install codelens-mcp

# Run (stdio mode for MCP clients)
codelens-mcp

# Or with HTTP transport
codelens-mcp --http 8080

Claude Code / Cursor

{
  "mcpServers": {
    "codelens": {
      "command": "codelens-mcp",
      "args": []
    }
  }
}

Features

  • 101 tools with preset-based surfaces (Full/Balanced/Minimal)
  • Workflow toolsanalyze_change_request, impact_report, safe_rename_report
  • Adaptive compression — 5-stage token budget management
  • Analysis jobs — async durable handles for heavy analyses
  • Mutation gate — preflight verification before code changes
  • 25 languages via tree-sitter

Feature Flags

Feature Default Description
semantic yes Embedding-based semantic search
http no HTTP/SSE transport via axum

License

Apache-2.0