Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.11 KB

File metadata and controls

57 lines (39 loc) · 1.11 KB

Quickstart

Five minutes from zero to retrieve.

1. Install

cargo install --locked mnem-cli

(See Install for other platforms.)

2. Initialise a repo

mkdir my-graph && cd my-graph
mnem init

This creates .mnem/ with default config (bundled ONNX embedder, redb store).

3. Ingest

mnem ingest README.md
mnem ingest docs/ --recursive
mnem ingest --text "the cat sat on the mat"

4. Retrieve

mnem retrieve "what does this project do"
mnem retrieve "what is X" --limit 5

5. Serve over HTTP (optional)

mnem http --repo .        # bind 127.0.0.1:9876
curl http://127.0.0.1:9876/v1/retrieve -d '{"text": "what does this do"}'

6. Wire into Claude / Cursor (optional)

mnem integrate

Adds an MCP server entry to your client config; subsequent agent turns can call mnem_retrieve and mnem_ingest natively.

Next steps