# Dotnet Sherlock MCP

> Dotnet Sherlock MCP is an open-source MCP server. .NET assembly introspection MCP server with advanced reflection and type analysis capabilities. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/jcucci/dotnet-sherlock-mcp
- **MCP Registry name:** io.github.jcucci/dotnet-sherlock-mcp
- **Listing updated:** 2026-11-13

## About

.NET assembly introspection MCP server with advanced reflection and type analysis capabilities

## Install

### Claude Code (Terminal)

```sh
claude mcp add dotnet-sherlock-mcp -- dnx Sherlock.MCP.Server --yes
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dotnet-sherlock-mcp": {
      "command": "dnx",
      "args": [
        "Sherlock.MCP.Server",
        "--yes"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dotnet-sherlock-mcp": {
      "command": "dnx",
      "args": [
        "Sherlock.MCP.Server",
        "--yes"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dotnet-sherlock-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Sherlock.MCP.Server",
        "--yes"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dotnet-sherlock-mcp": {
      "command": "dnx",
      "args": [
        "Sherlock.MCP.Server",
        "--yes"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dotnet-sherlock-mcp": {
      "command": "dnx",
      "args": [
        "Sherlock.MCP.Server",
        "--yes"
      ]
    }
  }
}
```

## FAQ

### Is Dotnet Sherlock MCP free?

Yes. Dotnet Sherlock MCP is open source, so you can use and self-host it for free.

### How do I add Dotnet Sherlock MCP to Claude Code?

Run this command in your terminal: claude mcp add dotnet-sherlock-mcp -- dnx Sherlock.MCP.Server --yes

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/dotnet-sherlock-mcp
