Deterministic navigation maps over code + markdown + Prisma for AI agents: 13 MCP tools
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-segentic-lab-lens-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Deterministic navigation maps over code + markdown + Prisma for AI agents: 13 MCP tools
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / writing
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
The official MCP server implementation for the Perplexity API Platform
Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.
Dynamic problem-solving through sequential thought chains
MCP Security Weekly
Get CVE alerts and security updates for io.github.segentic-lab/lens-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Deterministic navigation maps over code AND markdown — for AI agents. One MCP server, two lenses: tree-sitter for source (TypeScript / JavaScript / Python) and a markdown lens for docs. It answers "where is X and what's the shape of this project?" in one cheap call — so an agent spends context on thinking, not on browsing files.
Speaks the Model Context Protocol; works with any MCP client — Claude Code, Cursor, Codex, or your own agent.
An agent orienting in an unfamiliar repo otherwise burns tokens ls-ing,
grep-ing, and Reading whole files to find the one function or the right
doc. lens returns the map instead of the territory:
function_body reads one function — often ~99% less context than Reading
the file it lives in.heading reads one doc section — the referenced heading and its
subsections, nothing else.map returns the whole project's surface — every code file's structure
and every doc's outline — in a single call.Every output is deterministic (real parsing, not a model summarizing), capped
with an honest truncated flag, and framed by one contract:
lens is a navigation map. Use it to locate, then Read the real source/section before judging or modifying it. A signature is not the body; an outline is not the section.
| Tool | What it does |
|---|---|
map | Whole-tree surface in one call: per code file → structure; per doc → title + outline. Both families, one response. |
info | Version, sandbox root, supported languages/extensions, tool list, every output cap, and the lens contract. |
lens_system | Install status, self-update (update.sh under the hood), and fetch the current AGENTS.md — lens's self-maintenance tool. |
.ts .tsx .mts .cts .js .jsx .mjs .cjs .py) + Prisma (.prisma)| Tool | What it does |
|---|---|
overview | One file's imports, exports, classes (+ methods), top-level functions, with line ranges. |
functions | Every function incl. nested — signatures, params/types, parent scope, kind. |
function_body | Verbatim source of ONE function — the focused read. |
comments | Comments + TODO/FIXME/BUG/HACK/… markers (markersOnly for the debt list). |
find | Locate a definition by name — functions, classes, and now const/type/enum/exports — across a directory. |
references | The inverse: who uses a symbol — call sites, imports, type-refs — tree-sitter-precise, no grep false positives. |
.md .markdown .mdx)| Tool | What it does |
|---|---|
outline | Full heading hierarchy (the TOC) with line numbers. |
heading | Read ONE section by heading text / slug / line number. |
links | Extract inline / image / wikilink / autolink / reference links. |
search | Case-insensitive full-text search across docs (heading hits ranked first). |
overview/find/map also cover Prisma schemas (schema.prisma → models, enums, fields, relations). JSON config/i18n isn't structurally mapped — lens says so honestly and points you to grep.
Call a code tool on a .md (or a doc tool on a .ts) and it fails with a
helpful pointer to the right tool — no silent confusion.
hasErrors +
parseErrors, still extracting what it can; unparseable files in map/find
appear with an inline error, never vanish.info.limits) and every cap
is reported with the true total. A context-saving tool with unbounded output
is self-refuting.info reports the root.{error, path, hint}, with isError set.One line clones, installs, and writes a ready-to-paste MCP co