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
claude mcp add --transport http grep https://grep--vercel.run.toolsWhat 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
searchGitHubto inspect how other repositories set up plugins invite.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.toolsPlatform CLI: remote server
codex mcp add vercel-grep --url https://grep--vercel.run.toolsConfig file
{
"mcpServers": {
"vercel-grep": {
"url": "https://grep--vercel.run.tools"
}
}
}Config file
{
"servers": {
"vercel-grep": {
"type": "http",
"url": "https://grep--vercel.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http vercel-grep https://grep--vercel.run.toolsStep 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.