Skip to content
MCP server

Codesearch

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

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
28 days ago

About Codesearch

Codesearch 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 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

Add to claude_desktop_config.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>"
      }
    }
  }
}

Add to ~/.cursor/mcp.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>"
      }
    }
  }
}

Add to .vscode/mcp.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>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.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>"
      }
    }
  }
}

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

{
  "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>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GROQ_API_KEYSOptional. Groq keys for synthesis and query rewriting.
  • TAVILY_KEYSOptional. Tavily search lane.
  • NV_KEYOptional. NVIDIA embeddings for ranking.
  • SE_KEYOptional. Stack Exchange key (10k/day instead of 300).
  • S2_KEYOptional. Semantic Scholar key (1 RPS).

Pricing

Open source

Codesearch 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.

How AIPoweredBot checks servers