Grep now supports the Model Context Protocol (MCP), enabling AI apps to query a million public GitHub repositories using a standard interface. This allows AI agents to search code and retrieve relevant snippets for tasks like error handling and implementation guidance.