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

@cortex.memory/cli

v1.0.0

Published

Cortex CLI — persistent memory for Claude Code and AI agents

Readme

Cortex

Persistent memory for Claude Code. Cortex gives your AI agent memory that survives across sessions, projects, and machines.

Install

# Homebrew (recommended)
brew install ProductionLineHQ/tap/cortex

# npx (no install)
npx @cortex-memory/cli init

# npm global
npm install -g @cortex-memory/cli

# curl
curl -fsSL https://cortex.sh/install.sh | sh

Quick Start

# Initialize Cortex (creates DB, starts daemon, wires into Claude Code)
cortex init

# Open Claude Code — Cortex is now active as an MCP server
claude

That's it. Claude Code will automatically read and write memories through the MCP connection. Use the CLI to browse, search, and manage memories directly.

Commands

| Command | Description | |---|---| | cortex init | Initialize Cortex -- create DB, start daemon, wire Claude Code | | cortex status | Show daemon status, DB size, memory count | | cortex doctor | Diagnose and auto-fix common issues | | cortex version | Show version info | | cortex dashboard | Open dashboard in browser | | Memories | | | cortex show [project] | Display memories for current or specified project | | cortex search <query> | Full-text search across all memories | | cortex add [text] | Add a memory | | cortex edit <id> | Edit memory metadata | | cortex delete <id> | Delete a memory | | cortex supersede <id> | Replace a memory with new content | | cortex clear [project] | Delete all memories (with backup) | | Memory Ops | | | cortex memory pin <id> | Pin a memory so it is never garbage-collected | | cortex memory unpin <id> | Unpin a memory | | cortex analytics | Usage stats and insights | | cortex export | Export memories to JSON | | cortex import <file> | Import memories from JSON | | cortex summarize | Manually trigger session summarizer | | cortex review | Interactive review of stale and pending memories | | cortex timeline [project] | Chronological memory history | | cortex link <id> | Link a memory to another project | | Projects | | | cortex projects | List all projects | | cortex project list | List all projects | | cortex project switch <name> | Set the active project | | cortex project rename <id> <name> | Rename a project | | cortex project archive <id> | Archive a project | | Config | | | cortex config show | Display current configuration | | cortex config set <key> <value> | Set a configuration value | | cortex config reset | Reset configuration to defaults | | Sync | | | cortex sync status | Show sync state | | cortex sync setup | Configure Turso sync credentials | | cortex sync now | Force immediate sync | | cortex sync pause | Pause automatic sync | | cortex sync resume | Resume automatic sync | | Templates | | | cortex template list | Browse available templates | | cortex template apply <name> | Apply template to current project | | Maintenance | | | cortex upgrade | Upgrade to latest version | | cortex uninstall | Remove Cortex completely |

All commands support --json for machine-readable output where applicable.

How It Works

Cortex runs a lightweight local daemon that exposes an MCP server. When you start Claude Code, it connects to Cortex automatically and gains the ability to read and write persistent memories. Memories are stored in a local SQLite database and can optionally sync to Turso for multi-machine access.

Documentation

Full docs at cortex.sh

License

MIT