
Dep Scope
io.github.FlorianBruniauxPublished by GitHub account FlorianBruniauxv0.4.2Updated Oct 25, 2026
Symbol-level npm dependency analysis: scan verdicts, native alternatives, migration prompts.
The publisher's own server: Scope (AEC) - Preview
Overview
A local MCP server that analyzes a TypeScript/JavaScript project's npm dependencies at symbol level and drafts migration prompts for an AI assistant.
- What you can do
- Scan a project and get per-dependency verdicts such as keep, remove, recode to native, or peer dependency, with options for duplicates, transitive polyfills and Knip results. Break down a single package to see which of its symbols the code actually uses. List packages that could be replaced by native APIs or consolidated. Generate a context-aware migration prompt for a chosen package. Detect overlapping or duplicate libraries.
- When to use it
- Useful when auditing a legacy or dependency-heavy TypeScript/JavaScript project, consolidating several libraries that do the same job, or preparing a refactor that an AI assistant can carry out from a generated prompt. Not aimed at simple unused-dependency detection, which the README suggests leaving to Knip.
- Requirements
- Runs locally via npx, so Node.js 18 or newer is needed, plus a TypeScript/JavaScript project with a package.json. No accounts, API keys or headers are declared. The README recommends running the init command once to create a config file before the first scan.
Installation
In SourceWeft
- Open Dep Scope in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
dep-scope
[CI] [npm version] [MCP Registry] [License: MIT] [Node.js]
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."
When to use dep-scope
Good use cases:
- Legacy project audit: Finding lodash functions that now have native equivalents
- Library consolidation: Do we really need 3 icon libraries?
- Migration: Generate a context-aware prompt and let Claude Code do the refactoring
- Curiosity: "Which symbols from this 50KB library do we actually use?"
Not the right tool if:
- You just want unused deps → use Knip instead
- Your codebase is already well-maintained → dep-scope will mostly say "KEEP"
Quick Example
How it compares
Recommendation: Use Knip for unused detection, dep-scope for deeper analysis and migration. They work well together (dep-scope auto-detects Knip if installed).
Installation
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:
Quick Start
Setup: dep-scope init
Run 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.
Getting accurate results
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.
Config file detection
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:
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:
MCP Server
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
Available tools
Setup
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:
Once connected, you can ask your AI editor to call scan_project or generate_migration_prompt directly mid-session without running any CLI command.
Documentation
- Commands reference
- Configuration
- AI prompts + Claude Code slash command
- MCP Server setup
- Programmatic API
- Architecture & internals
Requirements
- Node.js >= 18.0.0
- TypeScript/JavaScript project with
package.json
Explore the ecosystem
These projects extend the workflow without duplicating this tool:
- Automate with claude-code-plugins: add symbol-level dependency analysis to code-quality workflows.
- Learn with Claude Code Ultimate Guide: choose between CLI and MCP and frame the quality check.
Browse the complete open-source galaxy
License
MIT
Source: README.md at commit a7d5db5
Tools
0Version history
1- v0.4.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Scope integrations

Scope (AEC) - Preview
bid.scopeOfficial publisher
Preview Scope (AEC) server for checking a subcontractor procurement layer's status, listing planned categories, joining a waitlist, and rescheduling awarded…

Scope (Legal)
bid.scopeOfficial publisher
Scope (Legal) lets an AI assistant browse legal-services professionals, dispatch matters, and manage the resulting engagements through Scope.bid.

Scope (Claims) - Preview
bid.scopeOfficial publisher
Preview Scope server for claims-side professional procurement: check V2 status and categories, join a waitlist, and reschedule awarded claims projects.

MintScope — NFT collection analysis
Published by GitHub account ert1981
MintScope — NFT collection analysis's hosted MCP server; no sign-in required; Streamable HTTP; 2 tools.

FedScope MCP
Published by GitHub account CYAN-ECLIPSE-TECHNOLOGIES-LLC
FedScope MCP lets an assistant search federal and state contracting opportunities, with fit and newcomer scoring and plain-language summaries.