Search from Codex or VS Code

Connect an AI client to a selected YakFind Desktop index to retrieve exact search results and the passages behind their citations.

  1. Index the sample collection in Desktop.
  2. Follow the MCP setup in the product guide. Give the sample index the alias pilot and use its absolute path.
  3. Ask the client to list the configured indexes, search pilot for "cobalt invoice", then retrieve a passage by its citation.

Expect two matching documents. Configure only collections you want the AI client to read. The client can send retrieved excerpts to its model provider.

Check why a document matched

Set attachments to include, exclude, or only on search. Pass a citation and a query to explain_document to check that document within the current index revision.

For a plain-language concept, call suggest_concepts with a description such as “transfer the agreement to someone else”. Review the proposed formulations and use the returned query with search. Keep the returned version and expression with the citation if you need to repeat the search.