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

DevLens

作者:devlensio版本 0.7.2i★ –i在你的电脑上运行
注册名称io.github.devlensio/devlens

安装

概览

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

Query a precomputed code graph (nodes, edges, summaries) of TS/JS/React/Next.js/Node repos via MCP.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

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

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "devlens": {
      "command": "npx",
      "args": [
        "-y",
        "@devlensio/cli",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add devlens -- npx -y @devlensio/cli mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "devlens": {
      "command": "npx",
      "args": [
        "-y",
        "@devlensio/cli",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "devlens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@devlensio/cli",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

DevLens 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.7.2)于9天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT3天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT15天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

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

DevLens

Codebase Intelligence for AI agents and Developers.

Analyze your repo once. Your AI agent then queries a precomputed code graph through MCP — ranked files, call flow, impact, and security — instead of re-reading your codebase file by file. Five self-describing MCP tools, plain-text packets measured at a third of the tokens of reading the code, and the smallest response in its benchmark field.

[Join the DevLens Cloud Waitlist →](https://devlens.io)


Click the image to watch the demo


Why DevLens?

  • Your agent stops burning tokens. One MCP call returns a task-shaped packet — the files and symbols that matter, ranked, within a token budget. No grep loops, no re-reading files.
  • It wins the benchmark. First of nine tools on correctness, F1, recall, and precision — the only tool that leads every quality column.
  • It is fast and small. 67 ms per call, packets 6.7× smaller than the closest graph competitor, and it never exceeds the token budget you set.
  • Developers get it too. Interactive graph visualization, blast radius before you change a symbol, PR review packets, and per-node security analysis.

Benchmarks

We benchmarked DevLens MCP against the other code graph and retrieval tools — Graphify, codegraph, semble, bm25 — on one headless coding agent, one model, one real TypeScript repository, and 133 real questions written from actual pull requests and symbols:

DevLens V3 (5 tools)Graphifycodegraphsemblebm25
Correctness (agent loop, same run)0.6430.6190.6670.7140.667
F1 (agent loop, same run)0.5290.5260.6040.6360.581
Correctness (retrieval layer)0.6940.6620.6740.6520.664
Response packet2,230 tokens15,020 tokens6,339 tokens736 tokens721 tokens
Latency per call67 ms2,469 ms2,736 ms508 ms108 ms

Head-to-head against Graphify — the most direct competitor (tree-sitter graph, MCP server) — DevLens wins on every axis: correctness in the agent loop (0.643 vs 0.619, same run) and in the retrieval layer (0.694 vs 0.662, paired 15 wins to 9 losses on identical questions), a 6.7× smaller packet (2,230 vs 15,020 tokens, smaller on all 54 of 54 comparable questions), and ~37× faster per call (67 ms vs 2,469 ms). Graphify's graph is also 64% larger with 3.6× the edges (16,999 nodes / 71,694 edges vs 10,346 / 19,847) for the lower quality.

The pattern behind the numbers: syntactic tools return big blobs or bare line lists. DevLens returns a task-shaped packet from a type-resolved graph — the files that matter, ranked, within your token budget, in milliseconds.

Full methodology, per-type tables, and the nine-tool round: docs/PUBLIC-BENCHMARKS.md


How DevLens compares

DevLens is the only tool in this space that combines native semantic parsing, per-node AI summaries with per-node security analysis, and framework-aware data edges — and the only option you can use commercially under AGPL.

DimensionDevLensGraphifyGitNexusSourcegraphDeepWiki
Parsing depthNative semantic parsers (TS compiler, Python ast, go/types, JavaParser, syn), type-resolvedtree-sitter (syntactic, no type info)tree-sitter + native bindings (no type info)SCIP/LSIF symbol index + language servers (no semantic parse)LLM reads source directly (no structured parser)
Edge qualityType-checked `IMPLEMENTS`/`EXTENDS`, framework routes (Next.js, Django, Spring, Gin, axum), ORM data edges (READS_FROM/WRITES_TO)EXTRACTED/INFERRED/AMBIGUOUS tags, no type or framework awarenesscall chains, clusters, route_map, no ORM or data edgesprecise symbol cross-references (SCIP), no type-checked inheritancedocs-level relationships (no structured graph)
Per-node AI summariesTechnical + business + security with severity on every nodeNo (LLM used for docs and concepts)No (embeddings for semantic query)Via Cody (hover and inline docs, chat-level)Auto-generated docs per symbol (no security, no technical/business split)
Security analysisPer-node severity + blast-radius reach with real exploit descriptionsNoPartial (opt-in PDG/taint)No (compliance certifications only)No
Agent / MCP integrationCLI + self-describing MCP server + Web UICLI + local skill (no MCP)CLI + 17-tool MCP + hooks (AGENTS.md)MCP server (cross-repo search, not per-repo graph queries)Unknown (no public MCP integration)
Language coverageTS/JS, Python, Java, Go, Rust with native parsers for each12 code families + docs/images (shallow syntactic)Many via tree-sitter (Dart/Kotlin/Swift), shallow syntactic30+ via language servers (symbol-level, no semantic edges)Any (LLM reads source, no structured extraction)
License / pricingAGPL-3.0, free, including commercial useApache-2.0PolyForm Noncommercial (cannot use commercially)Open-source core, Enterprise paidFree for public repos, enterprise tiers unlisted

*(Feature comparison from public sources, Aug 2026.)*

Why teams choose DevLens: semantic edges that syntactic tools cannot produce, per-node security analysis no other open-source tool provides, benchmark-winning retrieval quality, and a single MCP front door — free for commercial use.


Quick Start

Step 1 — Install the CLI
npm install -g @devlensio/cli

Or install the standalone binary (no Node.js needed):

# Linux / macOS

curl -fsSL https://raw.githubusercontent.com/devlensio/devlensOSS/main/scripts/install.sh | sh

Windows (PowerShell)

irm https://raw.githubusercontent.com/devlensio/devlensOSS/main/scripts/install.ps1 | iex

Step 2 — Configure a model (optional)

Only needed if you want AI summaries. Structure-only analysis works offline with no API key.

devlens init

This walks you through picking a provider, API type, key, endpoint, and model interactively — press ESC at any step to go back a stage. See Configuration for recommended models.

Step 3 — Analyze your repo
cd your-project

devlens analyze . --summarize

This builds the graph, generates summaries, and creates the search index — once. After this, everything below is instant.

Step 4 — Connect your AI agent

Start the MCP server:

devlens mcp

Then register it in your agent. Pick your tool:

Claude Code / Claude Desktop

claude mcp add devlens -- devlens mcp

Cursor — add to .cursor/mcp.json:

{

"mcpServers": { "devlens": { "command": "devlens", "args": ["mcp"] } } }

Codex — add to ~/.codex/config.toml:

[mcp_servers.devlens]

command = "devlens" args = ["mcp"]

Hermes — add to config.yaml:

mcp:

servers: devlens: command: devlens args: [mcp]

Any other MCP client — the server speaks standard MCP over stdio. Point your client at the command devlens mcp. For an HTTP transport instead:

devlens mcp http -p 7000

The server self-describes its full tool list through tools/list, so your agent discovers everything on its own. That's it — ask your agent "how does auth work in this repo?" and watch it query the graph instead of reading files.


What your agent can ask

The server self-describes every tool's parameters through tools/list — your agent fills them in automatically. Five tools, no `graphId` anywhere — the repo is resolved from your working folder.

ToolKey argumentsWhat it does
resolve_contexttask (required), intent?, focus?, tokenBudget?The front door. One call returns a task-shaped plain-text packet: an ANSWER line, ranked nodes with one-line meanings, call flow, involved files with matched-line snippets, and an id map — all within a token budget. Intents: pinpoint, reference-list, flow, overview, concept, security-audit, exploratory.
find_symbolsquery (required), limit?Cheap BM25F name lookup: nodeIds plus file:line, no graph, no source.
get_nodenode (required), include?Full detail for one node: technical, business, and security summaries plus callers, callees, and (opt-in) raw source.
impacttarget? or from+to commitsChange impact: what breaks if a symbol changes; commit-range diff mode for two analyzed commits.
repoactionManage analyzed graphs: list, analyze, freshness, health.

Every response carries a provenance block (commitHash, analyzedAt, hasGit), so your agent always knows which snapshot answered the question.

Full reference: docs/mcp-reference.md


Supported languages

DevLens parses five language families with native parsers (no AI, no regex, no tree-sitter) and understands their frameworks. Summaries are never generated silently: you confirm before tokens are spent, and structure-only analysis needs no provider at all.

LanguageFrameworks / stacks the graph understandsWhat gets parsed
TypeScript / JavaScriptReact, Next.js (app and pages router), Express/Hono/Fastify, React Router, TanStack Router, any Nodecomponents, hooks, state stores, classes, methods, functions, routes
PythonFastAPI, Flask, Django (+DRF), SQLAlchemy / Django ORM, Celery, Pydanticclasses, methods, functions, routes, data models
JavaSpring Boot (controllers, JPA, Spring Data repositories)classes, methods, interfaces, enums, routes
Gonet/http, Gin, Echo, chi, Fiber, GORM, database/sqlstructs, interfaces, methods, functions, routes
Rustaxum, actix-web, rocket, utoipa, Dieselstructs, enums, traits, impl blocks, methods, functions, routes

Each repo is analyzed with its language's own parser (Python ast, JavaParser, Go go/ast plus go/types, Rust syn, TS compiler API), so edges are real: type-checked interfaces (IMPLEMENTS), framework routes (HANDLES), and ORM data layers (READS_FROM, WRITES_TO).


For developers: the Web UI

*For when you want to see your codebase laid out as an interactive graph.*

Open the Web UI, paste your repo path, and explore a force-directed canvas. Click any node to see its summaries, callers, callees, and security flags. Search, filter, and diff commits across versions. The Project panel shows search index readiness with a one-click reindex action.

bun start   # from the source repo: API + Web UI on one port (http://localhost:3000)

The Web UI runs from the source tree, it is not bundled into the installed CLI binary.


CLI

*For scripts, CI, and fast answers without leaving the terminal. Every command supports --json for piping into scripts, -v/--verbose for diagnostics, and --quiet for minimal output.*

Analyze and summarize

CommandWhat it does
devlens detect [path] [--deps]Inspect a repo before analyzing: language, manifest, dependency count, source files

| devlens analyze [path] [--summarize] [--force-summarize] | Build the graph and its search index (optionally add AI sum

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx