Grep
Verified IntegrationClient Configuration
— Connect Grep to Claude Desktop or Cursor in seconds{
"mcpServers": {
"grep": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-grep"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Provides powerful text search capabilities by wrapping the `grep` command-line utility as an MCP server.
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Grep
Beyond natural language, it offers direct regex pattern matching, recursive directory searching, file extension filtering, case-sensitive/insensitive options, whole word matching, context line display, and dedicated tools for counting matches or listing files that contain patterns.
Related MCP Servers
Browse all servers →Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.