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

@loupekit/mcp

v0.6.0

Published

MCP server that exposes Loupe comments to Claude Code as an actionable, fully-contextualized backlog.

Readme


Overview

Product managers pin visual feedback on the live product with the Loupe SDK or browser extension. This MCP server lets Claude Code read that feedback, open each comment with everything needed to make the change, and flow the status back when the work is done — closing the loop.

What Claude gets

Each comment arrives as a ready-to-act package: the natural-language request, the page URL, the target element (stable id / CSS path), its outer HTML, a curated slice of computed styles, and a screenshot URL. No more "the header looks off somewhere" — Claude knows the element, its state, and the page.

Tools

| Tool | Description | | --- | --- | | list_comments(status?, url?) | List comments, optionally filtered by status (open / in_progress / done) or page URL. | | get_comment(id) | The full Claude-ready package for one comment: request + element HTML + computed styles + screenshot URL. | | update_status(id, status) | Move a comment across the workflow (openin_progressdone) so triage state stays in sync. |

Install

npm i -g @loupekit/mcp     # exposes the `loupe-mcp` binary

Also mirrored to GitHub Packages as @mohamed-ashraf-elsaed/mcp — add @mohamed-ashraf-elsaed:registry=https://npm.pkg.github.com to your .npmrc to install from there.

Configure Claude Code

Add Loupe to your MCP servers (e.g. in .mcp.json or via claude mcp add):

{
  "mcpServers": {
    "loupe": {
      "command": "loupe-mcp",
      "env": {
        "LOUPE_API": "https://loupe.yourbackend.com",
        "LOUPE_PROJECT_KEY": "pk_live_yourkey",
        "LOUPE_ADMIN_KEY": "sk_live_yoursecret"
      }
    }
  }
}

Then ask Claude Code: "List the open Loupe comments and fix the first one."

Environment variables

| Variable | Default | Description | | --- | --- | --- | | LOUPE_API | http://localhost:8787 | Base URL of the Loupe backend API. | | LOUPE_PROJECT_KEY | pk_demo_acme | The project whose comments to expose. | | LOUPE_ADMIN_KEY | (empty) | The project secret — authenticates the server as admin (X-Loupe-Admin). Required against a real backend. |

Where the comments come from

The dashboard is the human side of the same backlog Claude reads:

Transport

Runs over stdio using the official @modelcontextprotocol/sdk. The published package ships compiled JS (dist/index.js), so npm i -g @loupekit/mcp exposes a working loupe-mcp binary. From a source checkout it also runs directly with node index.ts (Node 24+ native type-stripping).

Related packages

| Package | Description | | --- | --- | | @loupekit/sdk | The embeddable widget that captures the feedback. | | @loupekit/shared | The canonical TypeScript types shared across the platform. |

License

MIT © Mohamed Ashraf Elsaed