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

Sourcebook

作者:maroondlabs版本 0.9.5i★ –i–
注册名称io.github.maroondlabs/sourcebook

安装

概览

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

Live codebase intelligence for AI agents: conventions, blast radius, import graphs, git insights.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: –
  • 传输方式:
  • 分类: 开发者工具

安装

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

安装之前

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Sourcebook 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有: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、图片和脚本已被移除。链接会离开本站。

sourcebook

Catches the files your AI agent forgot to change.

A safety layer for code changes. sourcebook analyzes git diffs for completeness — flags files that should've been modified but weren't. Rules-based structural detection plus AI-powered semantic analysis. Zero false positives on clean diffs.

npx sourcebook init          # sets up Claude Code hooks + generates CLAUDE.md

npx sourcebook check # check your current diff for missing files npx sourcebook scan-history # see what you've been missing

What It Catches

Your AI agent changed the handler. Did it update the test? The sibling module? The config that references the old value?

sourcebook checks your diff against the repo's actual structure:

  • Missing test files — source file changed, test file didn't
  • Sibling modules — files that import or are imported by what you changed
  • Co-change companions — files that historically change together in git commits
  • Hub file blast radius — you touched something with 50+ dependents

With --ai: cross-module semantic relationships, field renames that need migrations, stale validation logic.

Key Stats

MetricResult
Completeness gate100% accurate (30/30 diffs)
False positive rate0% on clean diffs
Test file detection73%
Sibling detection71%
AI analysis cost~$0.012/run

Four Surfaces

1. CLI

Run it on any diff. No setup required.

npx sourcebook check              # check staged/unstaged changes

npx sourcebook check --ai # add AI semantic analysis (requires ANTHROPIC_API_KEY) npx sourcebook check --quiet # exit code only (for CI/scripts) npx sourcebook check --branch main # compare vs a branch

2. Claude Code Hooks

One command wires up pre-commit hooks. Agent edits a file, sourcebook checks the diff, agent sees what's missing — all before the commit lands.

npx sourcebook init   # generates CLAUDE.md + installs hooks
3. MCP Server

Published on the official MCP registry. Agents can query repo structure, blast radius, conventions, and co-change data on demand.

npx sourcebook serve

Add to your MCP client:

{

"mcpServers": { "sourcebook": { "command": "npx", "args": ["-y", "sourcebook", "serve", "--dir", "/path/to/your/project"] } } }

4. GitHub App (coming soon)

Automated completeness checks on every pull request. Join the waitlist.

Commands

CommandDescription
sourcebook checkAnalyze current diff for completeness
sourcebook check --aiAdd AI-powered semantic analysis (requires ANTHROPIC_API_KEY)
sourcebook check --quietExit code only — 1 if findings, 0 if clean
sourcebook check --jsonStructured JSON output
sourcebook check --branch mainCompare HEAD against a branch
sourcebook check --threshold 0.9Custom co-change coupling threshold (0-1)
sourcebook initSet up Claude Code hooks + generate CLAUDE.md/AGENTS.md
sourcebook scan-historyRetrospective scan of recent commits
sourcebook hooksInstall or check Claude Code hooks
sourcebook truthGenerate a Repo Truth Map (2.5D visualization)
sourcebook serveStart MCP server
sourcebook updateRe-analyze while preserving manual edits
sourcebook diffShow what would change (exit code 1 if changes found)
sourcebook watchAuto-regenerate context files on source changes
sourcebook ask Query codebase knowledge in natural language

How It Works

Layer A — Rules-based (no LLM, <1 second)
  1. Co-change analysis — mines git history for files that change together. If you touched auth.ts and it changes with session.ts in 88% of commits, sourcebook flags session.ts.
  2. Test file detection — maps source files to test files via naming conventions and co-change history.
  3. Import graph — builds a dependency graph and checks whether files that import (or are imported by) your changed files also need updates.
  4. Hub detection — flags when you've modified a file with high fan-in (many dependents). These changes have blast radius.
Layer B — AI-powered (~$0.012/run)

Sends the diff plus dependency context to Claude Sonnet. Catches semantic relationships Layer A can't see — field renames that need migrations, validation logic that assumes old schemas, cross-module dependencies with no import link.

Every AI suggestion requires a dependency citation. Hallucinated file paths are filtered out. The completeness gate ensures zero false positives: if the diff is actually complete, Layer B stays silent.

Configuration

# Required for --ai flag only

export ANTHROPIC_API_KEY=sk-ant-...

No other configuration needed. sourcebook reads your repo's git history and file structure directly.

Language Support

LanguageImport GraphGit AnalysisConvention Detection
TypeScript / JavaScriptFullFullFull
PythonFullFullFull
GoFullFullFull
RustFullFullPartial

Research

Built on real benchmarks, not vibes:

License

BSL-1.1 — source-available, free to use, cannot be offered as a hosted service. Converts to MIT on 2030-03-25. See LICENSE for details.


sourcebook.run · GitHub · npm · @maroond_

问 PopNx