Skip to main content
Glama
mcp-dep-tools

mcp-dep-tools

by rog0x

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 build

Usage 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 tools
dep_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.

Inputs: project_dir (required).

dep_analyze_treeB

Show the dependency tree: direct deps and their transitive deps, total depth, circular dependency detection, and total transitive dependency count.

Inputs: project_dir (required).

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.

Inputs: project_dir (required).

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.

Inputs: project_dir (required).

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.

Inputs: project_dir (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers