# Codesearch

> Codesearch is an open-source MCP server. Code, package, docs, paper and vulnerability search. 17 tools, keyless lanes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/sk-dev-ai/codesearch
- **MCP Registry name:** io.github.SK-DEV-AI/codesearch
- **Listing updated:** 2026-10-23

## About

Code, package, docs, paper and vulnerability search. 17 tools, keyless lanes.

## Install

### Claude Code (Terminal)

```sh
claude mcp add codesearch --env GROQ_API_KEYS='<GROQ_API_KEYS>' --env TAVILY_KEYS='<TAVILY_KEYS>' --env NV_KEY='<NV_KEY>' --env SE_KEY='<SE_KEY>' --env S2_KEY='<S2_KEY>' -- uvx skdev-codesearch-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "codesearch": {
      "command": "uvx",
      "args": [
        "skdev-codesearch-mcp"
      ],
      "env": {
        "GROQ_API_KEYS": "<GROQ_API_KEYS>",
        "TAVILY_KEYS": "<TAVILY_KEYS>",
        "NV_KEY": "<NV_KEY>",
        "SE_KEY": "<SE_KEY>",
        "S2_KEY": "<S2_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "codesearch": {
      "command": "uvx",
      "args": [
        "skdev-codesearch-mcp"
      ],
      "env": {
        "GROQ_API_KEYS": "<GROQ_API_KEYS>",
        "TAVILY_KEYS": "<TAVILY_KEYS>",
        "NV_KEY": "<NV_KEY>",
        "SE_KEY": "<SE_KEY>",
        "S2_KEY": "<S2_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "codesearch": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "skdev-codesearch-mcp"
      ],
      "env": {
        "GROQ_API_KEYS": "<GROQ_API_KEYS>",
        "TAVILY_KEYS": "<TAVILY_KEYS>",
        "NV_KEY": "<NV_KEY>",
        "SE_KEY": "<SE_KEY>",
        "S2_KEY": "<S2_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "codesearch": {
      "command": "uvx",
      "args": [
        "skdev-codesearch-mcp"
      ],
      "env": {
        "GROQ_API_KEYS": "<GROQ_API_KEYS>",
        "TAVILY_KEYS": "<TAVILY_KEYS>",
        "NV_KEY": "<NV_KEY>",
        "SE_KEY": "<SE_KEY>",
        "S2_KEY": "<S2_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "codesearch": {
      "command": "uvx",
      "args": [
        "skdev-codesearch-mcp"
      ],
      "env": {
        "GROQ_API_KEYS": "<GROQ_API_KEYS>",
        "TAVILY_KEYS": "<TAVILY_KEYS>",
        "NV_KEY": "<NV_KEY>",
        "SE_KEY": "<SE_KEY>",
        "S2_KEY": "<S2_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Codesearch free?

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

### How do I add Codesearch to Claude Code?

Run this command in your terminal: claude mcp add codesearch --env GROQ_API_KEYS='<GROQ_API_KEYS>' --env TAVILY_KEYS='<TAVILY_KEYS>' --env NV_KEY='<NV_KEY>' --env SE_KEY='<SE_KEY>' --env S2_KEY='<S2_KEY>' -- uvx skdev-codesearch-mcp

## 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/codesearch
