Claude Code MCP

grep

Search for specific text patterns within files and directories using regular expressions, streamlining code review and file analysis tasks on the Claude Code MCP server.

Instructions

Search for text in files

Input Schema

NameRequiredDescriptionDefault
includeNoFile pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")
pathNoThe directory to search in. Defaults to the current working directory.
patternYesThe regular expression pattern to search for in file contents

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "include": { "description": "File pattern to include in the search (e.g. \"*.js\", \"*.{ts,tsx}\")", "type": "string" }, "path": { "description": "The directory to search in. Defaults to the current working directory.", "type": "string" }, "pattern": { "description": "The regular expression pattern to search for in file contents", "type": "string" } }, "required": [ "pattern" ], "type": "object" }

You must be authenticated.

Other Tools from Claude Code MCP

Related Tools

ID: nqo1hvazke