An MCP connector for Microsoft tgrep (Trigram-indexed grep).
tgrep_search: Fast regex search using the trigram index.tgrep_index: Build or rebuild the trigram index for a directory.tgrep_status: Check the status of the indexing server.tgrep_count_files: Fast file walker to count text files in a directory.tgrep_serve: Start the persistent search server for a directory (enables auto-indexing and fast queries).
To use this with an MCP-compatible agent (like Claude Code or Gemini CLI), add it to your configuration:
{
"mcpServers": {
"tgrep": {
"command": "node",
"args": ["/home/sagar/i_code_i_do/tgrep_mcp/build/index.js"]
}
}
}If you make changes to the source:
npm run buildtgrepmust be installed and available in yourPATH.- Node.js installed.