DependencyMCP Server MCP Server

A Model Context Protocol (MCP) server for analyzing code dependencies

Local serverstdioPython

What is the DependencyMCP Server MCP Server?

A Model Context Protocol (MCP) server for analyzing code dependencies

What you get

A Model Context Protocol (MCP) server that analyzes codebases to generate dependency graphs and architectural insights. This server helps understand code structure, dependencies, and architectural patterns across multiple programming languages.

  • 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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
analyze_dependenciesAnalyzes dependencies in a codebase and generates a dependency graph.
get_dependency_graphGets the dependency graph for a codebase in JSON or DOT format.
get_file_metadata
get_architectural_scoreScores the codebase against architectural rules and patterns.

Example prompts to try

  • “Use DependencyMCP Server to analyze dependencies.”
  • “Use DependencyMCP Server to get dependency graph.”
  • “Use DependencyMCP Server to get file metadata.”

Frequently asked questions

TypeScript, JavaScript, C#, Python, and more can be analyzed. Support for additional languages can be added by extending file types and regex patterns.