@paretools/search
v0.9.0
Published
MCP server for code search (ripgrep + fd) with structured, token-efficient output
Maintainers
Readme
@paretools/search
Structured, token-efficient code search for AI agents. Wraps ripgrep and fd with typed JSON output.
Part of the Pare suite of MCP servers.
Tools (3)
| Tool | Description |
| -------- | ----------------------------------------------------------------- |
| search | Search file contents with ripgrep, returns matches with locations |
| find | Find files by name/pattern with fd, returns structured file list |
| count | Count pattern matches per file with ripgrep |
Quick Start
npx -y @paretools/searchAdd to your MCP client config:
{
"mcpServers": {
"pare-search": {
"command": "npx",
"args": ["-y", "@paretools/search"]
}
}
}Example
search output:
{
"matches": [
{
"file": "src/index.ts",
"line": 42,
"column": 5,
"matchText": "registerTool",
"lineContent": " registerTool(server);"
}
],
"totalMatches": 1,
"filesSearched": 15
}Prerequisites
Compatible Clients
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
