Skip to content
n24q02m

n24q02m

Pypi •[email protected] • November 24, 2026

Distribution & CLI: the repo is mnemo ; the PyPI distribution is n24q02m-mnemo (install pip install n24q02m-mnemo / uvx --python 3.13 n24q02m-mnemo ). Two console scripts ship: n24q02m-mnemo (legacy alias mnemo-mcp ) starts the HTTP MCP server, and mnemo is the CLI-first memory surface that never serves. See CLI .

Distribution & CLI: the repo is mnemo ; the PyPI distribution is n24q02m-mnemo (install pip install n24q02m-mnemo / uvx --python 3.13 n24q02m-mnemo ). Two console scripts ship: n24q02m-mnemo (legacy alias mnemo-mcp ) starts the HTTP MCP server, and mnemo is the CLI-first memory surface that never serves. See CLI .

Self-hosting (local HTTP instance)

Roadmap (current = Phase 3 / v2.x)

Phase rows below describe the pre-de-host design history (v1.x / early v2): multi-provider LLM dispatch, GDrive/S3 passport sync, and Cloudflare deployment were removed in the 2026-09 de-host . Current architecture: one local SQLite store (WAL), per-task [models.*] provider cells (OpenRouter pre-wired default), no embedded sync (backup = rclone).

Phase rows below describe the pre-de-host design history (v1.x / early v2): multi-provider LLM dispatch, GDrive/S3 passport sync, and Cloudflare deployment were removed in the 2026-09 de-host . Current architecture: one local SQLite store (WAL), per-task [models.*] provider cells (OpenRouter pre-wired default), no embedded sync (backup = rclone).

Hybrid retrieval -- FTS5 + vector (sqlite-vec), fused via Reciprocal Rank Fusion (k=60), then re-ranked via the [models.rerank] provider cell (OpenRouter pre-wired default) with the local Fastretrieval Qwen3 cross-encoder as fallback, plus temporal decay and importance boost

Typed capture -- memory(action="capture") with 6 context_types ( conversation / fact / preference / skill / task / decision ), embedding-based dedup, and optional [models.chat] -cell compression + importance scoring

Knowledge graph -- Automatic entity extraction and relation tracking; top results boosted by graph proximity

Importance scoring + archive policy -- LLM-scored 0.0-1.0 importance; soft-archive when recency_factor * (1 - importance) > 1.0 ; restore action available

Auto-archive trigger -- Background sweep every Nth capture (default 100) -- no cron required

STM-to-LTM consolidation -- LLM summarization of related memories in a category

Duplicate detection -- Warns before adding semantically similar memories

Zero config -- Fastretrieval's built-in local registry resolves Qwen3 ONNX embedding + reranking, no API keys needed. Optional cloud calls go through per-task [models. ] provider cells (OpenAI-spec; OpenRouter pre-wired default)

Local-first storage -- one SQLite file (WAL) under ~/.mnemo/ ; backup and cross-machine migration = rclone outside the server (no embedded sync)

Plugin trinity -- Ships /recall-context + /memory-commit skills and SessionStart + opt-in PostToolUse hooks (see docs/ARCHITECTURE.md )

Proactive memory -- Tool descriptions and skills guide AI to save preferences, decisions, facts at the right moment

LLM compression -- Per-turn compression through the [models.chat] provider cell targets ~3x token reduction at >=0.9 fact retention; graceful skip when the cell is unconfigured (see docs/compression.md )

Temporal knowledge graph -- Bitemporal columns ( valid_from / valid_to / superseded_by ) on every memory + entity-resolution dedup (embedding KNN at default 0.85 cosine threshold) + audit trail ( memory_audit table with prev/new state hashes) + new actions ( entity_search / entity_graph / history / as_of ) + opt-in KG_AUTO_ENABLED auto-extract on capture. BREAKING for clients that called memory.get expecting historical-inclusive results: pass as_of for time-travel; default now filters to current-state ( valid_to IS NULL ).

Install matrix (the server speaks Streamable HTTP only — there is no stdio transport post-de-host; see the Setup page for full steps):

With auth = "token" or "multi" configured in mnemo-config/config.toml , send the token as a Bearer credential ( --header "Authorization: Bearer " or the client's equivalent).

2026-09 -- De-host update The Cloudflare D1/Vectorize/KV deployment mode, embedded GDrive/S3 passport sync, multi-provider key dispatch (per-provider API-key env vars + model chains), and the stdio transport were removed. mnemo now runs one HTTP MCP endpoint on a local SQLite (WAL) store, and all cloud calls go through per-task [models.*] provider cells (OpenRouter pre-wired default). Backup across machines = rclone outside the server. If you encountered issues with prior versions, update to the latest release and follow the current setup docs . MCP registry note (2026-10): registry version 2.20.0 was published with a stdio PyPI package claim ( uvx mnemo-mcp ) that no longer reflects the product: post-de-host, mnemo speaks Streamable HTTP only — self-hosted, no public URL. Registry versions are immutable, so the stale stdio claim cannot be edited in place; the registry entry stays wrong until the owner de-lists it or republishes as 2.20.1. server.json in this repo now declares the package's true transport ( streamable-http , default local endpoint), so the publish carries correct metadata. Related plugins from the same author : wet -- Web + content extraction imagine-mcp -- Image/video understanding + generation better-notion-mcp -- Notion API better-email-mcp -- Email management better-telegram-mcp -- Telegram better-godot-mcp -- Godot Engine crg -- Code review knowledge graph All plugins the same architecture -- install once, learn pattern transfers.

2026-09 -- De-host update

The Cloudflare D1/Vectorize/KV deployment mode, embedded GDrive/S3 passport sync, multi-provider key dispatch (per-provider API-key env vars + model chains), and the stdio transport were removed. mnemo now runs one HTTP MCP endpoint on a local SQLite (WAL) store, and all cloud calls go through per-task [models.*] provider cells (OpenRouter pre-wired default). Backup across machines = rclone outside the server.

If you encountered issues with prior versions, update to the latest release and follow the current setup docs .

MCP registry note (2026-10): registry version 2.20.0 was published with a stdio PyPI package claim ( uvx mnemo-mcp ) that no longer reflects the product: post-de-host, mnemo speaks Streamable HTTP only — self-hosted, no public URL. Registry versions are immutable, so the stale stdio claim cannot be edited in place; the registry entry stays wrong until the owner de-lists it or republishes as 2.20.1. server.json in this repo now declares the package's true transport ( streamable-http , default local endpoint), so the publish carries correct metadata.

Related plugins from the same author :

wet -- Web + content extraction

imagine-mcp -- Image/video understanding + generation

better-notion-mcp -- Notion API

better-email-mcp -- Email management

better-telegram-mcp -- Telegram

better-godot-mcp -- Godot Engine

crg -- Code review knowledge graph

All plugins the same architecture -- install once, learn pattern transfers.

Full docs at docs.n24q02m.com/servers/mnemo/setup/ :

Setup -- install methods for Claude Code, Codex, Gemini CLI, Cursor, Windsurf, mcp.json

Modes overview -- http

Multi-user setup -- per-user bearer tokens mapped to credential namespaces

Install with AI agent -- paste this to your AI coding agent:

Install MCP server n24q02m-mnemo following the steps at

Install MCP server n24q02m-mnemo following the steps at

mnemo was previously packaged for Smithery via a local stdio start command. Post-de-host the server is HTTP-only, so the local smithery.yaml was removed; publish a running instance's https:// /mcp endpoint to Smithery as a remote server instead.

13 MCP tools, 18 memory actions. The memory surface is exposed as 11 specialized single-purpose tools, the deprecated legacy memory dispatcher (same actions), and config :

Plugin trinity (Claude Code marketplace install):

Graceful fallbacks -- an unconfigured embed/rerank cell uses local ONNX; a rerank cell that fails its probe degrades to local ONNX, an embed cell that fails its probe leaves FTS5-only; an unconfigured cell never silently selects a paid provider

Host-only credentials -- provider keys live in the host-owned config.toml or HULL_ _API_KEY env vars; end users never see them

Auth-gated HTTP -- auth = "no-auth" refuses non-loopback binds; token / multi require credential checks

Error sanitization -- No credentials in error messages

The package ships two distinct console scripts:

mnemo -- CLI-first memory surface (primary for scripts/agents; it never starts a server): capture , recall , reflect , fetch , and the standing-* family operate directly on a SQLite memory DB. mnemo-pilot is a legacy alias of the same entry point.

n24q02m-mnemo (legacy alias mnemo-mcp ) -- the MCP server plus one-shot operator subcommands. A bare invocation starts the HTTP server; a leading subcommand ( config-init , config , warmup , token-hash , token-verify ) runs an action and exits.

CLI-first memory surface ( mnemo ; every subcommand takes --db , prints a JSON envelope, and exits with a taxonomy-mapped code):

Server operator CLI ( n24q02m-mnemo ; a bare invocation starts the HTTP server):

Self-hosting (local HTTP instance)

Two ways to run the server for MCP clients on your machine.

Dev: start with uv (no-auth, loopback only)

no-auth refuses non-loopback binds, so this is localhost-only by construction — fine for trying the server locally. The MCP endpoint is . For a real config, bootstrap one and edit it:

docker-compose.http.yml is self-contained (builds the image, persists state in the mnemo-data volume) and publishes only on loopback:

Token setup (also documented in the example config):

For auth = "multi" (per-user namespaces) also mount users.toml — see the commented line in docker-compose.http.yml .

CLI consumer (no server needed)

The mnemo surface talks straight to the memory DB — handy for scripts and agents:

Every subcommand prints a JSON envelope and takes --db . See CLI for the full surface ( reflect , standing-* , …).

Pointing an MCP client at the instance

Register the HTTP endpoint (Streamable HTTP transport):

Claude Code: claude mcp add --transport http mnemo

Any OpenAI-spec MCP client: server URL ; with auth = "token" send the shared token as the Bearer credential.

Config: local vs cloud, per task

Each task cell in mnemo-config/config.toml ( [models.embed] , rerank , chat , jev_score ) is independent: base_url + api_key + model , OpenAI-spec HTTP. Mix freely — e.g. cloud OpenRouter for chat while embed / rerank point at a local OpenAI-spec server, or all cloud. Keys are host-only (end users never see them) and may alternatively come from the HULL_ _API_KEY env vars.

Provider keys: rotation across several credentials

A cell's key is the seed of an ordered credential pool per provider identity ( hull_core.credentials , stored under ~/.mnemo/credentials.db , keys sealed at rest). Every provider call leases the highest-priority usable credential, records the outcome, and rotates:

Add more keys through the library ( hull_core.credentials ), e.g. CredentialStore(mnemo_config_dir() / "credentials.db").add_credential(...) , or the KeyPool / CredentialStore API directly; a task cell with no api_key still works as long as its provider pool holds one.

provider = "openrouter" (optional) selects a pool identity other than the one derived from base_url . account = " " (optional) selects a named account's own pool — rotation never crosses accounts.

A legacy key in config.toml or HULL_ _API_KEY is copied into the pool on startup while the pool is empty and keeps working untouched; the env var is never deleted and no key is ever logged.

The cell always owns the model id: all four task cells may one provider pool, so an entry contributes its key and endpoint, not a model override.

mnemo speaks Streamable HTTP on a single /mcp endpoint — remote access is a self-hosted instance on a reachable host, fronted by whatever TLS proxy you choose (the server itself binds plain HTTP). Auth is configured in mnemo-config/config.toml under [server] : auth = "token" (one shared Bearer token) or auth = "multi" (per-user tokens + namespaces via users.toml ). auth = "no-auth" refuses non-loopback binds.

Public OCI image publication is discontinued. Existing historical registry tags remain untouched; new container deployments build from source ( docker build --target http ) or use docker-compose.http.yml .

mnemo is TC-Local (machine-bound): every storage artifact lives under ~/.mnemo/ owned by your OS user, and provider keys are host-only config ( config.toml / HULL_ _API_KEY ), never visible to MCP clients.

Apache-2.0 -- See LICENSE .

Release files for n24q02m-mnemo 2.25.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 283.5 kB

Release files / n24q02m_mnemo-2.25.0b1.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Release files / n24q02m_mnemo-2.25.0b1-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Security for n24q02m-mnemo 2.25.0b1

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for n24q02m_mnemo-2.25.0b1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Attestation for n24q02m_mnemo-2.25.0b1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

2.25.0b1 This release

Nov 24, 2026 2 release files Full provenance

Nov 22, 2026 2 release files Full provenance

Nov 22, 2026 2 release files Full provenance

Nov 21, 2026 2 release files Full provenance

Nov 17, 2026 2 release files Full provenance

Nov 16, 2026 2 release files Full provenance

Nov 16, 2026 2 release files Full provenance

Nov 16, 2026 2 release files Full provenance

Nov 14, 2026 2 release files Full provenance

Nov 12, 2026 2 release files Full provenance

Nov 10, 2026 2 release files No provenance

Nov 3, 2026 2 release files No provenance

Extracted Entities

Domains (1)