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

engram-mcp

v0.1.0

Published

Engram MCP server - intelligent memory for AI agents

Downloads

101

Readme

engram-mcp

Engram MCP server - intelligent memory for AI agents.

Quick Start

npx -y engram-mcp

Configuration

Cloud Mode (Recommended)

Connect to Engram Cloud for managed memory storage:

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": ["-y", "engram-mcp"],
      "env": {
        "ENGRAM_API_KEY": "engram_live_xxxx",
        "ENGRAM_API_URL": "https://api.example.com"
      }
    }
  }
}

Local Mode (Development)

Run with local infrastructure (FalkorDB, Qdrant):

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": ["-y", "engram-mcp"],
      "env": {
        "ENGRAM_MODE": "local",
        "FALKORDB_URL": "redis://localhost:6379",
        "QDRANT_URL": "http://localhost:6333"
      }
    }
  }
}

Start local infrastructure:

npm run infra:up

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | ENGRAM_API_KEY | API key for cloud mode | - | | ENGRAM_API_URL | Cloud API URL | - | | ENGRAM_MODE | Force mode: cloud or local | Auto-detected | | FALKORDB_URL | FalkorDB connection (local mode) | redis://localhost:6379 | | QDRANT_URL | Qdrant connection (local mode) | http://localhost:6333 | | LOG_LEVEL | Logging level | info |

MCP Tools

engram_remember

Store information in long-term memory.

{
  "content": "User prefers dark mode for all applications",
  "type": "preference",
  "tags": ["ui", "settings"]
}

engram_recall

Search memories using natural language.

{
  "query": "user preferences for UI",
  "limit": 5
}

engram_query (Local Mode Only)

Execute read-only Cypher queries on the graph.

{
  "cypher": "MATCH (m:Memory) RETURN m.content LIMIT 10"
}

engram_context (Local Mode Only)

Get comprehensive context for a task.

{
  "task": "implement authentication",
  "depth": "medium"
}

MCP Resources (Local Mode Only)

| Resource | Description | |----------|-------------| | memory://{id} | Access individual memories | | session://{id}/transcript | Full session history | | session://{id}/summary | Session summary | | file-history://{path} | File change history |

MCP Prompts (Local Mode Only)

| Prompt | Description | |--------|-------------| | /e prime | Load context for a new task | | /e recap | Summarize a past session | | /e why | Understand past decisions |

Capabilities

The server auto-detects client capabilities and enables:

  • Sampling service - Request LLM completions from the client
  • Elicitation service - Request user input mid-operation
  • Roots detection - Project-scoped queries

Transport Options

| Transport | Command | Use Case | |-----------|---------|----------| | Stdio | npm run dev | Claude integration (default) | | HTTP | npm run dev:http | Web clients |

Development

# Install dependencies
npm install

# Run in development mode (stdio)
npm run dev

# Run HTTP transport
npm run dev:http

# Build for production
npm run build

# Type check
npm run typecheck

Publishing

The package is automatically published to npm when a tag matching mcp@* is pushed:

git tag [email protected]
git push --tags

Or publish manually:

npm run build
npm publish --access public

Dependencies

  • @engram/graph - Graph models and schemas
  • @engram/search - Semantic search (local mode)
  • @engram/storage - FalkorDB client (local mode)
  • @modelcontextprotocol/sdk - MCP framework
  • hono - HTTP framework

License

AGPL-3.0 - See LICENSE in the project root.