Skip to main content
MCP server CX Codex

Vercel Grep — Claude Code MCP server: what it does, how to install

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

no license 1,219 installs updated 2026-02-02

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http grep https://grep--vercel.run.tools
Open on GitHub

What Vercel Grep 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.

What it helps with

  • 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 for the agent

  • 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'.

How to install Vercel Grep

Platform CLI: remote server

claude mcp add --transport http grep https://grep--vercel.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Vercel Grep

How to install Vercel Grep in Claude Code?

Run claude mcp add --transport http vercel-grep https://grep--vercel.run.tools in your terminal.

What does Vercel Grep do?

It gives your coding agent access to searchGitHub, letting it inspect real-world code snippets across millions of public GitHub repositories.

How does searchGitHub match queries?

It relies on literal string patterns and regular expressions, so queries must contain actual source code syntax instead of descriptive search terms.

Similar MCP servers

All MCP servers for Git and GitHub →

Project sponsors

Companies that keep this analytics open