GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Codebase analysis tools for AI agents: complexity, prop drilling, doc coverage, code smells.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SCOPEWALKER_ALLOWED_ROOTS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"scopewalker": {
"command": "npx",
"args": [
"-y",
"scopewalker-mcp"
],
"env": {
"SCOPEWALKER_ALLOWED_ROOTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add scopewalker --env SCOPEWALKER_ALLOWED_ROOTS=your-value -- npx -y scopewalker-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"scopewalker": {
"command": "npx",
"args": [
"-y",
"scopewalker-mcp"
],
"env": {
"SCOPEWALKER_ALLOWED_ROOTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"scopewalker": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"scopewalker-mcp"
],
"env": {
"SCOPEWALKER_ALLOWED_ROOTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SCOPEWALKER_ALLOWED_ROOTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 timohaa 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.2)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AI agents will happily create 1000+ line source files and add a 20th parameter to a function call, even if there's a rule file telling them not to. Scopewalker exists to enforce stricter codebase standards.
It's a local MCP server (open source, runs over stdio, makes no network calls) that exposes 9 read-only tools:
get_line_counts - per-file line counts (total, code, blank, comment) with sorting, extension filters, and project-wide totalsget_functions - function and method detection; per-file counts, or per-function line metrics via detail=lines with a min_lines filter for hunting oversized functionsget_complexity_metrics - max/average nesting depth and parameter counts (JSX props included), import counts, a per-file cognitive-complexity score, and per-function cyclomatic complexity with high/extreme severity bands, plus hotspots flagged for deeply nested or over-parameterized functionscheck_thresholds - flags files and functions exceeding size thresholds (defaults: 300 lines per file, 100 per function)get_code_inventory - classes with their methods, functions, interfaces/types, enums, and constants, each marked exported or not; private symbols hidden by defaultget_documentation_coverage - coverage percentage plus every function, class, or method missing a doc comment (JSDoc, Python docstrings, Rust ///, and other per-language formats)get_code_smells - TODO/FIXME/HACK/XXX/BUG/UNUSED/DEPRECATED markers found by scanning actual comments via the AST (no false positives from string literals), plus as unknown as / as any as double casts in TypeScriptget_prop_drilling - parameter names threaded through many functions and files, with forwarding evidence and a high/medium/low risk ratingfind_dead_code - unreferenced top-level symbols and private methods, split into certain dead_code and human-judgment unreferenced_exportsIt's tree-sitter (parsing) + tokei (line counting) + fast-glob (file discovery) under the hood; nothing is custom-parsed. Tested on macOS with Claude Code, but should work with Cursor, VS Code, Windsurf, Antigravity CLI, Codex, or anything else that speaks MCP.
See TOOLS.md for the quick reference, docs/ for per-tool parameters and example responses, and docs/usage-examples.md for a guide to wiring Scopewalker into skills, subagents, and AGENTS.md.
SCOPEWALKER_ALLOWED_ROOTS=/abs/path1,/abs/path2 takes precedence when set. Otherwise the server uses the workspace roots your MCP client shares, and falls back to the current working directory and system temp when the client shares none.max_files caps at 10000, max_depth at 64, limit at 5000.limit is set.get_code_smells redacts comment text by default; pass include_text: true to return snippets explicitly.brew install tokei or cargo install tokeiScopewalker is published to npm as scopewalker-mcp; no clone or build needed. Configure your MCP client to run it via npx (examples below), or install it globally with npm install -g scopewalker-mcp.
To build from source instead, see Development.
claude mcp add --scope user scopewalker-mcp -- npx -y scopewalker-mcp
Or add to ~/.claude.json:
{
"mcpServers": { "scopewalker-mcp": { "command": "npx", "args": ["-y", "scopewalker-mcp"] } } }
See Claude Code MCP documentation for details.
Download scopewalker-mcp.mcpb from the latest release and open it with Claude Desktop (or drag it into Settings > Extensions) for one-click installation.
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": { "scopewalker-mcp": { "command": "npx", "args": ["-y", "scopewalker-mcp"] } } }
Or configure via File > Preferences > Cursor Settings > MCP.
See Cursor MCP documentation for details.
Add to .vscode/mcp.json in your workspace:
{
"servers": { "scopewalker-mcp": { "command": "npx", "args": ["-y", "scopewalker-mcp"] } } }
Requires VS Code 1.102+ with Agent Mode enabled.
See VS Code MCP documentation for details.
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "scopewalker-mcp": { "command": "npx", "args": ["-y", "scopewalker-mcp"] } } }
Or configure via Windsurf Settings > Cascade > Manage MCPs.
See Windsurf MCP documentation for details.
Add to ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (per project):
{
"mcpServers": { "scopewalker-mcp": { "command": "npx", "args": ["-y", "scopewalker-mcp"] } } }
Use /mcp inside the prompt panel to check server status and reload the config.
See Antigravity CLI MCP documentation for details.
For Gemini CLI, add the same mcpServers configuration to ~/.gemini/settings.json. See Gemini CLI MCP documentation.
Add to ~/.codex/config.toml:
[mcp_servers.scopewalker-mcp]
command = "npx" args = ["-y", "scopewalker-mcp"]
Or use the CLI:
codex mcp add scopewalker-mcp -- npx -y scopewalker-mcp
See Codex MCP documentation for details.
Once configured, the assistant calls Scopewalker's tools on its own; no special syntax needed. Ask things like:
src/ have the highest cognitive complexity?"src/auth"It picks the right tool and parameters for the request.
This repo enforces shared quality requirements through its skills and agents:
.claude/skills/review-changes/SKILL.md: fails reviews on unresolved size, complexity, smell, prop-drilling, or dead-code findings.claude/agents/standards-enforcer.md: fixes actionable findings and verifies them with rescans and tests.claude/skills/polish/SKILL.md: carries unresolved findings through the pipeline and verifies the final state.claude/agents/docs-reality-sync.md: uses get_code_inventory and get_functions to keep docs in sync with codeTo run from source instead of npm:
git clone https://github.com/timohaa/scopewalker-mcp.git
cd scopewalker-mcp npm install npm run build
Then point your MCP client at the build output, e.g. claude mcp add --scope user scopewalker-mcp -- node /path/to/scopewalker-mcp/dist/index.js.
npm run build # Build the project
npm run check # Version sync + lint + typecheck npm run test # Run tests npm run test:coverage # Run tests with coverage
See CONTRIBUTING.md for contribution guidelines and docs/patterns.md for tool registration, error handling, and testing patterns.
The AST-based tools (everything except get_line_counts) parse:
.ts, .tsx, .js, .jsx, .mjs, .cjs).py).go).rs).java).c, .h, .cpp, .cc, .cxx, .hpp).rb)get_line_counts runs through tokei, so it reports on every language tokei recognizes. See docs/tools-overview.md for what is detected per language.
MIT