npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@totalreclaw/mcp-server

v3.4.0

Published

End-to-end encrypted memory for AI agents — portable, yours forever. MCP server with XChaCha20-Poly1305 E2EE, semantic search, import/export, and on-chain storage

Readme


End-to-end encrypted memory vault as an MCP server. Your memories are encrypted on your device before leaving -- no one can read them, not even us.

v3.0.0 ships Memory Taxonomy v1 — 6 speech-act types + source / scope / volatility axes on every memory. Four new tools (totalreclaw_pin, totalreclaw_unpin, totalreclaw_retype, totalreclaw_set_scope) let agents override categorization via natural language. Source-weighted reranking ranks user-authored claims above assistant-regurgitated noise. See memory types guide.

Requirements: Node.js 18+

Quick Start

1. Run the setup wizard

npx @totalreclaw/mcp-server setup

The wizard generates your 12-word recovery phrase, registers you, and prints a config snippet for your MCP client.

Save your recovery phrase somewhere safe. It's the only way to recover your encrypted memories.

Note: The first run downloads a ~600MB embedding model for local inference. This is cached locally and only happens once.

2. Add to your MCP client

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "totalreclaw": {
      "command": "npx",
      "args": ["-y", "@totalreclaw/mcp-server"],
      "env": {
        "TOTALRECLAW_RECOVERY_PHRASE": "your twelve word recovery phrase goes here"
      }
    }
  }
}

Note: The server URL defaults to https://api.totalreclaw.xyz (the managed service). You only need to set TOTALRECLAW_SERVER_URL if you are running a self-hosted server.

Cursor / Windsurf

Add to your MCP settings (Settings > MCP Servers):

{
  "totalreclaw": {
    "command": "npx",
    "args": ["-y", "@totalreclaw/mcp-server"],
    "env": {
      "TOTALRECLAW_RECOVERY_PHRASE": "your twelve word recovery phrase goes here"
    }
  }
}

IronClaw (NEAR AI)

Add to your IronClaw MCP configuration (typically ~/.ironclaw/mcp.json or via the IronClaw dashboard):

{
  "mcpServers": {
    "totalreclaw": {
      "command": "npx",
      "args": ["@totalreclaw/mcp-server"],
      "env": {
        "TOTALRECLAW_RECOVERY_PHRASE": "your twelve word recovery phrase goes here"
      }
    }
  }
}

If IronClaw supports a credential vault, store TOTALRECLAW_RECOVERY_PHRASE there instead of in the config file. See the IronClaw setup guide for the full walkthrough including background routines.

3. Verify

Ask your agent: "Do you have access to TotalReclaw memory tools?"

How It Works

All cryptographic operations (XChaCha20-Poly1305, HKDF key derivation, LSH hashing, blind indices, content fingerprinting) are powered by @totalreclaw/core -- a unified Rust/WASM module shared across all TotalReclaw clients.

All encryption happens client-side inside the MCP server process on your machine:

  1. Facts are encrypted with XChaCha20-Poly1305 before leaving your device
  2. Search uses blind indices (SHA-256 hashes) -- the server never sees your queries
  3. Your recovery phrase derives all keys via Argon2id + HKDF
  4. Encrypted facts are stored on-chain (Gnosis Chain) and indexed by The Graph

The server only ever sees ciphertext and hashed tokens.

Available Tools

All 18 tools are invoked by the host agent from natural language context. Tool schemas include v1 taxonomy fields (type, source, scope, reasoning).

| Tool | Description | |------|-------------| | totalreclaw_remember | Store a fact in encrypted memory. Supports v1 taxonomy (type, scope, reasoning) + legacy types for migration | | totalreclaw_recall | Search memories by natural language query. Source-weighted ranking (Retrieval v2 Tier 1) | | totalreclaw_forget | Delete a specific memory by ID | | totalreclaw_pin | Pin a memory so auto-resolution never supersedes it. Accepts fact_id or memory_id | | totalreclaw_unpin | Remove the pin, returning the memory to active status | | totalreclaw_retype (new in v3.0.0) | Change the v1 type of a memory (e.g. preferencedirective) via supersession | | totalreclaw_set_scope (new in v3.0.0) | Change the v1 scope of a memory (e.g. set to work / personal) | | totalreclaw_export | Export all memories decrypted as Markdown or JSON | | totalreclaw_status | Check billing status and quota usage | | totalreclaw_import | Re-import previously exported memories | | totalreclaw_import_from | Import from Mem0, MCP Memory Server, ChatGPT, Claude, or generic JSON/CSV | | totalreclaw_import_batch | Batch import with background polling | | totalreclaw_consolidate | Merge duplicate and related memories | | totalreclaw_debrief | End-of-conversation summary to capture broader context | | totalreclaw_upgrade | Get a link to upgrade to Pro | | totalreclaw_account | View account details (wallet, tier, quota, phrase hint) | | totalreclaw_support | Troubleshooting help + contact links |

Onboarding (recovery phrase): the totalreclaw_setup tool was removed in 3.2.1 for phrase-safety. Onboarding follows the URL-driven flow at docs/guides/claude-code-setup.md: the user sources their phrase out-of-band (OpenClaw / Hermes browser pair flow, offline BIP-39 generator, or a prior ~/.totalreclaw/credentials.json cache) and pastes it into TOTALRECLAW_RECOVERY_PHRASE in the MCP host config. The agent never sees the phrase.

Users invoke the new v1 tools naturally: "pin that", "that was actually a rule, not a preference", "file that under work". Tool descriptions teach the host LLM to match utterances to tools.

Memory Taxonomy v1 (@totalreclaw/core 2.0)

MCP server v3.0.0 writes v1 inner blobs (outer protobuf wrapper version = 4). The six v1 types correspond to Searle's speech-act classes:

  • claim — assertive ("lives in Lisbon", "chose PostgreSQL"). Absorbs legacy fact/context/decision.
  • preference — expressive ("likes dark mode").
  • directive — imperative ("always check d.get(errors)"). Replaces legacy rule.
  • commitment — commissive ("will ship v2 Friday"). Replaces legacy goal.
  • episode — narrative ("deployed v1.0 on March 15"). Replaces legacy episodic.
  • summary — derived synthesis (debrief pipelines only).

v0 types (fact, context, decision, rule, goal, episodic) are still accepted by the remember tool and auto-mapped to v1 equivalents. Recall output includes source and scope when available.

See docs/specs/totalreclaw/memory-taxonomy-v1.md.

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | TOTALRECLAW_RECOVERY_PHRASE | 12-word BIP-39 recovery phrase | Required | | TOTALRECLAW_SERVER_URL | TotalReclaw server URL (only needed for self-hosted) | https://api.totalreclaw.xyz | | TOTALRECLAW_SELF_HOSTED | Use a self-hosted server instead of the managed service | false | | TOTALRECLAW_CREDENTIALS_PATH | Override credentials file location | ~/.totalreclaw/credentials.json | | TOTALRECLAW_CACHE_PATH | Override encrypted cache file location | ~/.totalreclaw/cache.enc |

v1 env cleanup: TOTALRECLAW_CHAIN_ID, TOTALRECLAW_EMBEDDING_MODEL, TOTALRECLAW_STORE_DEDUP, TOTALRECLAW_LLM_MODEL, TOTALRECLAW_SESSION_ID, TOTALRECLAW_TAXONOMY_VERSION, TOTALRECLAW_CLAIM_FORMAT, and TOTALRECLAW_DIGEST_MODE were removed. All tiers use Gnosis mainnet; chain selection is no longer user-configurable. The MCP server silently ignores these vars for a transition period. See the env vars reference.

Free Tier & Pricing

  • Free tier — 250 memories/month on Gnosis mainnet. Permanent storage. Cosine dedup (paraphrase detection). E2E encrypted. No credit card required.
  • Pro tier — 1,500 memories/month on Gnosis mainnet. Permanent. LLM-guided dedup (catches contradictions). Custom extraction interval. Pay via the totalreclaw_upgrade tool or visit https://totalreclaw.xyz/pricing.

Pay with card via Stripe. Use totalreclaw_status to check current pricing. Counter resets monthly.

Development

npm run build    # Build
npm test         # Run tests
npm run lint     # Lint

Learn More

License

MIT