About io.github.segentic-lab/codelens-mcp
io.github.segentic-lab/codelens-mcp is an MCP server in the Maps category: deterministic code maps for AI agents: 7 tree-sitter tools for TS/JS/Py — map, find, function_body.
Install
git clone https://github.com/segentic-lab/codelens-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (7)
commentsAll comments with line ranges, kind (`line`/`block`/`doc`), and TODO/FIXME/FIX/BUG/HACK/NOTE/XXX marker detection (uppercase-only, no prose false-positives). `markersOnly: true` returns just the debt list.
Parameters not published.
find"Where is X defined?" — locate function/method/class definitions by name across a directory. Definitions only, not call sites.
Parameters not published.
function_bodyVerbatim source of *one* function (with decorators) by bare or dotted name (`Widget.render`) — the focused read that replaces whole-file Reads. Ambiguous names fail listing the candidates; it never guesses.
Parameters not published.
functionsEvery *addressable* function in a file — nested functions, methods, getters/setters, class-field arrows, object-literal properties, default exports — with reconstructed signatures, param types, return type, `async`/`exported` flags, and `parent` scope. (Anonymous callbacks passed as arguments and Python lambdas are not listed — they have no name to navigate to.)
Parameters not published.
infoServer self-description: version, working directory (the path sandbox root), languages, caps.
Parameters not published.
mapPer-file structural overview of a whole directory tree in one call. Skips `node_modules`, `dist`, `venv`, hidden dirs, etc. The orientation tool.
Parameters not published.
overviewOne file's top-level structure: imports, exports, classes (with method names), functions — all with 1-based `line`/`endLine`.
Parameters not published.
Ask AI
Ask AI about io.github.segentic-lab/codelens-mcp
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.