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

@gatewerk/mcp

v1.1.4

Published

The open-source review layer for AI agents. Work done for humans is decided by humans.

Readme

@gatewerk/mcp

The Gatewerk MCP server lets AI agents read and decide reviews from inside Claude Desktop, Claude Code, Cursor, Windsurf, or any Model Context Protocol client. It exposes Gatewerk's review/template/feedback/audit/chain/note APIs as MCP tools, scoped to whatever permissions the API key carries.

Gatewerk is an open-source, self-hosted review layer for AI agents. Work done for humans is decided by humans.

Quickstart

npx @gatewerk/mcp init

The init command prompts for your Gatewerk URL, API key, and (optionally) reviewer email, then prints a config block you paste into your MCP client's settings.

You can also write the config by hand:

{
  "mcpServers": {
    "gatewerk": {
      "command": "npx",
      "args": ["-y", "@gatewerk/[email protected]"],
      "env": {
        "GATEWERK_URL": "https://api.gatewerk.com",
        "GATEWERK_API_KEY": "gwk_...",
        "GATEWERK_REVIEWER": "[email protected]"
      }
    }
  }
}

GATEWERK_REVIEWER is optional — when set, decisions made through the MCP server are attributed to that reviewer. Otherwise the API key's identity is used.

Available tools

Tools are filtered automatically based on the scopes attached to your API key. A key with only reviews:read will not see gatewerk_decide_review.

Reviews

  • gatewerk_create_review — submit a new review request (scope: reviews:create)
  • gatewerk_list_reviews — list reviews with filters (scope: reviews:read)
  • gatewerk_get_review — fetch a review with its template metadata (scope: reviews:read)
  • gatewerk_decide_review — approve / reject / edit / retry a review [deprecated; prefer gatewerk_take_review_action] (scope: reviews:decide)
  • gatewerk_take_review_action — invoke a configurable action on a review; supports built-in and template-specific action IDs (scope: reviews:decide)
  • gatewerk_list_review_actions — introspect the available actions on a review's template (scope: reviews:read)

Templates

  • gatewerk_list_templates — list templates (scope: templates:read)
  • gatewerk_create_template — define a template (scope: templates:write)
  • gatewerk_update_template — modify a template (scope: templates:write)
  • gatewerk_delete_template — remove a template (scope: templates:write)

Chains

  • gatewerk_start_chain_run — start a multi-step review chain from a definition (scope: templates:write)
  • gatewerk_get_chain_run — fetch a chain run + steps by ID (scope: reviews:read)
  • gatewerk_get_chain_for_review — get chain context for a review (scope: reviews:read)

Notes

  • gatewerk_create_note — post a note, optionally pinned to one or more reviews/templates/chain runs (scope: notes:write)
  • gatewerk_list_notes — list notes with filters (author, tags, target, shared/private) (scope: notes:read)

Queries + stats

  • gatewerk_query_feedback — query past decisions for learning (scope: feedback:read)
  • gatewerk_query_audit — query the audit trail (scope: audit:read)
  • gatewerk_get_stats — review metrics + daily trend (scope: stats:read)

Authentication

You'll need a Gatewerk API key with the appropriate scopes. Generate one at:

Common scope bundles:

  • agent (read your reviews + create new ones): reviews:create, feedback:read
  • reviewer (act on the inbox): reviews:read, reviews:decide, templates:read, notes:read, notes:write
  • admin (full surface): all scopes

Environment variables

| Variable | Required | Description | |---|---|---| | GATEWERK_API_KEY | yes | API key (gwk_...) | | GATEWERK_URL | no | Gatewerk base URL (defaults to http://localhost:3100) | | GATEWERK_REVIEWER | no | Reviewer email used as decision attribution |

Links