Skip to content
PluginStats

@hasna/mementos weekly downloads statistics

By hasna (9 listings) · npm · MCP servers

Universal memory system for AI agents - CLI + MCP server + library API

View on npm Stale · Oct 18, 2026

@hasna/mementos has 13,648 recorded weekly downloads on npm, a decrease of 11.3% over the past 30 days, ranking #881 of 2,391 tracked listings.

Weekly downloads
13,648
Official API · Oct 18, 2026
7-day growth
-42.7%
-10.2K weekly downloads
30-day growth
-11.3%
-1.7K weekly downloads
90-day growth
+6020%
+13.4K weekly downloads
Rank
#881
Among tracked npm listings

About @hasna/mementos

@hasna/mementos

Persistent memory for AI agents, available as a CLI, MCP server, REST service, and TypeScript library. Hosted clients use the authenticated Mementos HTTP API; local SQLite is available only through an explicit local-mode opt-in.

npm License

Install

Mementos requires Bun 1.0 or newer at runtime.

npm install -g @hasna/mementos
# or
bun add -g @hasna/mementos

The package installs three binaries:

BinaryPurpose
mementosMemory, agent, project, graph, session, and maintenance CLI
mementos-mcpMCP server; Streamable HTTP by default, stdio on request
mementos-serveREST API server

Quick start

Local mode must be selected explicitly. The first command after the opt-in creates and migrates ~/.hasna/mementos/mementos.db.

export HASNA_MEMENTOS_LOCAL=1
mementos save project-stack "Bun, TypeScript, SQLite" \
  --scope shared --category fact
mementos recall project-stack
mementos search "TypeScript"
mementos list --scope shared

Register an agent and project when memories need explicit ownership:

mementos projects --add --name my-project --path "$PWD"
mementos register-agent marcus --role coding-agent
mementos inject --project "$PWD" --agent marcus --format compact

Memory scopes are global, shared, private, and working. working is transient session scratch space and defaults to a one-hour lifetime. Categories are preference, fact, knowledge, history, procedural, and resource.

For CLI context and inject, an explicit --project must resolve to a registered project and restricts every included scope to that exact project. SDK getContext({ project_id }) uses the same exact-project rule. Unknown explicit projects fail before memories are selected or touched; omitting the project keeps the existing scope selection.

The library and MCP injection strategies retain unassigned agent-private context alongside the selected project's private memories. They exclude private memories assigned to another project. Their existing global/shared policies remain: library strategies include global memories across projects and project-scoped shared memories; direct MCP injection also scopes global memories to the project, while its full smart pipeline uses the library policy.

Injection project references may be a stable project ID, registered name, or registered path. Library, MCP, and HTTP/SDK injection resolve that reference once and use the stable project ID for every downstream profile, search, filter, hook, and touch path.

The list API and SDK expose include_unassigned_project: true with project_id for this union. The filter applies before pagination and also governs total; without a project it has no effect. Omitting it keeps an exact project match.

CLI

Optional decision assistance

Decision assistance is off by default. No provider account or key is needed for ordinary Mementos commands. Configure and enable the features you want from the CLI; there is no web setup. This adds no service-side configuration and does not change ordinary search, context injection, or consolidation.

mementos decisions status --json
mementos decisions configure --provider openrouter --model typesafe/jev-1.13
mementos decisions enable --retrieval --relationships
# Supply OPENROUTER_API_KEY through your secret manager's process environment.
mementos --project my-project decisions search "release approval policy" --limit 10 --json
mementos decisions evaluate --input pair.json --json
mementos decisions disable

For prompt hooks, mementos prompt-context --enabled --input - accepts JSON containing prompt, project and optional explicit scope filters. It returns a bounded, read-only context receipt. Without --enabled it performs no retrieval; provider decisions still require their separate opt-in. The Hooks app registers the native event with hooks install mementos-context --target codex (also claude or codewith). See the prompt hook setup for environment enablement, project scope, provider disclosure and native trust.

configure always leaves assistance disabled. enable permits only the selected features and explicitly permits sending their text to the configured provider. The key is read from OPENROUTER_API_KEY; it is never saved in decision settings. status reports key presence without verifying or calling the provider. Settings are versioned client preferences in the Mementos data root's decisions.json; updates reject concurrent changes. status, configuration, and evaluate do not open a memory store or require a hosted Mementos account.

decisions search retrieves a bounded candidate set using the existing project, agent, session, scope, category, and tag filters, then optionally reranks it. Every candidate is retained; ties preserve the original order. On a missing key, timeout, invalid answer, oversized input, or provider failure, the original ordering is returned with an explicit assessment reason. This command has no pagination cursor: its receipt names ranking_scope: "returned_candidates" and reports has_more. Use ordinary search for pagination. JSON includes compact snippets and source IDs/versions, with a 128 KiB output ceiling.

evaluate accepts a JSON file or stdin (--input -). A relationship input is:

{
  "task": "relationship",
  "candidates": [
    { "id": "a", "text": "Production deployment requires approval." },
    { "id": "b", "text": "Production deployment does not require approval." }
  ]
}
```…

Description from the npm listing.

  • memory
  • mementos
  • mcp
  • ai
  • coding-agent
  • claude
  • codex
  • gemini
  • cli
  • sqlite

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

@hasna/mementos weekly downloads on npm, last 90 days: 13,648 weekly downloads as of Oct 18, 2026, +6020% over 90 days.@hasna/mementosWeekly downloads on npm · Last 90 days13,648downloads / week+6020% over 90 days010K20K30K40K50KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
@hasna/mementos weekly downloads on npm, last 90 days: 13,648 weekly downloads as of Oct 18, 2026, +6020% over 90 days.

7/30/90-day growth

@hasna/mementos weekly downloads growth on npm: -42.7% over 7 days, -11.3% over 30 days, +6020% over 90 days.@hasna/mementosWeekly downloads growth on npm13,648downloads / week now7-day growth-10,188 weekly downloads-42.7%30-day growth-1,743 weekly downloads-11.3%90-day growth+13,425 weekly downloads+6020%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@hasna/mementos weekly downloads growth on npm: -42.7% over 7 days, -11.3% over 30 days, +6020% over 90 days.

Ranking history

@hasna/mementos npm ranking history: currently #881 (by weekly downloads).@hasna/mementosnpm ranking · by weekly downloads · Last 90 days#881current rank#300#400#500#600#700#800#900#1000Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
@hasna/mementos npm ranking history: currently #881 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,195 shown · page 45, #5 (overall #885)
All npm: every listing in weekly downloads order

Listing placement

MCP servers300 listings · 15 pages · page 8, #5 (overall #145)
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 @hasna/mementos
Date (UTC)Weekly downloadsChange vs. previous
13,648+5.3K
8,382-3.7K
12,083+2.8K
9,311-6.7K
15,990-4.2K
20,1970
20,197-3.6K
23,836-2.2K
26,007-235
26,242-2K
28,192+2.5K
25,656-314
25,970-3.5K
29,489—

Similar npm MCP servers plugins

All 20 @hasna/mementos 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/@hasna/mementos. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.