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

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

What the assistant can call

Once DependencyMCP Server is connected, these are the calls the assistant has available:

  • analyze_dependencies — Analyzes dependencies in a codebase and generates a dependency graph
  • get_dependency_graph — Gets the dependency graph for a codebase in JSON or DOT format
  • get_file_metadata — The get_file_metadata tool exposed by this server
  • get_architectural_score — Scores the codebase against architectural rules and patterns

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. DependencyMCP Server's toolset — analyze_dependencies, get_dependency_graph, get_file_metadata and 1 more — is a fair guide to whether it matches your workflow. It is maintained by mkearl; worth a glance at recent repository activity before you build anything load-bearing on it.

Recorded tools

  • analyze_dependencies — Analyzes dependencies in a codebase and generates a dependency graph.
  • get_dependency_graph — Gets the dependency graph for a codebase in JSON or DOT format.
  • get_file_metadata — The get_file_metadata tool exposed by this server.
  • get_architectural_score — Scores the codebase against architectural rules and patterns.

Setup and compatibility

This listing has no verified copy-paste launch configuration. Use the project documentation to confirm the entry point, runtime and authentication before registering it in your MCP client. A package name or repository alone is not a runnable configuration.

More MCP options

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

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_metadataThe get_file_metadata tool exposed by this server.
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.