Skip to main content
MCP · CLIOpen source · Pre-production

Retrieval engine · Midnight Network

Ask your docs,
not your model

Private, current search over the real Midnight docs and source, right inside your AI assistant. Every answer cites its source.

brew install aaronbassett/tap/midnight-manual

  • midnight-docs › compact-ledger.md0.94
    recentverifiedfoundation
  • openzeppelin-compact › access/Ownable.compact0.88
    version matchpartner
  • example-kitties › src/contract.compact0.81
    community

Your AI assistant’s training data went stale the day it shipped. midnight-manual gives it live, ranked search over the real Midnight docs and source, so every answer traces back to something you can check.

Answers you can check

Cited and
ranked by trust

// CITED

Real sources

Every result points back to the exact doc or source file it came from, so your assistant can show its work instead of guessing.

// TRUSTED

Ranked by trust

Results are weighted by where they come from and whether they’re verified and up to date, so the most trustworthy source rises to the top.

// CURRENT

Always live

Searches the live Midnight corpus, so answers reflect the docs as they stand today.

Get started

Up and running
in three steps

No database, no API key, no account. Install the mnm command, then point your AI client at it and ask.

  1. 01

    Install mnm

    Prebuilt binaries for macOS & Linux. No Rust toolchain required. (Windows runs the Linux build via WSL.)

    brew install aaronbassett/tap/midnight-manual
  2. 02

    Add it to your AI client

    One line wires mnm into your assistant as an MCP tool.

    claude mcp add midnight-manual -- mnm mcp serve
  3. 03

    Ask anything Midnight

    Restart your client and ask a Midnight question; it reaches for search and answers with cited sources. Prefer the terminal?

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

One install, three ways in

In your AI client
or your terminal

// IN YOUR AI CLIENT

As an MCP tool

Drop one command into Claude Code, Codex, or Cursor, and your assistant gains grounded search with citations.

// IN YOUR TERMINAL

As a CLI

Search the corpus and read results in context with mnm. Add --json to anything to script it.

// HOSTED FOR YOU

No server to run

The indexed corpus is hosted by default, so most people never run a server. Search works the moment you install.

It learns the technique

Searches like a
seasoned researcher

The tool gives your assistant the search; the Advanced Search Skill teaches it how to use it well. Install once and your agent reaches for the right approach on its own.

Rephrases the question

Searches a few wordings at once, so a synonym mismatch never hides the answer.

Reads around a result

Pulls the surrounding context instead of a lone snippet, so the answer holds together.

Cross-checks sources

When sources disagree it surfaces the conflict rather than picking one for you.

Weighs the evidence

Ranks and prunes by how much each source can be trusted before it answers.

Already have mnm? Ask your assistant to install the skill, or add it yourself:

mnm skills add

Private by design

Your questions
stay yours

Never logged

Searching runs against the hosted corpus, which records only counts, never your query text or the passages you read.

Opt out anytime

Anonymous usage stats carry no query text or document content. Turn them off with an env var, a config flag, or mnm telemetry disable.

Leak-tested

A continuous test pushes fake secrets through every path that touches your text; any leak fails the build before it ships.