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

smriti

v0.3.1

Published

Local-first persistent memory MCP server for AI agents — with consolidation loop and git sync

Readme

Smriti

Local-first persistent memory for AI agents via MCP.

Smriti (स्मृति) — Sanskrit for "memory, remembrance"

One brain. Every agent. Zero cloud. Zero cost.

What is this?

A standalone MCP server backed by sqlite-vec and a local embedding model. Install it, point any MCP-compatible agent at it, and every AI you use shares one persistent, semantically searchable memory.

| | Smriti | Cloud alternatives | |---|---|---| | Setup | npx smriti | Accounts + API keys + config | | Cost | $0 | Variable | | Privacy | 100% local | Data on external servers | | Offline | Full functionality | Needs internet | | Portability | Single .db file | DB export/migration |

Install

npm install -g smriti

Usage

# stdio mode (for Claude Code, Cursor, etc.)
smriti

# HTTP mode (for remote agents)
smriti --http --port 3838

MCP Client Configuration

Claude Code

Add to ~/.claude/mcp.json:

{
  "mcpServers": {
    "memory": {
      "command": "smriti"
    }
  }
}

Cursor

Add to MCP settings:

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["smriti"]
    }
  }
}

Any MCP client (HTTP mode)

smriti --http --port 3838

Then point your client at http://localhost:3838/mcp.

Tools

| Tool | Description | |------|-------------| | capture | Store a thought with auto-extracted metadata | | search | Semantic search — find thoughts by meaning | | recall | Browse recent memories with filters | | forget | Delete a specific memory by ID | | context | Get structured context bundle for a topic | | stats | Memory patterns and insights |

Resources

| URI | Description | |-----|-------------| | memory://recent | Last 24h of thoughts | | memory://topics | Topic index with counts | | memory://people | People mentioned + context | | memory://stats | Overall memory statistics |

Prompts

| Name | Description | |------|-------------| | brain-dump | Guided capture session | | weekly-review | End-of-week synthesis | | migrate | Import memories from other sources |

Configuration

Config lives at ~/.smriti/config.json:

{
  "db_path": "~/.smriti/brain.db",
  "embedding": {
    "provider": "onnx",
    "model": "Xenova/all-MiniLM-L6-v2"
  },
  "extraction": {
    "provider": "rules"
  },
  "server": {
    "transport": "stdio",
    "port": 3838
  }
}

How it works

  1. You (or an agent) call capture with text
  2. Smriti generates a vector embedding locally (all-MiniLM-L6-v2 via ONNX)
  3. Regex-based extraction pulls out people, topics, actions, and classifies the type
  4. Everything is stored in a single SQLite file with sqlite-vec for vector search
  5. search finds thoughts by semantic similarity, not just keywords
  6. All data stays on your machine — nothing leaves localhost

License

MIT