Understand Quickly

io.github.looptech-ai由 GitHub 账号 looptech-ai 发布v0.1.1更新于 Oct 24, 2026

Public registry of code-knowledge graphs for AI agents with schema validation and drift detection.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,开放公共代码知识图谱注册表,让助手列出仓库、查询仓库图谱并搜索概念。

可以做什么
列出注册表条目,可按格式、标签或状态筛选,并附图谱链接与同步日期。按注册表 id 或 GitHub URL 查询仓库对应的图谱,返回漂移元数据,未命中时给出模糊匹配建议。获取并解析单个条目的图谱 JSON。在注册表中搜索概念词,或在单个图谱内做节点子串匹配。
适用场景
适合让助手确认某个仓库是否已有代码知识图谱、查看图谱相对当前代码落后多少,或在公共注册表中查找概念。它只是一个轻量封装,适合探索性查询而非重度分析。
运行要求
以 npm 包形式通过 stdio 在本地运行,需要 Node 20 或更高版本。默认通过网络获取公共注册表和统计 JSON;可用环境变量 UNDERSTAND_QUICKLY_REGISTRY 和 UNDERSTAND_QUICKLY_STATS 指向本地文件或分支。无需认证。
安装前请注意
操作是只读查询,但会访问远程注册表和图谱地址,请求会发往第三方,且这两个环境变量可改变请求目标。结果按进程内存缓存 60 秒,图谱获取失败时会静默返回空结果而非报错。README 自称该服务器为 stub 质量,无认证、流式输出或排序。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Understand Quickly,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@looptech-ai/understand-quickly-mcp

A thin Model Context Protocol server that exposes the understand-quickly registry to any MCP client (Claude Desktop, Codex, Cursor, etc.).

Status: stub-quality. It works end-to-end but is intentionally minimal — no streaming, no embeddings, no auth.

What it does

It wraps the public registry.json and exposes four tools:

ToolParamsReturns
list_repos{ format?, tag?, status? }Array of { id, format, description, status, tags, last_synced, graph_url }
find_graph_for_repo{ id?, github_url? } (at least one required)Single registry entry's graph_url + drift metadata, or { found: false, suggestions: [...] } with up to 5 fuzzy-matched ids
get_graph{ id }Parsed graph JSON for that entry's graph_url
search_concepts{ query, id? }Default: aggregated concept matches from the precomputed stats.json (single GET, cached 60s). With id: substring match across one graph's nodes. Falls back to a capped cross-graph fan-out if stats.json is unreachable.

The registry response is cached in-memory for 60 seconds. stats.json uses an identical 60-second TTL cache.

find_graph_for_repo

Accepts either an id (the registry id, owner/repo) or a github_url. The URL parser tolerates:

  • https://github.com/owner/repo
  • https://github.com/owner/repo.git
  • https://github.com/owner/repo/ (trailing slash)
  • https://github.com/owner/repo/tree/main/... (branch / sub-path)
  • [email protected]:owner/repo.git

When the entry is found, the response includes last_synced, last_sha, source_sha, head_sha, commits_behind, and a pretty drift_summary (e.g. "behind by 17 commits") when those fields are present in the registry.

If the entry is not found, the response is { found: false, suggestions: [...] } with up to 5 fuzzy-matched ids (Levenshtein distance ≤ 3 against the lowercased id).

search_concepts

By default — that is, when id is not provided — search_concepts reads the precomputed stats.json aggregate (a single, cached GET) and returns matching concept terms with their entry counts and up to 3 sample registry ids. This replaces the previous behaviour, which fanned out up to 5 graph fetches at request time.

When id is provided, it falls back to the legacy single-graph node search (substring match against id / label / name). When stats.json is unavailable (404 or schema mismatch), it falls back to the capped cross-graph fan-out for backward compatibility.

The source field on the response indicates which mode served the request: "stats", "graph", or "fanout".

Install

bash
cd mcpnpm installnpm run build   # compiles TypeScript -> dist/npm test        # runs node:test across registry/cache and tool logic

Node 20+ is required (uses the global fetch).

Run locally

For development:

bash
npm run dev

For a built binary:

bash
npm start

The server speaks stdio JSON-RPC. It will not respond to keystrokes — point an MCP client at it.

Register with Claude Desktop

Add the following to Claude Desktop's claude_desktop_config.json (the path is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{  "mcpServers": {    "understand-quickly": {      "command": "npx",      "args": [        "tsx",        "/absolute/path/to/understand-quickly/mcp/src/index.ts"      ],      "env": {        "UNDERSTAND_QUICKLY_REGISTRY": "https://looptech-ai.github.io/understand-quickly/registry.json"      }    }  }}

Replace /absolute/path/to/... with the actual path to your checkout. Restart Claude Desktop after saving.

If you would rather run the compiled output, swap to:

json
{  "mcpServers": {    "understand-quickly": {      "command": "node",      "args": ["/absolute/path/to/understand-quickly/mcp/dist/index.js"]    }  }}

Environment variables

VariableDefaultPurpose
UNDERSTAND_QUICKLY_REGISTRYhttps://looptech-ai.github.io/understand-quickly/registry.jsonOverride the registry source (e.g. point at a local file or a fork).
UNDERSTAND_QUICKLY_STATShttps://looptech-ai.github.io/understand-quickly/stats.jsonOverride the precomputed stats source consumed by search_concepts.

Current limitations

  • In-memory cache only. Every server process refetches once a minute. No cross-process or on-disk cache.
  • Cross-graph fan-out is only a fallback. When search_concepts falls back (no stats.json), it scans only the first 5 status: ok entries sequentially.
  • Substring search is dumb. No fuzzy matching, no ranking, no embeddings.
  • No streaming or progress reporting. Tools block until the upstream responds.
  • Best-effort node enumeration. The single-graph fallback assumes the graph has a nodes / entities / concepts / items array; otherwise it walks top-level array values.
  • No retries or backoff on upstream graph_url fetch failures — failed fetches return an empty result for that entry instead of erroring out.

These are all acceptable for an MVP. If you need more, open an issue.

来源:mcp/README.md,提交 f856ff2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分