Skip to content
MCP server

CodeSherlock

AI-powered static and contextual code analysis MCP server

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.1
Listing updated
4 days ago

About CodeSherlock

CodeSherlock is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add codesherlock-mcp-server -- npx -y @codesherlock/codesherlock-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codesherlock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codesherlock/codesherlock-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codesherlock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codesherlock/codesherlock-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codesherlock-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codesherlock/codesherlock-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codesherlock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codesherlock/codesherlock-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codesherlock-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codesherlock/codesherlock-mcp-server"
      ]
    }
  }
}

Pricing

Open source

CodeSherlock FAQ

Is CodeSherlock free?

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

How do I add CodeSherlock to Claude Code?

Run this command in your terminal: claude mcp add codesherlock-mcp-server -- npx -y @codesherlock/codesherlock-mcp-server