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

agent-session-replay

v1.0.0

Published

MCP server that captures, indexes, and replays AI coding agent sessions across Claude Code, Cursor, Codex, and other tools. Built with AI by Craftpipe

Readme

Agent Session Replay

Capture, index, and replay AI coding agent sessions to learn from past decisions and extract reusable patterns.

Installation

Quick Start

npx agent-session-replay

Global Installation

npm install -g agent-session-replay

MCP Client Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "agent-session-replay": {
      "command": "npx",
      "args": ["-y", "agent-session-replay"]
    }
  }
}

Cursor

Add to Cursor settings:

{
  "mcpServers": {
    "agent-session-replay": {
      "command": "npx",
      "args": ["-y", "agent-session-replay"]
    }
  }
}

Windsurf

Add to Windsurf configuration:

{
  "mcpServers": {
    "agent-session-replay": {
      "command": "npx",
      "args": ["-y", "agent-session-replay"]
    }
  }
}

Tools

start_session

Begin capturing a new agent session with metadata and context.

start_session(name: string, context: object)

stop_session

End the current session and finalize recording.

stop_session(session_id: string)

log_decision

Record an agent decision point with reasoning and outcome.

log_decision(session_id: string, decision: string, reasoning: string, outcome: string)

search_sessions

Query past sessions by keywords, date range, or tags.

search_sessions(query: string, filters: object)

replay_session

Replay a recorded session step-by-step to audit or learn from past workflows.

replay_session(session_id: string, speed: number)

extract_pattern

Identify and extract reusable patterns from one or more sessions.

extract_pattern(session_ids: string[], pattern_type: string)

get_session_diff

Compare two sessions to identify differences in approach and outcomes.

get_session_diff(session_id_1: string, session_id_2: string)

Features

  • Session Capture — Automatically record agent actions, decisions, and outcomes
  • Full-Text Search — Index and query sessions by keywords, tags, and metadata
  • Pattern Extraction — Identify reusable workflows and decision patterns
  • Session Replay — Step through past sessions for auditing and learning
  • Diff Analysis — Compare approaches across multiple sessions
  • Cross-Platform — Works with Claude Code, Cursor, Codex, and other AI tools

Pricing

Free — Open-source, self-hosted
Premium — $39/month for cloud storage and advanced analytics


Built with AI by Craftpipe
Support: [email protected]

⭐ Pro Features

Upgrade to Pro for additional tools:

  • audit log
  • data export
  • advanced queries

Get Procraftpipe.gumroad.com (€39/mo)

Set PRO_LICENSE=<your-key> environment variable to unlock premium tools.