Skip to main content

Your first search

Once mnm is installed, you can search the Midnight corpus from your terminal without any client setup:

mnm search "how do I mint a shielded token?"

What you get back

mnm search returns ranked, source-attributed results straight away. Each result includes:

  • A confidence score for how closely the passage matches your query.
  • A provenance breakdown: a one-line summary of where the result came from and why it ranked where it did.
  • The source path: the exact doc or source file the passage came from.

Both embedding and reranking run through VoyageAI, proxied by the hosted server, so no API key is needed and no local model is downloaded. Reranking is on by default (rerank-2.5); pass --rerank off for lowest latency.

Next steps