0.4.0npm · mcp-ripgrep · current release
Observed 2026-08-15T21:16:16.759Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
advanced-searchAdvanced search with ripgrep with more optionsInput schema{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "The search pattern (regex by default)"
},
"path": {
"type": "string",
"description": "Directory or file(s) to search."
},
"caseSensitive": {
"type": "boolean",
"description": "Use case sensitive search (default: auto)"
},
"fixedStrings": {
"type": "boolean",
"description": "Treat pattern as a literal string, not a regex"
},
"filePattern": {
"type": "string",
"description": "Filter by file type or glob"
},
"fileType": {
"type": "string",
"description": "Filter by file type (e.g., js, py)"
},
"maxResults": {
"type": "number",
"description": "Limit the number of matching lines"
},
"context": {
"type": "number",
"description": "Show N lines before and after each match"
},
"invertMatch": {
"type": "boolean",
"description": "Show lines that don't match the pattern"
},
"wordMatch": {
"type": "boolean",
"description": "Only show matches surrounded by word boundaries"
},
"includeHidden": {
"type": "boolean",
"description": "Search in hidden files and directories"
},
"followSymlinks": {
"type": "boolean",
"description": "Follow symbolic links"
},
"showFilenamesOnly": {
"type": "boolean",
"description": "Only show filenames of matches, not content"
},
"showLineNumbers": {
"type": "boolean",
"description": "Show line numbers"
},
"useColors": {
"type": "boolean",
"description": "Use colors in output (default: false)"
}
},
"required": [
"pattern",
"path"
]
} | — | — · — | — |
count-matchesCount matches in files using ripgrepInput schema{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "The search pattern (regex by default)"
},
"path": {
"type": "string",
"description": "Directory or file(s) to search."
},
"caseSensitive": {
"type": "boolean",
"description": "Use case sensitive search (default: auto)"
},
"filePattern": {
"type": "string",
"description": "Filter by file type or glob"
},
"countLines": {
"type": "boolean",
"description": "Count matching lines instead of total matches"
},
"useColors": {
"type": "boolean",
"description": "Use colors in output (default: false)"
}
},
"required": [
"pattern",
"path"
]
} | — | — · — | — |
list-file-typesList all supported file types in ripgrepInput schema{
"type": "object",
"properties": {}
} | — | — · — | — |
list-filesList files that would be searched by ripgrep without actually searching themInput schema{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Directory or file(s) to search."
},
"filePattern": {
"type": "string",
"description": "Filter by file type or glob"
},
"fileType": {
"type": "string",
"description": "Filter by file type (e.g., js, py)"
},
"includeHidden": {
"type": "boolean",
"description": "Include hidden files and directories"
}
},
"required": [
"path"
]
} | — | — · — | — |
searchSearch files for patterns using ripgrep (rg)Input schema{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "The search pattern (regex by default)"
},
"path": {
"type": "string",
"description": "Directory or file(s) to search."
},
"caseSensitive": {
"type": "boolean",
"description": "Use case sensitive search (default: auto)"
},
"filePattern": {
"type": "string",
"description": "Filter by file type or glob"
},
"maxResults": {
"type": "number",
"description": "Limit the number of matching lines"
},
"context": {
"type": "number",
"description": "Show N lines before and after each match"
},
"useColors": {
"type": "boolean",
"description": "Use colors in output (default: false)"
}
},
"required": [
"pattern",
"path"
]
} | — | — · — | — |