LocalFree

Roslyn CodeLens MCP server

MarcelRoozekrans/roslyn-codelens-mcp

Roslyn-based .NET code intelligence: type hierarchies, call graphs, DI registrations, diagnostics, code fixes and complexity metrics from pre-built indexes.

70 GitHub stars17 forks380 npm downloads / month

Install Roslyn CodeLens in Claude Code

Claude Code
claude mcp add roslyn-codelens -- npx -y roslyn-codelens-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "roslyn-codelens": {
      "command": "npx",
      "args": [
        "-y",
        "roslyn-codelens-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Roslyn CodeLens MCP server do?

Roslyn-based .NET code intelligence: type hierarchies, call graphs, DI registrations, diagnostics, code fixes and complexity metrics from pre-built indexes.

Is the Roslyn CodeLens MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Roslyn CodeLens run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Roslyn CodeLens to Claude Code?

Run: claude mcp add roslyn-codelens -- npx -y roslyn-codelens-mcp

More developer tools MCP servers

View all