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

@mneia/mcp-server

v0.21.1

Published

MCP server exposing Mneia to Claude Code, Cursor, Codex, and any MCP client.

Readme

@mneia/mcp-server

The Mneia MCP server - shared project memory and handoff for teams working with AI agents, exposed as MCP tools to Claude Code, Cursor, Codex, and any other MCP client.

Your agent forgets between sessions. Your teammates never knew in the first place. Mneia captures what a session decided, and gives the next session - or the next person - the part of it that matters.

Install

Install both customer clients once. Node 20.11 or newer.

npm install -g @mneia/cli @mneia/mcp-server
mneia login
mneia init
mneia mcp install

The last command detects installed MCP clients and writes each client’s native format. Target one explicitly when an agent is doing the setup:

mneia mcp install --client codex --yes
mneia mcp list --client codex

Supported client ids include codex, claude-code, claude-desktop, cursor, gemini-cli, vscode, and windsurf. Complete copyable agent prompts and manual fallbacks live in the client setup docs.

Confirm the client picked it up - in Claude Code, /mcp should list mneia as connected with twelve tools. Then ask the agent to rehydrate; on a fresh project it will say there is nothing stored yet rather than erroring, which is how you tell "connected and empty" from "not connected".

The server speaks MCP over stdio. Run it from a client, not by hand - mneia-mcp --help and mneia-mcp --version are the only things it does interactively.

Tools

| Tool | When the agent should call it | |---|---| | mneia_rehydrate | Once at the start of every session, and again whenever the task changes. Loads the minimal high-signal slice: active constraints, decisions and their reasons, open questions, and what was recently superseded so it is not re-proposed. | | mneia_checkpoint | At a task or day boundary. Records a batch of extracted items as one atomic checkpoint. | | mneia_assert | The moment a single decision, constraint, or open question is settled mid-session. | | mneia_search | When you already know what you are looking for - not as a substitute for rehydrate. | | mneia_retire | An item was never right, or has stopped being true, and nothing replaces it. A correction, not a deletion: the row stays and the reason is recorded. Only a human actor may retire. | | mneia_handoff_create | Work is stopping and somebody else will resume it. Freezes a receivable artifact; the rendered markdown is fixed at that moment, the item links stay live. | | mneia_handoff_receive | Resuming work somebody handed over. Call it before rehydrating - the handoff says what the sender thought mattered, the slice says what the store thinks matters now. | | mneia_handoff_inbox | Checking whether work was handed to the current actor before starting. | | mneia_team | Resolving the names and ids a handoff can be addressed to. | | mneia_sessions | Seeing which client sessions have worked in the bound repository. | | mneia_review_queue | Surfacing items that still require a human decision. | | mneia_review_confirm | Relaying one decision a person gave on a queued item, after they were asked. |

Two rules are enforced by the server, not left to the agent:

  • A load-bearing item, or one that supersedes an existing item, is never written automatically. It comes back in a pending queue that the client must surface to a human verbatim. Auto-confirming it would erase the disagreement the human needs to settle.
  • An agent never overwrites something a human confirmed. Provenance is read from the store, not from the tool call.

Configuration

| Variable | Purpose | |---|---| | MNEIA_TOKEN | Mneia API token from mneia login. Set it in the MCP client's server config. | | MNEIA_API_URL | API endpoint. Defaults to https://app.mneia.dev. | | MNEIA_HOME | Absolute path to the directory holding the credentials and the local binding. Defaults to ~/.mneia. @mneia/cli honours it too, so a login written under it is found here. | | MNEIA_CREDENTIALS_PATH | Absolute path to the credentials file, instead of <MNEIA_HOME>/credentials. | | MNEIA_TELEMETRY | Set to off to opt out of usage events. |

Privacy

Mneia is hosted. Your context is stored in the service, and access to it is enforced by controls - workspace scope on every row, Postgres row-level security, retention, and residency - not by where the bytes happen to sit. Usage events carry ids and timings, never your content, and MNEIA_TELEMETRY=off turns them off entirely.

Read the privacy policy for what is kept and for how long.

Stability

0.1.x. Tool names are stable; their argument and return shapes will move before 1.0.

See also

  • @mneia/cli - login, init, MCP client setup, brief, checkpoint, handoff, and project administration
  • @mneia/core - the library underneath both

Apache-2.0.