DependencyMCP Server MCP Server

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

Local serverstdioPython

What is the DependencyMCP Server MCP server?

DependencyMCP Server MCP server exists for a simple reason — assistants are far more useful when they can act on DependencyMCP Server directly instead of describing what you should do. 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.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the dependencymcp server mcp server does with a few real requests.

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.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

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.