
ProjGraph MCP Server
io.github.HandyS11Published by GitHub account HandyS11v1.2.0Updated Oct 27, 2026
Analyze .NET solutions: Generate Mermaid graphs, ERDs, class diagrams, and project metrics.
Overview
Local MCP server that analyzes .NET solutions and generates Mermaid diagrams, ERDs, class diagrams and project metrics for an AI assistant.
- What you can do
- Generate project dependency graphs for .slnx, .sln and .csproj files, as Mermaid diagrams or ASCII trees
- Produce entity relationship diagrams from EF Core DbContext or ModelSnapshot files
- Draw class diagrams showing inheritance and dependencies for a class hierarchy
- Compute solution metrics: project counts, type breakdown, dependency depth and hotspot detection
- When to use it
- Useful when an assistant needs to reason about the architecture of a .NET codebase: mapping project dependencies, documenting database schemas, exploring class hierarchies, or getting a quick health summary of a solution.
- Requirements
- Runs locally over stdio as a .NET tool (ProjGraph.Mcp on NuGet), typically launched with dnx. Requires the .NET 10.0 SDK or later. No authentication, environment variables or headers are declared. The assistant needs access to the solution, project or source files to analyze.
Installation
In SourceWeft
- Open ProjGraph MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ProjGraph
.NET tool ecosystem for visualizing project dependencies, database schemas, and class hierarchies.
[ProjGraph.Cli NuGet] [ProjGraph.Cli Downloads] [ProjGraph.Mcp NuGet] [ProjGraph.Mcp Downloads]
ProjGraph is a .NET tool ecosystem for visualizing project dependencies, database schemas, and class hierarchies. It provides both a CLI for manual analysis and an MCP server for AI-assisted exploration of your codebase architecture.
🚀 Quick Start
CLI Tool
Install and use the command-line tool for immediate visualization:
MCP Server
Configure your MCP client (e.g., GitHub Copilot, Claude) with the following settings:
Find the latest version number on NuGet
✨ Key Features
- 📊 Multiple Output Formats: ASCII tree and Mermaid.js diagrams
- 🗄️ Entity Relationship Diagrams: Generate ERDs from EF Core
DbContextorModelSnapshotfiles - 🏗️ Class Hierarchies: Visualize class diagrams with inheritance and dependencies
- 📈 Solution Metrics: Project counts, type breakdown, dependency depth, and hotspot detection
- 📁 Modern .NET Support: Full support for
.slnx,.sln, and.csprojfiles - 🤖 AI Integration: MCP server for GitHub Copilot, Claude, and other AI assistants
- ⚡ Fast & Reliable: Efficient parsing and graph algorithms
🛠️ Development
Prerequisites
- .NET 10.0 SDK or later
Run Locally
📝 Usage Examples
Analyze Project Dependencies
Generate Database Diagrams
Visualize Class Hierarchies
Analyze Solution Metrics
With AI Assistants
Once the MCP server is configured:
🔗 Links
- CLI Package: ProjGraph.Cli on NuGet
- MCP Package: ProjGraph.Mcp on NuGet
📚 Samples & Showcase
Explore live examples of ProjGraph's capabilities in the Samples Showcase. Available samples include:
- E-commerce ERD: Complex database model with inheritance and hierarchies.
- Design Patterns: Deep class diagrams showing pattern implementation.
- Modular Architecture: Project dependency visualization for modern solutions.
- Simple Hierarchy: Easy entry-level examples for new users.
- Solution Metrics: Architectural health summary with project counts, depth, and hotspots.
📚 Documentation
- Architecture Overview - Solution structure and design decisions
- Contributing Guide - How to contribute to the project
- Security Policy - Security reporting guidelines
Source: README.md at commit ffb4bc0
Tools
0Version history
1- v1.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts