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

@pinagent/mcp

v0.5.0

Published

stdio MCP server for Pinagent — surfaces pending UI feedback (with screenshots and source context) inside Claude Code.

Readme

@pinagent/mcp

stdio MCP server that exposes Pinagent feedback to a coding agent.

Install

npx @pinagent/mcp
# or with an explicit root
PINAGENT_PROJECT_ROOT=/path/to/repo npx @pinagent/mcp

The server walks up from cwd looking for .pinagent/ (then package.json) if PINAGENT_PROJECT_ROOT is unset, and logs the resolved root on startup.

Claude Code config

{
  "mcpServers": {
    "pinagent": {
      "command": "npx",
      "args": ["@pinagent/mcp"],
      "env": { "PINAGENT_PROJECT_ROOT": "${workspaceFolder}" }
    }
  }
}

Tools

| Tool | Purpose | | ----------------------------- | ---------------------------------------------------------------------- | | list_pending_feedback | List pending items, optionally filtered by since / file. | | get_feedback | Full record incl. screenshot as an image content block. | | resolve_feedback | Set status to fixed / wontfix / deferred (or back to pending). | | get_source_context | Return a numbered window of source lines around a file:line. | | get_conversation_transcript | Fetch the full persisted agent transcript for one conversation. |

get_conversation_transcript

Inputs: { id: string, format?: 'text' | 'json' }. Defaults to text — the same plain rendering pinagent transcript produces, so a spawned agent reading a prior run sees identical output regardless of which surface they came through. json returns the raw AgentEvent[] stringified for downstream parsing.

The transcript includes init / result events (the agent wants them for full context) and excludes the internal __finished bus sentinel. Reads directly from the .pinagent/db.sqlite messages table — no HTTP round-trip; same data the dock's transcript prefetch sees. Returns [] for invalid or unknown ids; 404-style "not found" errors only fire when the conversation row itself is missing.

Use it when an agent needs memory of its own prior runs (or another agent's) — for example, to reason about a follow-up turn after the user re-opens a landed conversation.

Channel mode (push events into a running Claude Code session)

The server also declares the claude/channel capability (research preview, requires Claude Code v2.1.80 or later). When Claude Code is launched with the channel flag, the server polls the local SQLite store and pushes a notifications/claude/channel event for each new comment so the agent reacts in your existing session instead of being polled.

Launch the session with both the project-scoped MCP config and the channel development flag:

cd your-project-with-pinagent
claude --dangerously-load-development-channels server:pinagent

The server:pinagent argument matches the key in your .mcp.json. Events arrive in Claude's context as:

<channel source="pinagent" id="..." file="src/Foo.tsx" line="42" col="7" ...>
  the developer's comment
</channel>

If you don't pass the flag, channel notifications are silently dropped and the pull-mode tools above continue to work normally.

Only comments left after the session starts are pushed. The watcher seeds itself with the IDs already in the store at boot and pushes events for items that arrive afterwards, so a backlog of comments queued before you launched the session won't trigger channel events. Reach those with the pull-mode tools (list_pending_feedback / get_feedback).