jfmeyers

Roslyn Lens — Development skill for Claude Code

Development community

Token-efficient MCP server for .NET codebase navigation via Roslyn semantic analysis — designed for Claude Code.

How to install Roslyn Lens

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jfmeyers/roslyn-lens and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Roslyn Lens does

Token-efficient MCP server for .NET codebase navigation via Roslyn semantic analysis — designed for Claude Code.

Alternatives in Development

  • Serena — Code Intelligence Advanced code navigation and semantic search 14k ★
  • Claude Token Efficient — One CLAUDE.md file 3.8k ★
  • MCP Language Server — mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, a 1.5k ★

README

RoslynLens

[![GitHub](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/jfmeyers/roslyn-lens) [![NuGet](https://img.shields.io/nuget/v/RoslynLens)](https://www.nuget.org/packages/RoslynLens/) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jfmeyers_roslyn-lens&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jfmeyers_roslyn-lens) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

A token-efficient MCP (Model Context Protocol) server for .NET codebase navigation, powered by Roslyn semantic analysis. Designed for use with [Claude Code](https://docs.anthropic.com/en/docs/claude-code).

Instead of reading entire `.cs` files (500-2000+ tokens each), Claude Code queries this MCP server and receives focused, semantic results (30-150 tokens). This dramatically reduces token consumption when working with large .NET solutions.

Features

34 Navigation & Analysis Tools

Tool Purpose
find_symbol Locate type/method definitions by name (supports glob patterns)
find_references Find all usages of a symbol
find_implementations Find interface implementors and derived classes
find_callers Find direct callers of a method
find_overrides Find overrides of virtual/abstract methods
find_dead_code Detect unused types, methods, and properties (with filters)
find_isolated_symbols Detect degree-0 types: no incoming refs and no solution-type deps
find_god_nodes Identify types/methods with disproportionately high in-degree
find_surprising_dependencies Rank unexpected cross-namespace edges by surprise score
get_communities Partition namespaces into cohesive communities (label propagation)
get_type_hierarchy Show inheritance chain, interfaces, and derived types
get_public_api Get public surface without reading the full file
get_symbol_detail Fu