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

@slashml/mcp

v1.1.3

Published

Official Model Context Protocol (MCP) server for SlashML (Claude Desktop, Claude Code, OpenAI Codex, Cursor, Windsurf, Cline, Zed)

Readme

@slashml/mcp -- SlashML MCP Server

Official Model Context Protocol (MCP) server for SlashML (/ ml). Connects coding and chat agents to the SlashML Cloud API (https://api.slashml.ai).

Quick Install

Claude Code (1-liner)

claude mcp add --scope user ml-memory -- env SLASHML_API_KEY=sml_live_xxx npx -y @slashml/mcp@latest

Cursor / Claude Desktop / Windsurf (mcp.json)

{
  "mcpServers": {
    "ml-memory": {
      "command": "npx",
      "args": ["-y", "@slashml/mcp@latest"],
      "env": {
        "SLASHML_API_KEY": "sml_live_xxx"
      }
    }
  }
}

Code Mode

Expose a single execute_memory_code meta-tool:

claude mcp add --scope user ml-memory-code -- env SLASHML_API_KEY=sml_live_xxx npx -y @slashml/mcp@latest --code-mode

Ambient Lifecycle Hooks

Register UserPromptSubmit, PreToolUse, PostToolUse, and Stop hooks in ~/.claude/settings.json:

npx -y @slashml/mcp@latest --install-hooks --api-key "$SLASHML_API_KEY"

Available Tools (Standard Mode)

  1. search_memories -- Search stored conversational memories, user preferences, and facts.
  2. get_memories -- List conversational memories for a user/agent scope.
  3. forget_memory -- Delete or subject-purge (purge: true) a specific memory by ID.
  4. redact_memory -- Redact sensitive spans statelessly (text) or in-place (memory_id) under a policy preset (tier1_secrets, soc2_coding, gdpr, hipaa, enterprise_strict).
  5. dismiss_intervention -- Record that an active pre-tool intervention was a false positive or superseded for the current target.
  6. index_repository -- Index a git repository for code search and bug localization.
  7. search_code_by_behavior -- Search indexed repository symbols by behavioral or architectural description.
  8. find_bug_candidates -- Rank likely bug locations across a repository from symptoms and stack traces.
  9. add_memory (opt-in via --enable-write-tool; ambient lifecycle hooks assimilate memories automatically by default) -- Explicitly store a persistent conversational memory, user preference, or operational rule.

Per-Agent Access & Redaction Environment Variables

  • SLASHML_AGENT_ID (or --agent-id): Attaches X-SlashML-Agent-Id to enforce per-agent read_write / read_only access modes and redaction clearances configured in https://app.slashml.ai (Redaction & Access).
  • SLASHML_REDACT_POLICY (or --redact-policy): Default redaction policy preset or comma-separated buckets.
  • SLASHML_REDACT_SCOPE (or --redact-scope): memorize_and_recall or recall_only.
  • SLASHML_RUN_ID / SLASHML_PROJECT_ID (or --run / --project): Scope memories and guardrails to an active swarm run and project.

Swarm Guardrails & CLI Commands

# Wrap any stdio or HTTP MCP server with synchronous policy blocking & output redaction
npx -y @slashml/mcp wrap-mcp -- npx -y @modelcontextprotocol/server-postgres "$DATABASE_URL"
npx -y @slashml/mcp wrap-mcp --url https://mcp.example.com/mcp

# Install container PATH shims for mutating shell commands
npx -y @slashml/mcp install-shell-guards --bin-dir /usr/local/slashml-guards/bin

# Mint scoped worker tokens, promote validated run findings, or revoke tokens instantly
npx -y @slashml/mcp mint-token --agent worker-1 --tier worker --run run_42 --project proj_payments --print-env
npx -y @slashml/mcp promote --run run_42 --project proj_payments --discard-unpromoted
npx -y @slashml/mcp revoke-token --agent worker-1

License

Apache-2.0. Connects to the SlashML Cloud Service (https://api.slashml.ai).