MCPVault

count-matches

MCP tool from MCP Ripgrep by mcollina

Count occurrences of a pattern:

How to use it

count-matches is exposed by the MCP Ripgrep MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the count-matches tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL MCP RIPGREP LISTING