Scopewalker MCP server
io.github.timohaa/scopewalker-mcp·v1.4.2·1 starsCodebase analysis tools for AI agents: complexity, prop drilling, doc coverage, code smells.
not scanned yet
1 stars280 downloads/wk
Reviews
Write oneNobody has reviewed Scopewalker yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Scopewalker tools
No tool declarations could be read from the package source. They show once the server is installed.
How Scopewalker compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 280
- more than 80% of 12,191 servers with a package
Release history: 5 versions in the registry since 2026-09-15, latest 2026-10-29, typically one every 14 days.
Install Scopewalker in Claude Code, Cursor or VS Code
Runs npx -y scopewalker-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add scopewalker-mcp -- npx -y scopewalker-mcp
What the publisher says
From the Scopewalker repository's README, as published. We do not edit it. Read it on GitHub
Scopewalker MCP
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:
- getlinecounts - per-file line counts (total, code, blank, comment) with sorting, extension filters, and project-wide totals
- getfunctions - function and method detection; per-file counts, or per-function line metrics via detail=lines with a minlines filter for hunting oversized functions
- getcomplexitymetrics - 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 functions
- check_thresholds - flags files and functions exceeding size thresholds (defaults: 300 lines per file, 100 per function)
- getcodeinventory - classes with their methods, functions, interfaces/types, enums, and constants, each marked exported or not; private symbols hidden by default
- getdocumentationcoverage - coverage percentage plus every function, class, or method missing a doc comment (JSDoc, Python docstrings, Rust ///, and other per-language formats)
- getcodesmells - 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 TypeScript
- getpropdrilling - parameter names threaded through many functions and files, with forwarding evidence and a high/medium/low risk rating
- finddeadcode - unreferenced top-level symbols and private methods, split into certain deadcode and human-judgment unreferencedexports
It'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.
Safety Defaults
- No network access: All analysis runs locally over stdio: no data leaves your machine, no API keys or external services involved.
- Path scoping: All tools only operate inside allowed roots (defaults: current working directory and system temp). Override with SCOPEWALKERALLOWEDROOTS=/abs/path1,/abs/path2.
- Large file guard: AST-based tools skip files larger than 1 MB to avoid excessive memory/CPU use. Tokei-based line counts do not enforce this limit.
- Input ceilings: maxfiles caps at 10000, maxdepth at 64, limit at 5000.
- Symlinks: Directory scans do not follow symbolic links.
- Output limits: Tools default to returning 20 files/items unless limit is set.
- Comment redaction: getcodesmells redacts comment text by default; pass include_text: true to return snippets explicitly.
Requirements
- Node.js 22+
- tokei - Install via brew install tokei or cargo install tokei
Installation
Scopewalker 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.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Scopewalker: common questions
- Is Scopewalker MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Scopewalker safety report
- How do I install Scopewalker?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Scopewalker need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Scopewalker maintained?
- The last commit was 40 days ago (2026-09-25). The latest release is v1.4.2.
- What can I use instead of Scopewalker?
- Servers from other publishers that do the same job: pyscn MCP server.
- How does Scopewalker compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 280 (more than 80% of 12,191 servers with a package). Full comparison.
Alternatives to Scopewalker
Same job from other publishers: the closest match first, then the best rated.
- pyscnPython code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.not reviewedEstablishedA