Agent♥︎Age
Catalog

io.github.segentic-lab/codelens-mcp

Official

by segentic-lab · TypeScript

Deterministic code maps for AI agents: 7 tree-sitter tools for TS/JS/Py — map, find, function_body

The io.github.segentic-lab/codelens-mcp Model Context Protocol (MCP) server provides deterministic code maps for AI agents. It includes seven tree-sitter–based tools targeting TypeScript/JavaScript and Python, including map, find, and function_body.

🛠️ Key Features

  • Deterministic code mapping for AI agents
  • Tree-sitter tools for TS/JS and Python
  • Tools listed in the project excerpt include map, find, and function_body (plus related codelens tools)

🚀 Use Cases

  • Generating code structure context for AI agents
  • Locating code elements (find)
  • Extracting function bodies (function_body)

⚡ Developer Benefits

  • Deterministic mappings via tree-sitter
  • Unified tool set for code-focused context engineering

⚠️ Limitations

  • Superseded: codelens merged into lens-mcp and is not the recommended server per the excerpt

Topics

ai-agentscode-analysiscontext-engineeringmcpmcp-serverpythonstatic-analysistree-sittertypescript