Agent♥︎Age
Catalog

Code Index

Official

by trondhindenes · Go

Fast local source code searching using Zoekt trigram-based indexing

Code Index MCP Server

An MCP (Model Context Protocol) server for fast local source code searching using Zoekt. It provides trigram-based indexing to enable fast substring and regex matching, with separate indexes per indexed directory stored in the user profile. It targets macOS and Linux environments and supports a query language for filtering.

🛠️ Key Features

  • Fast code search via Zoekt trigram-based indexing for substring and regex matching
  • Per-directory indexes, each stored in the user profile
  • Rich query language with regex, file filters, language filters, and boolean operators
  • Cross-platform support for macOS and Linux

🚀 Use Cases

  • Searching local source code quickly by substring or regex
  • Narrowing results using file and language filters
  • Combining query terms with boolean operators

⚡ Developer Benefits

  • Enables structured local search behavior through Zoekt-backed indexing
  • Supports multiple query types (regex and filters) for targeted retrieval

⚠️ Limitations

  • The provided information only indicates local searching and does not describe remote indexing or cloud access.