Symbol-level npm dependency analysis: scan verdicts, native alternatives, migration prompts.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Dep Scope.
scan_projectFull dependency scan with verdicts
analyze_packageSymbol-level breakdown of one package
get_migration_candidatesList all RECODE_NATIVE + CONSOLIDATE packages
generate_migration_promptGenerate a migration prompt inline
find_duplicatesDetect overlapping libraries
|
Florian BRUNIAUX Β· AI Founding Engineer @ MΓ©thode Aristote 13 years from developer to CTO / VP Eng Β· Blog β Β· Projects β |
Symbol-level dependency analysis + LLM-ready migration prompts for TypeScript/JavaScript projects.
"Knip tells you what's unused. dep-scope tells you how you use what you keep, and generates the prompt to remove it."
Good use cases:
Not the right tool if:
| Feature | Knip | Depcheck | Moderne | dep-scope |
|---|---|---|---|---|
| Unused detection | β Excellent | β Good | β | β οΈ Basic |
| Config file scanning | β | β | β | β |
| Symbol-level analysis | β | β | β | β |
| Native alternatives database | β | β | β (lodash) | β 195 packages |
| e18e micro-utilities coverage | β | β | β | β |
| Transitive graph analysis | β | β | β | β |
| Monorepo workspace support | β οΈ | β | β | β |
| Duplicate detection | β | β | β | β |
| LLM migration prompt | β | β | β | β |
| MCP Server (AI editors) | β | β | β | β |
| OSS / free | β | β | β enterprise | β |
Recommendation: Use Knip for unused detection, dep-scope for deeper analysis and migration. They work well together (dep-scope auto-detects Knip if installed).
CLI (global):
Without installation:
MCP Server (AI editors β no CLI needed):
Add to your editor's MCP config and the server runs on demand via npx. See the MCP Server section below for per-editor config snippets.
From source:
dep-scope initRun dep-scope init before your first scan. The wizard detects your project and generates a config in 4 questions:
Use -y to skip prompts in CI: dep-scope init --yes.
Auto-detection covers: src, app, lib, pages, components, hooks, server, scripts, tools, bin, cli. If your project has code elsewhere, pass --root to scan everything, or set srcPaths explicitly in .depscoperc.json:
False positive "unused" verdict? The package may be used in a directory outside the scan scope (
scripts/,tools/, etc.). Rundep-scope scan --rootto verify before removing anything. When a removal recommendation appears with a narrow scan scope, dep-scope will warn you.
dep-scope automatically scans config files at the project root to avoid false "unused" verdicts for packages referenced as strings β a common pattern for CLI tools, test runners, and framework plugins.
Detected automatically:
| Config file | Examples detected |
|---|---|
package.json scripts | "lint": "oxlint .", "format": "oxfmt ." |
vitest.config.* | environment: "jsdom", setupFiles: ["@testing-library/jest-dom"] |
vite.config.* | plugins: ["@vitejs/plugin-vue"] |
next.config.* | turbo.rules["*.svg"].loaders: ["@svgr/webpack"] |
.storybook/main.* | addons: ["@storybook/addon-mcp"] |
These packages will appear as INVESTIGATE (or KEEP if well-used) rather than REMOVE.
Opt-out β disable specific detectors in .depscoperc.json:
Available detector IDs: package-json-scripts, vitest-config, vite-config, next-config, storybook-config. Use "disable": "all" to turn off config scanning entirely.
Extend with custom detectors β in depscope.config.ts:
dep-scope exposes a Model Context Protocol server so AI editors (Claude Code, Cursor, Windsurf) can query your dependencies inline β no CLI, no markdown files, no copy-paste.
Listed on the official MCP Registry:
io.github.FlorianBruniaux/dep-scope
| Tool | Params | What it does |
|---|---|---|
scan_project | projectPath, srcPaths, threshold, includeDev, checkDuplicates, checkTransitive, withKnip | Full dependency scan with verdicts |
analyze_package | packageName, projectPath, srcPaths | Symbol-level breakdown of one package |
get_migration_candidates | projectPath | List all RECODE_NATIVE + CONSOLIDATE packages |
generate_migration_prompt | packageName, projectPath | Generate a migration prompt inline |
find_duplicates | projectPath | Detect overlapping libraries |
Add the following mcpServers entry to your editor's config. The server runs on demand via npx β no global install required.
Claude Code β ~/.claude.json:
Claude Desktop β ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor β ~/.cursor/mcp.json:
Windsurf β ~/.codeium/windsurf/mcp_config.json:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/dep-scope)<a href="https://allmcps.com/mcp/dep-scope"><img src="https://allmcps.com/api/badge/dep-scope?style=directory" alt="Dep Scope on AllMCPs" /></a>