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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@fsmiamoto/reagent

v0.0.9

Published

Reagent: MCP server for local code reviews with GitHub-style UI

Readme

ReAgent

Reviews for your Agent

Why is this useful?

In the age of AI coding assistants, ensuring their output code is high quality is essencial.

For that, you often need to provide detailed, line-specific feedback, just like you would do with a human teammate's code.

But pointing to specific lines through chat is clunky, and setting up GitHub PRs for local work-in-progress is overkill.

ReAgent is a lightweight MCP server that opens a familiar, GitHub-style review interface right in your browser to speed your feedback cycles.

ReAgent Usage

Plan Review

Features

  • Interactive browser-based code review UI
  • Line-level comments with file tree navigation
  • Approve or request changes workflow
  • Git integration: review uncommitted changes, specific commits, or branch diffs
  • Local file review: review arbitrary files

Usage

  1. Add it as an MCP server to your favorite Agentic coding tool.
{
  "mcpServers": {
    "reagent": {
      "command": "npx",
      "args": ["@fsmiamoto/reagent@latest"]
    }
  }
}

Two-Step Workflow

ReAgent uses a two-step workflow to enable interactive browser-based code reviews:

  1. create_review: Initiates a review session and returns a URL.
  • Optionally the it can open the browser with the review
  1. get_review: Retrieves the completed review results

Individual Usage Examples

Review uncommitted changes:

{
  "files": ["src/app.ts", "src/utils.ts"],
  "source": "uncommitted"
}

Review a specific commit:

{
  "files": ["src/app.ts"],
  "source": "commit",
  "commitHash": "abc123"
}

When commitHash or base/head are provided, Reagent automatically switches to commit or branch comparison mode even if you omit the source field.

Compare branches:

{
  "files": ["src/app.ts"],
  "source": "branch",
  "base": "main",
  "head": "feature-branch"
}

Review local files without Git:

{
  "files": ["src/app.ts", "README.md"],
  "source": "local"
}

Note: Local mode is useful for reviewing things like implementation plans for agents which you don't want to commit to the repo.

Review every file inside a directory (recursively):

{
  "files": ["src/ui"],
  "source": "uncommitted"
}

Return Values

create_review returns:

{
  "sessionId": "unique-session-id",
  "reviewUrl": "http://localhost:3000/review/unique-session-id",
  "filesCount": 5,
  "title": "Review title"
}

get_review returns:

{
  "status": "approved" | "changes_requested",
  "generalFeedback": "Overall review comments",
  "comments": [
    {
      "filePath": "src/example.ts",
      "lineNumber": 42,
      "text": "Comment text"
    }
  ],
  "timestamp": "2025-11-29T10:30:00Z"
}

License

MIT