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-recorder

v2.0.1

Published

Local-first flight recorder for Claude Code

Readme

Agent Recorder

Local-first flight recorder for Claude Code. Captures a persistent, human-readable timeline of execution including subagents, skills, and MCP tool calls.

Install

npm install -g agent-recorder

Quick Start

# Set up ~/.agent-recorder/ directory
agent-recorder install

# Start the background daemon
agent-recorder start --daemon

# Configure Claude Code integration
agent-recorder configure claude

# Verify everything is working
agent-recorder doctor

After configuration, restart Claude Code to apply changes.

Requirements

  • Node.js >= 20
  • macOS or Linux

Commands

Daemon Lifecycle

  • agent-recorder start [--daemon] - Start the recording daemon
  • agent-recorder stop - Stop the daemon
  • agent-recorder restart - Restart the daemon
  • agent-recorder status - Check if daemon is running

Health & Diagnostics

  • agent-recorder doctor - Comprehensive health check
  • agent-recorder diagnose mcp - MCP proxy diagnostics
  • agent-recorder logs - View daemon logs

Configuration

  • agent-recorder install - Set up directories and show config
  • agent-recorder configure claude - Configure Claude Code MCP settings
  • agent-recorder configure show - Show current configuration

Session Browsing

  • agent-recorder sessions list - List all recorded sessions
  • agent-recorder sessions show <id> - Show session details
  • agent-recorder sessions view <id> - View session events
  • agent-recorder sessions tail <id> - Follow session events in real-time
  • agent-recorder tui - Interactive session explorer

Data Export

  • agent-recorder export <id> - Export session to JSON/JSONL

Testing

  • agent-recorder mock-mcp - Start a mock MCP server for testing

Environment Variables

  • AR_LISTEN_PORT - REST API port (default: 8787)
  • AR_MCP_PROXY_PORT - MCP proxy port (default: 8788)
  • AR_DB_PATH - SQLite database path
  • AR_DOWNSTREAM_MCP_URL - URL of the downstream MCP server to proxy

How It Works

Agent Recorder acts as a transparent MCP proxy between Claude Code and your MCP servers. It records:

  • Tool calls (tools/list, tools/call)
  • Timing and duration
  • Success/error status
  • Metadata (redacted for privacy)

It does not record prompts, chain-of-thought, or sensitive content.

Troubleshooting

Daemon won't start

# Check if port is already in use
lsof -i :8787
lsof -i :8788

# Force stop and restart
agent-recorder stop --force
agent-recorder start --daemon

Claude Code not connecting

# Check configuration
agent-recorder configure show

# Re-configure if needed
agent-recorder configure claude

# Restart Claude Code after configuration changes

No events being recorded

# Run full diagnostics
agent-recorder doctor

# Check MCP proxy specifically
agent-recorder diagnose mcp

# Test with mock MCP server
agent-recorder mock-mcp --port 9999
# In another terminal:
export AR_DOWNSTREAM_MCP_URL="http://127.0.0.1:9999/"
agent-recorder restart

License

MIT