原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Lens MCP

作者:segentic-lab版本 0.1.2i★ –i–
注册名称io.github.segentic-lab/lens-mcp

安装

概览

作者提供的说明(英文原文)

Deterministic navigation maps over code + markdown + Prisma for AI agents: 13 MCP tools

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: –
  • 传输方式:
  • 分类: 旅行、地图与天气

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

作者没有在注册中心列出安装信息。请查看下方作者的 README。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 segentic-lab 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“旅行、地图与天气”中的其他服务器比较i

  • 星标数多于此分类中其他 1720 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1720 个服务器的 15% 更新
  • 基础检查结果等于或优于此分类中其他 1720 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Lens MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。

有什么可以替代它?

同一分类中有:Dojazdomat, topo^alpin, CarHauler247 Car Shipping Quotes

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Dojazdomat

Warsaw commute by transit, bike, walk or car plus rent medians: rank, compare, trend areas.

作者:MikolajSapek起步阶段今天更新

在云端运行

topo^alpin

Avalanche bulletins, mountain weather, stations, huts, ski and snowshoe tours in the Alps.

作者:topoalpin.app起步阶段今天更新

在云端运行✓ topoalpin.app

CarHauler247 Car Shipping Quotes

Car shipping prices between US locations from a licensed auto transport broker, with a booking link.

作者:carhauler247.com非常新今天更新

在云端运行✓ carhauler247.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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:

  • `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.**

Tools (13)

Orientation
ToolWhat it does
mapWhole-tree surface in one call: per code file → structure; per doc → title + outline. Both families, one response.
infoVersion, sandbox root, supported languages/extensions, tool list, every output cap, and the lens contract.
lens_systemInstall status, self-update (update.sh under the hood), and fetch the current AGENTS.md — lens's self-maintenance tool.
Code (tree-sitter — .ts .tsx .mts .cts .js .jsx .mjs .cjs .py) + Prisma (.prisma)
ToolWhat it does
overviewOne file's imports, exports, classes (+ methods), top-level functions, with line ranges.
functionsEvery function incl. nested — signatures, params/types, parent scope, kind.
function_bodyVerbatim source of ONE function — the focused read.
commentsComments + TODO/FIXME/BUG/HACK/… markers (markersOnly for the debt list).
findLocate a definition by name — functions, classes, and now const/type/enum/exports — across a directory.
referencesThe inverse: who uses a symbol — call sites, imports, type-refs — tree-sitter-precise, no grep false positives.
Docs (markdown — .md .markdown .mdx)
ToolWhat it does
outlineFull heading hierarchy (the TOC) with line numbers.
headingRead ONE section by heading text / slug / line number.
linksExtract inline / image / wikilink / autolink / reference links.
searchCase-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.

Honest by construction

  • Never silent data loss — a file with syntax errors returns hasErrors + parseErrors, still extracting what it can; unparseable files in map/find appear with an inline error, never vanish.
  • Caps everywhere — every list is bounded (see info.limits) and every cap is reported with the true total. A context-saving tool with unbounded output is self-refuting.
  • Path sandbox — only files under the server's working directory are readable; escaping symlinks are rejected. info reports the root.
  • Errors name the fix — {error, path, hint}, with isError set.

Install

One line clones, installs, and writes a ready-to-paste MCP config with this install's absolute path:

git clone https://github.com/segentic-lab/lens-mcp && cd lens-mcp && ./install.sh

No system packages and no native build — tree-sitter runs as WebAssembly, so it works anywhere Node 18+ runs (Linux, macOS, Windows via WSL/Git Bash). The installer checks Node, runs npm ci, builds (tsc → dist/), self-tests the full suite (143 tests), and generates mcp-config.json.

Register it with your client — the generated mcp-config.json looks like:

{

"mcpServers": { "lens": { "command": "node", "args": ["/abs/path/lens-mcp/dist/index.js"] } } }

  • Claude Code: claude mcp add lens -- node /abs/path/lens-mcp/dist/index.js (or copy mcp-config.json into a project as .mcp.json)
  • Cursor / Windsurf: merge mcp-config.json into ~/.cursor/mcp.json
  • Codex CLI: add [mcp_servers.lens] with the same command/args to ~/.codex/config.toml

lens reads files under its working directory — the project your client launches it in. Point it at a project and call map("."). Nothing outside the working directory is readable.

Update later, in place:

./update.sh          # git pull --ff-only + reinstall + self-test

Prefer to do it by hand? npm install && npm run build && npm test, then run node dist/index.js.

Lineage

lens-mcp supersedes the earlier split servers codelens-mcp (code) and docslens-mcp (docs) — same engines, one server, one pipeline. Sibling of periscope-mcp (web-app QA); built to the same standard: honest errors, caps + truncated flags everywhere, docs == behavior, tests before release.

Built by [Segentic Lab](https://lab.segentic.dev). AGPL-3.0.

问 PopNx