This is Roslyn as an MCP server. It exposes the full .NET Compiler Platform APIs to Claude: find implementations, callers, and test coverage; inspect DI registrations and type hierarchies; run diagnostics and apply refactorings; detect dead code, async violations, and disposable misuse. You can switch between loaded solutions at runtime, decompile IL from referenced assemblies, run data flow analysis, and even generate test skeletons for uncovered methods. If you're working with a .NET codebase and need semantic understanding beyond grep, this gives Claude the same view your IDE has. Ships as a NuGet package, runs over stdio, and includes a trust model for analyzer execution.
claude mcp add --transport stdio io.github.marcelroozekrans-roslyn-codelens uvx roslyn-codelens