TypeScript
npm install @mnemo/sdkNode, Bun, Deno and edge runtimes.
Mnemo is six REST endpoints with SDKs on top. This page covers the install, the two calls you will use constantly, and the concepts worth knowing before you go to production.
Install the client, set your key, write one memory, read it back. That is the whole loop.
Text, a file or a URL all go to the same place. Mnemo picks the parser, chunks the content and extracts entities before it embeds anything.
Ask in plain language and set a token budget. Mnemo returns ranked, deduplicated memories that already fit the space you gave it.
Four ideas cover almost everything you will run into.
Base URL https://api.mnemo.dev. All requests take and return JSON.
/v1/memoriesWrite a memory from text, a file or a URL./v1/recallRetrieve ranked, cited memories for a natural language query./v1/memories/:idFetch a single memory with its full provenance chain./v1/scopes/:scope/forgetDelete a scope everywhere, including the vector index./v1/graphTraverse entities and relationships extracted from memories./v1/exportStream every memory and embedding as newline-delimited JSON.First-party clients with typed responses, retries and streaming recall built in.
npm install @mnemo/sdkNode, Bun, Deno and edge runtimes.
pip install mnemoSync and async clients, 3.9 and up.
npx -y @mnemo/mcpWorks with any MCP-compatible client.
Add this to any MCP client and the assistant gains memory with no code at all. It exposes four tools.
mnemo_rememberWrite what the conversation just established.mnemo_recallRetrieve ranked, cited context for the current turn.mnemo_forgetDrop a memory or an entire scope on request.mnemo_graphWalk entities and relationships around a subject.Ready to run it for real? Grab a key and the free plan covers ten thousand memories.
Get your API key