# Vercel Grep

Vercel Grep searches public GitHub repositories for exact code strings and regular expressions. Helps find working syntax and real library setups in production code.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1219 installs
- Author: vercel
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/vercel/grep
- Updated: 2026-02-02
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/vercel-grep

## What it does

Vercel Grep connects an assistant to `https://grep--vercel.run.tools` via HTTP transport, exposing the `searchGitHub` tool. It queries millions of open-source GitHub repositories to locate real API calls, configuration patterns, and syntax implementations.

The tool requires literal code patterns or regular expressions rather than natural language keywords. Passing general descriptions fails because grep-style matching looks for exact strings such as `import React from` or function invocations.

## Requirements
- Remote server: `https://grep--vercel.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http grep https://grep--vercel.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add vercel-grep --url https://grep--vercel.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vercel-grep": {
            "url": "https://grep--vercel.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vercel-grep": {
            "type": "http",
            "url": "https://grep--vercel.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http vercel-grep https://grep--vercel.run.tools
```

## When to use it
- find real-world API invocations across public GitHub projects
- verify syntax and imports for rarely used libraries
- locate working setup patterns for build configuration files

## Example prompts
- Search GitHub for actual code patterns using `createContext(` with TypeScript generics.
- Use `searchGitHub` to inspect how other repositories set up plugins in `vite.config.ts`.
- Find open-source examples containing literal string `from '@auth/core'`.

## Similar
- [Vercel](https://affpapa.org/en/nevibecode/mcp/vercel-vercel.md) — MCP server · 549 installs
- [morph-search](https://affpapa.org/en/nevibecode/skills/morph-search.md) — skill · 493 installs
- [vercel-connect](https://affpapa.org/en/nevibecode/skills/vercel-connect.md) — skill · 1 install
- [react-audit-grep-patterns](https://affpapa.org/en/nevibecode/skills/react-audit-grep-patterns.md) — skill · 854 installs
- [vercel-labs-emulate](https://affpapa.org/en/nevibecode/skills/vercel-labs-emulate.md) — skill · 925 installs
- [ast-grep](https://affpapa.org/en/nevibecode/skills/pproenca-ast-grep.md) — skill · 346 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
