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

@memorilabs/memori-mcp

v1.0.0

Published

Memori MCP server — persistent AI memory with recall and augmentation tools

Readme

Memori MCP

Persistent AI memory for any MCP-compatible agent — no SDK required.

memori-mcp is the official Memori MCP server. Connect it to your AI agent to give it long-term memory: recall relevant facts before answering, store durable preferences after responding, and maintain context across sessions.


Why Memori

Without persistent memory, every session starts from zero. With Memori, your agent:

  • Remembers preferences — "I prefer Python and use uv for dependency management" is recalled in future sessions automatically
  • Personalizes responses — past context shapes every answer without manual re-prompting
  • Isolates memory by user and workflow — scoped per entity_id and process_id so preferences never bleed across users or projects
  • Works with any MCP client — no SDK, no code changes, just config

LoCoMo Benchmark

Memori was evaluated on the LoCoMo benchmark for long-conversation memory and achieved 81.95% overall accuracy while using an average of 1,294 tokens per query. That is just 4.97% of the full-context footprint, showing that structured memory can preserve reasoning quality without forcing large prompts into every request.

Compared with other retrieval-based memory systems, Memori outperformed Zep, LangMem, and Mem0 while reducing prompt size by roughly 67% vs. Zep and lowering context cost by more than 20x vs. full-context prompting.

Read the benchmark overview or download the paper.


How It Works

The server exposes two tools:

| Tool | When to call | What it does | |------|-------------|--------------| | recall | Start of each user turn | Fetches relevant memories for the current query | | advanced_augmentation | After composing a response | Stores durable facts and preferences for future sessions |

Example Agent Flow

Given the message: "I prefer Python and use uv for dependency management."

  1. Agent calls recall with the user message as query
  2. Agent uses any returned facts to compose a response
  3. Agent calls advanced_augmentation with the user message and response

On a later turn — "Write a hello world script" — the agent recalls the Python + uv preference and personalizes its response automatically.


Prerequisites

  • A Memori API key from app.memorilabs.ai
  • An entity_id to identify the end user (e.g. user_123)
  • An optional process_id to identify the agent or workflow (e.g. my_agent)

Export these in your shell or replace the placeholders directly in your config:

export MEMORI_API_KEY="your-memori-api-key"
export MEMORI_ENTITY_ID="user_123"
export MEMORI_PROCESS_ID="my_agent"   # optional

Server Details

| Property | Value | |----------|-------| | Endpoint | https://api.memorilabs.ai/mcp/ | | Transport | Stateless HTTP | | Auth | API key via request headers |

Headers

| Header | Required | Description | |--------|----------|-------------| | X-Memori-API-Key | Yes | Your Memori API key | | X-Memori-Entity-Id | Yes | Stable end-user identifier (e.g. user_123) | | X-Memori-Process-Id | No | Process, app, or workflow identifier for memory isolation |

session_id is derived automatically as <entity_id>-<UTC year-month-day:hour> — you do not need to provide it.


Verifying the Connection

After configuring any client:

  1. Confirm the MCP server shows as connected in your client's UI
  2. Check that recall and advanced_augmentation appear in the tools list
  3. Send a test message — recall should return a response (even if empty for new entities)
  4. Verify advanced_augmentation returns memory being created

If you receive 401 errors, double-check your X-Memori-API-Key value. See the Troubleshooting guide for more help.


Links