mcp-dep-tools
Provides tools for analyzing licenses, finding outdated packages, visualizing dependency trees, estimating bundle sizes, and auditing security vulnerabilities for npm projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-dep-toolsCheck for security vulnerabilities in my project dependencies."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-dep-tools
MCP server providing dependency and package management tools for AI agents. Analyze licenses, find outdated packages, visualize dependency trees, estimate bundle sizes, and audit security vulnerabilities — all from your AI assistant.
Tools
dep_check_licenses
Analyze licenses of all dependencies in a project. Lists each dependency's license type, flags copyleft (GPL) and unknown licenses, and checks for compatibility issues.
dep_find_outdated
Check which dependencies are outdated. Compares installed or specified versions against the latest on npm, categorizes updates as major/minor/patch, and shows how many days since the latest version was published.
dep_analyze_tree
Build and display the dependency tree. Shows direct dependencies and their transitive sub-dependencies, calculates maximum depth, detects circular dependencies, and counts total transitive packages.
dep_analyze_size
Estimate total bundle size from package.json without installing node_modules. Queries the Bundlephobia API for each production dependency to get minified and gzipped sizes.
dep_security_audit
Check dependencies for known security vulnerabilities. Runs npm audit when a lockfile is present, otherwise queries the npm registry advisory API directly. Reports severity levels, affected version ranges, and fix recommendations.
Related MCP server: @lpm-registry/mcp-server
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"dep-tools": {
"command": "node",
"args": ["path/to/mcp-dep-tools/dist/index.js"]
}
}
}All tools accept a single parameter
project_dir (string, required): Absolute path to the project directory containing a
package.json.
License
MIT
Available Tools
5 toolsdep_analyze_sizeA
Estimate total node_modules size from package.json without installing. Uses the bundlephobia API to get minified and gzipped size for each production dependency.
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project directory containing package.json |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It mentions using the bundlephobia API for minified and gzipped sizes, but does not disclose potential API limitations, internet requirement, or that it only covers production dependencies.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences, front-loaded with purpose. Every sentence adds value: first states the action, second explains the method. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the tool's purpose and method adequately, but lacks details on output format or limitations (e.g., dependency on external API). Given no output schema, this missing information reduces completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single parameter, so baseline is 3. The tool description does not add new information about the parameter beyond confirming it identifies the package.json location.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool estimates total node_modules size from package.json without installing, using an API. It distinguishes from sibling tools like dep_analyze_tree (tree analysis) and dep_security_audit (security) by focusing on size estimation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use this tool: when you want a quick size estimate without installation. However, it does not explicitly state when not to use it or directly compare to siblings, missing some guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dep_analyze_treeB
Show the dependency tree: direct deps and their transitive deps, total depth, circular dependency detection, and total transitive dependency count.
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project directory containing package.json |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It describes the output but does not disclose behavioral traits such as whether the tool modifies files, requires permissions, or has side effects. For a read-only analysis tool, this is a notable gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that efficiently lists several features. It is concise and front-loaded, though it could be broken into bullet points for better readability. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has one parameter, no output schema, and no annotations. The description covers what the tool outputs (tree, depth, circular detection, count) but lacks behavioral context, prerequisites (like project_dir must exist), or any caveats. Adequate for a simple display tool but has gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the sole parameter (project_dir). The description adds no extra semantics beyond what the schema provides (absolute path to project directory). Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool shows the dependency tree including direct deps, transitive deps, total depth, circular dependency detection, and total transitive count. This is specific and distinguishes it from sibling tools like dep_analyze_size, dep_check_licenses, etc.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for exploring the dependency tree structure but does not explicitly state when to use this tool versus alternatives or when not to use it. No exclusion criteria or prerequisites are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dep_check_licensesA
Analyze licenses of all dependencies in a package.json. Lists each dependency's license, flags copyleft (GPL) and unknown licenses, and checks compatibility.
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project directory containing package.json |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description carries the full burden. It discloses that the tool lists licenses, flags copyleft (GPL) and unknown licenses, and checks compatibility. However, it doesn't mention potential side effects (none expected) or required permissions, nor does it clarify the output format. Adequate but not exhaustive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, no unnecessary words. Each sentence adds value: the first states the core action, the second details the output. Perfectly sized for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description provides some return value detail but lacks structural specifics (e.g., format of the list). For a simple tool with one parameter, the completeness is adequate but could be improved by mentioning the output format or compatibility checking details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, and the schema already describes the single parameter (project_dir) well. The description adds no new parameter-level information beyond the tool's overall purpose. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses specific verbs ('Analyze', 'Lists', 'flags', 'checks') and clearly identifies the resource ('licenses of all dependencies in a package.json'). It distinguishes from sibling tools like dep_analyze_size (size analysis) and dep_security_audit (security), making the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives. The description does not mention context, prerequisites, or exclusions. Users are left to infer from the tool name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dep_find_outdatedB
Check which dependencies are outdated. Compares current vs latest version, categorizes as major/minor/patch update, and shows days since last publish.
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project directory containing package.json |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description reveals output specifics (major/minor/patch, days) but does not explicitly state it's read-only, requires network, or any side effects. Some transparency but incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence packed with information, no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-param tool with no output schema, description is fairly complete. Could mention registry fetch, but sufficient for core understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Only one parameter with 100% schema coverage. Description adds no additional meaning beyond the schema's description of 'project_dir'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks outdated dependencies, compares versions, categorizes updates, and shows days since last publish. It distinguishes from sibling tools like dep_security_audit, but 'check' is somewhat generic.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when or when not to use this tool versus siblings. Implicitly it's for checking outdated deps, but no explicit context or alternatives mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dep_security_auditA
Check dependencies for known security vulnerabilities. Uses npm audit when available, falls back to the npm registry advisory API. Shows severity, affected versions, and fix recommendations.
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project directory containing package.json |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the burden. It discloses that it uses npm audit with a fallback to the npm registry advisory API, and it describes the output (severity, affected versions, fix recommendations). Missing potential details like internet access requirement or prerequisites (e.g., package-lock.json), but overall good transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences: first states the core purpose, second adds method and output details. No fluff, every sentence earns its place. Well-structured and easy to read.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple tool (one required parameter, no output schema), the description is quite complete. It covers purpose, mechanism, and output. Minor omission: it could mention that a lockfile is required for npm audit to work effectively, but overall it provides sufficient context for correct usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (one parameter: project_dir). The description adds no additional meaning beyond the schema's description. Baseline of 3 is appropriate since the schema already provides sufficient semantic information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: checking dependencies for known security vulnerabilities. It specifies the method (npm audit or advisory API) and the output (severity, affected versions, fix recommendations). This distinguishes it from sibling tools like dep_analyze_size or dep_find_outdated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for security auditing but does not explicitly state when to use it versus alternatives. No 'when-not' guidance or comparison with sibling tools is provided. The context of sibling names suggests differentiation, but the description itself lacks explicit guidelines.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
5 tool updates
v1.0.0- First observed
dep_analyze_size - First observed
dep_analyze_tree - First observed
dep_check_licenses - First observed
dep_find_outdated - First observed
dep_security_audit
TDQS
Each tool clearly targets a distinct aspect of dependency management: size estimation, tree visualization, license checking, outdated detection, and security audit. There is no overlap in functionality.
All tools follow a consistent 'dep_<verb>_<object>' pattern with snake_case. The only slight deviation is 'dep_find_outdated' using 'find' instead of 'check' or 'analyze', but the pattern remains clear and predictable.
With 5 tools, the server covers the main concerns of dependency analysis (size, tree, licenses, outdated, security) without being too sparse or bloated. The count is well-scoped for the domain.
The tools provide comprehensive coverage for inspecting dependencies. Minor gaps exist, such as the absence of a tool to automatically update or fix issues, but the analysis functionality is complete for typical workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Package intelligence MCP for AI agents — 22 tools, 19 ecosystems, AGPL SDK, free.
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
The official e18e MCP server keeping your agent in check from installing bloated dependencies.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
61
Related MCP Servers
- FlicenseAqualityDmaintenancePackage intelligence MCP server. Stops AI agents from installing hallucinated/malicious packages across 17 ecosystems. 22 tools, free, no auth.221-

@lpm-registry/mcp-serverofficial
AlicenseAqualityCmaintenanceMCP server for the LPM package registry, enabling AI tools to search, browse source code, install packages, check quality, and more.1718ISC- AlicenseAqualityDmaintenanceMCP server providing npm registry search, package details, dependency auditing, bundle size estimation, and package comparison tools for AI agents.551MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides AI agents with real-time package health data, vulnerability reports, and dependency graphs from PyPI and OSV.dev.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-dep-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server