Skip to content
PluginStats

@oh-my-pi/pi-mnemopi weekly downloads statistics

By oh-my-pi · npm · MCP servers

Local SQLite memory engine for omp agents

View on npm Stale · Oct 18, 2026

@oh-my-pi/pi-mnemopi has 102,750 recorded weekly downloads on npm, a decrease of 3.2% over the past 30 days.

Weekly downloads
102,750
Official API · Oct 18, 2026
7-day growth
-31.7%
-47.7K weekly downloads
30-day growth
-3.2%
-3.4K weekly downloads
90-day growth
+82.2%
+46.4K weekly downloads
Rank
—
Among tracked npm listings

About @oh-my-pi/pi-mnemopi

@oh-my-pi/pi-mnemopi

Local SQLite memory engine for omp agents.

This package is the Bun/TypeScript port of the Mnemosyne memory engine. It provides:

  • Mnemopi, a small facade for remember/recall/stats/sleep workflows.
  • BeamMemory, the lower-level working/episodic memory engine.
  • MCP tool definitions and a dispatcher for host integrations.
  • Optional local ONNX embeddings through fastembed and optional OpenAI-compatible embedding/LLM endpoints.

The package does not bundle or download a local GGUF LLM. LLM paths are host-backend or OpenAI-compatible remote only; when no LLM is configured, deterministic heuristic paths are used.

Basic use

import { Mnemopi } from "@oh-my-pi/pi-mnemopi";

const memory = new Mnemopi({ dbPath: "./mnemopi.db", bank: "project" });
const id = memory.remember("The deployment target is stable-cluster.", {
	source: "notes",
	importance: 0.8,
	veracity: "true",
});

const results = memory.recall("deployment target", 5);
console.log(id, results[0]?.content);

memory.close();

Lexical recall matches whole tokens, declared synonyms, underscore-separated identifier parts, and other forms of a word of at least four characters: the word plus s, es, d, ed, ing, er, ers, ment or ments, a final e replaced by ing/ion/ions, or a final y replaced by ies/ied. backup matches backups, facts matches fact and caching matches cache, but 1Password does not match pass or word, and redis does not match redistribution.

Configuration

Mnemopi accepts LLM and embedding options directly. MNEMOPI_* environment variables remain fallbacks/defaults when the matching constructor option is omitted.

import { Mnemopi } from "@oh-my-pi/pi-mnemopi";
import type { Model } from "@oh-my-pi/pi-ai";

const ftsOnly = new Mnemopi({ noEmbeddings: true });

const remoteEmbeddings = new Mnemopi({
	embeddingModel: "text-embedding-3-small",
	embeddingApiUrl: "https://api.openai.com/v1",
	embeddingApiKey: process.env.OPENAI_API_KEY,
});

const remoteLlm = new Mnemopi({
	llm: {
		baseUrl: "https://api.openai.com/v1",
		apiKey: process.env.OPENAI_API_KEY,
		model: "gpt-4.1-mini",
	},
	// Equivalent aliases: llmBaseUrl, llmApiKey, llmModel.
});

declare const smolModel: Model;
const piAiLlm = new Mnemopi({ llm: smolModel });
const dynamicLlm = new Mnemopi({
	llm: async (prompt, opts) => {
		const token = await getFreshOauthToken();
		return await completeWithPiAi(prompt, {
			token,
			maxTokens: opts?.maxTokens,
			temperature: opts?.temperature,
		});
	},
});
Banks and host scoping

Mnemopi itself exposes banks directly through constructor options such as bank; it does not hard-code coding-agent project scoping.

The omp coding-agent wrapper adds mnemopi.scoping on top of those constructor options:

  • global: one shared bank
  • per-project: isolated project memory
  • per-project-tagged: project-local writes plus global recall visibility

In per-project-tagged, the wrapper is responsible for combining project-local retention with global recall visibility. The package still just exposes banks plus constructor-level LLM and embedding options.

Common environment fallbacks:

  • MNEMOPI_DATA_DIR / MNEMOPI_DB_PATH: default storage location.
  • MNEMOPI_DB_PAGE_SIZE: optional SQLite page size for new file-backed databases; use a valid power of two from 512 to 65536 or os to request the detected system page size. Unset preserves SQLite's default.
  • MNEMOPI_NO_EMBEDDINGS=1: force FTS-only recall.
  • MNEMOPI_EMBEDDING_MODEL: defaults to BAAI/bge-small-en-v1.5.
  • MNEMOPI_EMBEDDING_API_URL and MNEMOPI_EMBEDDING_API_KEY: OpenAI-compatible embedding endpoint.
  • MNEMOPI_LLM_ENABLED=1, MNEMOPI_LLM_BASE_URL, MNEMOPI_LLM_API_KEY, MNEMOPI_LLM_MODEL: OpenAI-compatible LLM endpoint.

Local embeddings use the fastembed npm package. Its default BGESmallENV15 model is 384-dimensional and uses the package's CLS pooling plus vector normalization path. Local GGUF LLMs are not available in this package.

Commands

mnemopi remember "Use stable-cluster for production deploys"
mnemopi recall "production deploy target"
mnemopi stats
mnemopi sleep

Tests

bun --cwd packages/mnemopi test
bun --cwd packages/mnemopi run check

Description from the npm listing.

  • memory
  • sqlite
  • agent
  • embeddings
  • mcp

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@oh-my-pi/pi-mnemopi weekly downloads on npm, last 90 days: 102,750 weekly downloads as of Oct 18, 2026, +82.2% over 90 days.@oh-my-pi/pi-mnemopiWeekly downloads on npm · Last 90 days102,750downloads / week+82.2% over 90 days60K80K100K120K140K160K180KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 26, 2026 – Oct 18, 2026 · 85 observations · Updated Oc…pluginstats.com
@oh-my-pi/pi-mnemopi weekly downloads on npm, last 90 days: 102,750 weekly downloads as of Oct 18, 2026, +82.2% over 90 days.

7/30/90-day growth

@oh-my-pi/pi-mnemopi weekly downloads growth on npm: -31.7% over 7 days, -3.2% over 30 days, +82.2% over 90 days.@oh-my-pi/pi-mnemopiWeekly downloads growth on npm102,750downloads / week now7-day growth-47,730 weekly downloads-31.7%30-day growth-3,367 weekly downloads-3.2%90-day growth+46,363 weekly downloads+82.2%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@oh-my-pi/pi-mnemopi weekly downloads growth on npm: -31.7% over 7 days, -3.2% over 30 days, +82.2% over 90 days.

Ranking history

@oh-my-pi/pi-mnemopi npm ranking history: currently #471 (by weekly downloads).@oh-my-pi/pi-mnemopinpm ranking · by weekly downloads · Last 90 days#471current rank#150#200#250#300#350#400#450#500Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
@oh-my-pi/pi-mnemopi npm ranking history: currently #471 (by weekly downloads).

Listing placement

All npm2,429 listings · 122 pages · 1,215 shown · page 24, #11 (overall #471)
All npm: every listing in weekly downloads order

Listing placement

MCP servers305 listings · 16 pages · page 2, #20 (overall #40)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for @oh-my-pi/pi-mnemopi
Date (UTC)Weekly downloadsChange vs. previous
102,750+27.5K
75,215-21.2K
96,405-3.6K
100,027-26.1K
126,143-26.4K
152,5080
152,508+2K
150,480+2K
148,523+1.9K
146,633+7.8K
138,837+1.4K
137,406+1.2K
136,204-23.8K
160,052—

Similar npm MCP servers plugins

All 20 @oh-my-pi/pi-mnemopi alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@oh-my-pi/pi-mnemopi. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.