dependency-mcp

dependency-mcp

3.4

If you are the rightful owner of dependency-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

DependencyMCP Server is a Model Context Protocol server designed to analyze codebases, generate dependency graphs, and provide architectural insights across multiple programming languages.

DependencyMCP Server is a powerful tool for developers and architects to understand and manage the complexities of codebases. It supports multiple programming languages, including TypeScript, JavaScript, C#, and Python, allowing for comprehensive analysis of dependencies and architectural patterns. The server generates detailed dependency graphs in JSON or DOT format, which can be used to visualize and understand the relationships between different parts of the codebase. Additionally, it provides architectural analysis by inferring layers and validating them against predefined rules. The server also extracts file metadata, such as imports and exports, and evaluates the codebase using a scoring system based on architectural rules and patterns. This makes it an invaluable tool for maintaining code quality and ensuring adherence to architectural guidelines.

Features

  • Multi-Language Support: Analyzes dependencies in TypeScript, JavaScript, C#, Python, and more.
  • Dependency Graph Generation: Creates detailed dependency graphs in JSON or DOT format.
  • Architectural Analysis: Infers architectural layers and validates against rules.
  • File Metadata: Extracts imports, exports, and other metadata from source files.
  • Scoring System: Evaluates codebase against architectural rules and patterns.

Tools

  1. analyze_dependencies

    Analyzes dependencies in a codebase and generates a dependency graph.

  2. get_dependency_graph

    Gets the dependency graph for a codebase in JSON or DOT format.

  3. get_file_metadata

    Gets detailed metadata about a specific file.

  4. get_architectural_score

    Scores the codebase against architectural rules and patterns.