Grep now supports the Model Context Protocol (MCP), allowing AI agents to search over a million public GitHub repositories through a standardized interface. The MCP server can be easily integrated with AI clients like Cursor and Claude, enabling agents to query code patterns and retrieve relevant snippets in real-time. Vercel built the MCP server quickly using their mcp-handler package, which simplifies the process of exposing existing APIs to AI clients.
Table of contents
What is the Grep MCP serverHow to configure it in your AI clientAn example of how to use itFrom zero to MCP in minutes2 Comments
Sort: