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

@nacho-labs/angular-grab-mcp

v1.0.4

Published

MCP server for angular-grab — query grabbed elements from AI coding agents

Readme

@nacho-labs/angular-grab-mcp

MCP server for angular-grab — query grabbed elements from AI coding agents

This MCP (Model Context Protocol) server lets AI coding agents like Claude Code, Cursor, and Windsurf access your angular-grab history. It runs a single process that provides both:

  • MCP tools over stdio for AI agent queries
  • HTTP webhook on port 3456 to receive grabs from the browser

Quick setup

Run this in your project root:

npx @nacho-labs/angular-grab add mcp

This writes the MCP server entry to .mcp.json in your project root — the standard config file that Claude Code, Cursor, Windsurf, and other MCP-compatible editors all read automatically. Commit this file so your teammates get the same setup.

Then restart your editor to activate the MCP connection.

Manual setup

Project-scoped (recommended)

Add to .mcp.json in your project root. This works in Claude Code, Cursor, Windsurf, and any editor that supports the MCP standard:

{
  "mcpServers": {
    "angular-grab": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nacho-labs/angular-grab-mcp@latest"]
    }
  }
}

Claude Code — global (all projects)

To register it globally instead of per-project, use the Claude Code CLI:

claude mcp add angular-grab -- npx -y @nacho-labs/angular-grab-mcp@latest

This adds the server to your user-level Claude config rather than .mcp.json, so it's available in every project without needing the file.

Docker

If you prefer to run the server in a container rather than via npx, add this to .mcp.json:

{
  "mcpServers": {
    "angular-grab": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-p", "3456:3456",
        "-v", "angular-grab-history:/data",
        "ghcr.io/nacho-labs-llc/angular-grab-mcp:latest"
      ]
    }
  }
}

The -v angular-grab-history:/data flag uses a named Docker volume so history persists across container restarts without needing a host path. Create it once before first use:

docker volume create angular-grab-history

Note: Only use one entry (angular-grab or angular-grab-docker) at a time. If both are registered, only one will bind port 3456 — the other will log a warning and continue serving MCP tools without receiving new grabs.

Claude Desktop

Add to your Claude Desktop config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "angular-grab": {
      "command": "npx",
      "args": ["-y", "@nacho-labs/angular-grab-mcp@latest"]
    }
  }
}

Environment variables

| Variable | Description | Default | |----------|-------------|---------| | ANGULAR_GRAB_HISTORY_PATH | Path to the history file | ~/.angular-grab/history.json | | ANGULAR_GRAB_PORT | Webhook listener port | 3456 |

How it works

Browser (angular-grab)
  → built-in webhook plugin POSTs to http://localhost:3456/grab
  → saved to ~/.angular-grab/history.json

AI agent (Claude, Cursor, etc.)
  → MCP tool call over stdio
  → reads ~/.angular-grab/history.json
  → returns results

The webhook plugin is built into @nacho-labs/angular-grab and auto-registers when your app starts. No manual plugin setup needed. If the MCP server isn't running, the POST silently fails and copying still works normally.

Both the MCP tools and webhook run inside the same server process. The MCP tools work even if port 3456 is already in use (e.g. multiple editor windows open) — only the webhook listener is affected.

To disable the webhook plugin, pass mcpWebhook: false to provideAngularGrab().

MCP tools

angular_grab_search

Search grab history by text, component name, or file path.

| Parameter | Type | Description | |-----------|------|-------------| | query | string | Search term — matches HTML, component name, file path, selector | | componentName | string | Filter by component name (partial match) | | filePath | string | Filter by file path (partial match) | | limit | number | Max results (default: 10) |

angular_grab_recent

Get the most recently grabbed elements.

| Parameter | Type | Description | |-----------|------|-------------| | limit | number | Number of results (default: 5) |

angular_grab_get

Get a single grab entry by ID.

| Parameter | Type | Description | |-----------|------|-------------| | id | string | The grab entry ID |

angular_grab_stats

Summary of your grab history: total count, unique components, unique files, and activity in the last 24h / 7d.

Example usage

Once configured, you can ask your AI agent things like:

  • "Show me the last 5 elements I grabbed"
  • "Search my angular-grab history for button components"
  • "What components have I grabbed from the auth module?"

License

MIT © Nacho Labs