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

@memly/mcp-server

v0.3.0

Published

Memly MCP Server — persistent memory for any IDE

Readme

@memly/mcp-server

Persistent memory for IDEs that don't support custom LLM providers.

Proxy vs MCP — which one should I use?

Memly has two integration modes:

| Mode | How it works | Best for | |------|-------------|----------| | Proxy (transparent) | Point your IDE's base URL to api.memly.site — memory injected in 100% of requests, invisible | IDEs that support a custom OpenAI-compatible endpoint | | MCP server (this package) | Memly runs as an MCP tool — load_context is called automatically at session start | IDEs locked to their own AI service |


Which mode for my IDE?

✅ Use the Proxy — supports custom endpoint

| IDE / Tool | Where to configure | |-----------|-------------------| | Cursor | Settings → Models → OpenAI Base URL | | Continue.dev (VS Code / JetBrains extension) | config.jsonapiBase | | Zed | settings.jsonapi_url | | Aider | --openai-api-base CLI flag | | Jan.ai | Settings → Model → Engine URL | | LM Studio | Server settings | | Open WebUI | Admin → Connections | | Msty | Settings → Custom provider | | Void | Settings → Custom provider |

❌ Use the MCP server — locked provider, no custom endpoint

| IDE / Tool | Reason | |-----------|--------| | VS Code + GitHub Copilot | Microsoft/GitHub auth — base URL not configurable | | JetBrains AI Assistant | Locked to JetBrains AI Service subscription | | Windsurf (Codeium) | Cascade uses Codeium's own models — no external endpoint | | Amazon Q / CodeWhisperer | AWS-only pipeline | | Tabnine | Proprietary closed service | | Replit AI | Built into Replit, no external provider | | Gitpod AI | Locked to their own service | | Sourcegraph Cody | Locked on free tier | | Claude Desktop | Chat app, not an IDE — MCP native |


Quick Start

1. Get your API key

Go to memly.site/dashboard/api-keys

2. Configure your IDE's MCP server

VS Code / GitHub Copilot — create .vscode/mcp.json in your project:

{
  "servers": {
    "memly": {
      "command": "npx",
      "args": ["-y", "@memly/mcp-server"],
      "env": {
        "MEMLY_API_KEY": "memly_your_key_here"
      }
    }
  }
}

JetBrains (IntelliJ, WebStorm, PyCharm…) — create .idea/mcp.json:

{
  "servers": {
    "memly": {
      "command": "npx",
      "args": ["-y", "@memly/mcp-server"],
      "env": {
        "MEMLY_API_KEY": "memly_your_key_here"
      }
    }
  }
}

Windsurf — Settings → Cascade → MCP Servers → Add:

  • Command: npx
  • Args: -y @memly/mcp-server
  • Env: MEMLY_API_KEY=memly_your_key_here

Claude Desktop — edit claude_desktop_config.json:

{
  "mcpServers": {
    "memly": {
      "command": "npx",
      "args": ["-y", "@memly/mcp-server"],
      "env": {
        "MEMLY_API_KEY": "memly_your_key_here"
      }
    }
  }
}

3. Run auto-setup once per project

Writes the instruction file for your IDE so load_context runs automatically at every session start:

npx @memly/mcp-server init

Auto-detects VS Code, Cursor, Windsurf, Claude Desktop. Run once, never think about it again.


Tools

| Tool | When the AI calls it | |------|---------------------| | load_context | Automatically at session start — loads memories from previous sessions | | search_memories | When you ask about something specific not loaded by load_context | | remember | When you make a decision, solve a problem, or say "remember this" | | list_projects | When you ask to list or switch projects |


Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | MEMLY_API_KEY | ✅ | — | Your Memly API key (memly_...) | | MEMLY_API_URL | — | https://api.memly.site | Override for self-hosted deployments | | MEMLY_PORT | — | 3800 | HTTP transport port (--http mode only) |


Self-Hosted

Run alongside your Memly proxy on your VPS for zero-latency:

MEMLY_API_KEY=memly_... bun run packages/mcp-server/src/index.ts --http

License

BSL-1.1 — Memly Community Edition