Roslyn Lens — Development skill for Claude Code
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
[](https://github.com/jfmeyers/roslyn-lens) [](https://www.nuget.org/packages/RoslynLens/) [](https://sonarcloud.io/summary/new_code?id=jfmeyers_roslyn-lens) [](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 |
Related Skills
Tokenmiser
Reduce Claude Code token usage by 80 percent with automated codebase indexing and smart ignore rules for effic
Open Med MCP
Open, modular MCP server for medical image analysis agents: containerized models (MedSAM2, SAM 2.1, TotalSegme
Agent Memory Kits
Persistent local-first semantic memory for any agent: (Hermes, claude code, codex, etc..) : plugin (auto-recal
Qartez MCP
Semantic code intelligence MCP server for Claude Code - project maps, symbol search, impact analysis, and more
Code Graph MCP
AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, im
Claude Token Lens
See exactly what's burning your Claude Code quota — live. Per-tool, per-agent, per-skill, per-MCP attribution.
Related Agents
Stitch Skills
A library of Agent Skills designed to work with the Stitch MCP server.
Dotnet Build Resolver
.NET / C# build and compile error resolution specialist. Use PROACTIVELY when dotnet build fails or Roslyn ana
Security Audit Specialist
Use this agent when you need to perform comprehensive security audits of your codebase, particularly focusing