Lens MCP server
Deterministic navigation maps over code + markdown + Prisma for AI agents: 13 MCP tools
1 stars
Reviews
Write oneNobody has reviewed Lens yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lens tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualityno auth information5/15
- Maintenancelast push 82 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Lens compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 57/100
- higher than 12% of 48,273 servers
- GitHub stars
- 1
- more than 65% of 28,534 servers
Install Lens in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the Lens repository's README, as published. We do not edit it. Read it on GitHub
lens-mcp
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.
Why
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:
the file it lives in.
- functionbody reads one function** — often ~99% less context than Reading
subsections, nothing else.
- heading reads one doc section — the referenced heading and its
and every doc's outline — in a single call.
- map returns the whole project's surface — every code file's structure
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.**
Tools (13)
Orientation
Code (tree-sitter — .ts .tsx .mts .cts .js .jsx .mjs .cjs .py) + Prisma (.prisma)
Docs (markdown — .md .markdown .mdx)
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.
Honest by construction
parseErrors, still extracting what it can; unparseable files in map/find appear with an inline error, never vanish.
- Never silent data loss — a file with syntax errors returns hasErrors +
is reported with the true total. A context-saving tool with unbounded output is self-refuting.
- Caps everywhere — every list is bounded (see info.limits) and every cap
readable; escaping symlinks are rejected. info reports the root.
- Path sandbox — only files under the server's working directory are
- Errors name the fix — {error, path, hint}, with isError set.
Install
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lens: common questions
- Is Lens MCP server safe?
- With care: it is graded C, so read the findings first (57/100). Read the Lens safety report
- Does Lens need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Lens maintained?
- The last commit was 119 days ago (2026-07-06). The latest release is v0.1.2.
- How does Lens compare with other MCP servers?
- safety score 57/100 (higher than 12% of 48,273 servers); github stars 1 (more than 65% of 28,534 servers). Full comparison.