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 🙏

© 2025 – Pkg Stats / Ryan Hefner

memvault-mcp

v1.0.0

Published

MemVault MCP Server - Connect Claude Desktop to your code memory SaaS

Downloads

93

Readme

MemVault: The Intelligent Memory Layer for AI Agents

Build Status License NPM Version Marketplace

Give your LLMs long-term memory, semantic understanding, and evolving context—with one line of code.

MemVault is a production-grade GraphRAG (Graph Retrieval-Augmented Generation) platform. Unlike simple vector databases that only find "similar words", MemVault builds a dynamic knowledge graph of entities and relationships, allowing your AI to understand context, not just keywords.

Start 7-Day Free Trial | Read Documentation | NPM SDK


Why MemVault?

Building persistent memory is hard. Managing vector databases, embedding pipelines, graph databases, and context windows is even harder. MemVault solves this with a managed API that acts as the hippocampus for your AI agents.

The "Sleep Cycle" Engine (Unique Feature)

Just like the biological brain, MemVault consolidates information asynchronously.

  • Ingest Now, Process Later: We accept data instantly, but deep processing happens in the background.
  • Auto-Consolidation: Every 6 hours, our Sleep Cycle Engine wakes up to merge duplicate entities, prune noise, and strengthen semantic relationships in the graph.
  • Result: Your AI gets smarter over time without you writing a single line of maintenance code.

Production-Grade Features

  • Hybrid Search: Combines pgvector semantic search with keyword extraction for maximum retrieval accuracy.
  • Cost Guard: Built-in financial firewall. We monitor token usage in real-time to prevent runaway API costs from infinite loops or spikes.
  • GraphRAG: Automatically extracts entities (People, Places, Concepts) and maps how they relate to each other.

Quickstart

1. Install the SDK

Stop messing with raw HTTP requests. Our TypeScript SDK gives you full type safety.

npm install memvault-sdk-jakops88

2. Initialize & Use

import { MemVault } from 'memvault-sdk-jakops88';

// Initialize with your 'sk_...' key from the dashboard
const memory = new MemVault({
  apiKey: process.env.MEMVAULT_API_KEY
});

// 1. Store a memory (Text -> Vector + Graph Node)
await memory.add({
  content: "The user, Jakob, is a Senior Developer who prefers TypeScript over Python.",
  tags: ["user-profile", "preferences"]
});

// 2. Ask questions (Retrieves context via GraphRAG)
const context = await memory.search("What is Jakob's preferred language?", {
  limit: 1,
  strategy: 'hybrid' // Uses both Vector and Graph traversal
});

console.log(context);
// Output: "Jakob prefers TypeScript (Confidence: 98%)"

GitHub Actions Integration

Keep your AI updated with your codebase automatically. Use our official Action to sync documentation or code files directly to your MemVault knowledge graph on every push.

# .github/workflows/memvault-sync.yml
name: Sync Docs to Brain
on:
  push:
    paths: ['docs/**']

jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: MemVault Sync
        uses: jakops88-hub/long-term-memory-api/.github/actions/memvault-sync@v1
        with:
          memvault_api_key: ${{ secrets.MEMVAULT_API_KEY }}
          file_paths: "docs/**/*.md"

Architecture & Security

MemVault is built for scale and security, hosted on high-performance infrastructure.

  • API Layer: Node.js/Express with strict rate limiting and validation (Zod).
  • Async Workers: Heavy lifting (Graph extraction, Sleep Cycles) is offloaded to Redis/BullMQ queues to ensure sub-millisecond API response times.
  • Storage: PostgreSQL with pgvector for high-dimensional vector storage.
  • Security: All keys are encrypted. Usage is sandboxed per user via HybridAuth.

Pricing

We offer a straightforward pricing model designed for developers.

| Plan | Price | Features | |------|-------|----------| | Trial | Free (7 Days) | Full access to Hobby tier to test the API. | | Hobby | $29/mo | 100k tokens, GraphRAG, Dashboard access. Hard limits (no overage). | | Pro | $99/mo | 1M tokens, Sleep Cycles (Consolidation), Priority Support. |

View Full Pricing & Upgrade


Self-Hosting (Open Core)

MemVault is Open Core. You can run the stack locally for development or compliant internal usage. Note that Sleep Cycles and Cost Guard are optimized for the managed cloud environment.

Prerequisites

  • Docker & Docker Compose
  • OpenAI API Key (or local Ollama instance)

Setup

  1. Clone the repo:
    git clone [https://github.com/jakops88-hub/long-term-memory-api.git](https://github.com/jakops88-hub/long-term-memory-api.git)
  2. Configure .env:
    cp .env.example .env
    # Add your DATABASE_URL and OPENAI_API_KEY
  3. Run with Docker Compose:
    docker-compose up -d
    The API is now available at http://localhost:3000.

License

MIT © Jakob Sandström