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

@logrocket/mcp

v0.6.1

Published

An MCP (Model Context Protocol) server that enables Claude and other MCP clients to query the LogRocket API in natural language to access information about your LogRocket sessions, metrics, issues, and more. For example, allows you to:

Downloads

2,799

Readme

LogRocket MCP Server

An MCP (Model Context Protocol) server that enables Claude and other MCP clients to query the LogRocket API in natural language to access information about your LogRocket sessions, metrics, issues, and more. For example, allows you to:

  • Pull in context about your app's behavior to help with debugging and fixing errors
  • Get a better sense of how users interact with your app
  • Query a user or account's sessions for targeted investigation

For more information, example usage, and suggested automations, see the LogRocket MCP documentation.

Available Tools

use_logrocket

Run a natural language query against LogRocket. Chains tool calls internally to limit context usage. Offers the same functionality as Ask Galileo in the LogRocket dashboard.

Parameters

  • query (optional) - The natural language query to run against LogRocket data. Required when starting a new query; omit when polling with pollForResult.
  • chatID (optional) - The ID from a previous response to continue a conversation or to poll; omit to start a new conversation
  • pollForResult (optional) - Set to true to poll for completion when the last response had status: thinking

Example Usage

  • Debug user-reported issues: "User X reported a problem with checkout. Can you use LogRocket to watch their sessions and figure out the root cause?"
  • Understand feature usage: "I'm about to work on the search feature — can you use LogRocket to help me understand how it's currently being used?"
  • Triage new issues: "Can you look at LogRocket for new issues from the past week, try to figure out their root causes, and then suggest which ones I can fix?"
  • Check for regressions: "Look at all commits from last week, and check LogRocket data to ensure they didn't introduce any regressions."
  • Prioritize your work: "Use LogRocket to watch sessions and look at issues to figure out what is highest priority that I work on next."

Environment Variables

| Variable | Description | | --------------------- | --------------------------------------- | | LOGROCKET_API_TOKEN | API token for authentication (required) |

The API token is available at https://app.logrocket.com/r/settings/general.

Configuration for MCP Clients

Cursor

Add the following to your Cursor MCP configuration file (~/.cursor/mcp.json):

{
  "mcpServers": {
    "logrocket": {
      "command": "npx",
      "args": ["@logrocket/mcp"],
      "env": {
        "LOGROCKET_API_TOKEN": "..."
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration file:

{
  "mcpServers": {
    "logrocket": {
      "command": "npx",
      "args": ["@logrocket/mcp"],
      "env": {
        "LOGROCKET_API_TOKEN": "..."
      }
    }
  }
}

Configuration File Locations

  • Cursor: ~/.cursor/mcp.json
  • macOS (Claude Desktop): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows (Claude Desktop): %APPDATA%\Claude\claude_desktop_config.json
  • Linux (Claude Desktop): ~/.config/Claude/claude_desktop_config.json

Security Notes

  • Never commit your API token to version control
  • Rotate tokens regularly according to your security policy
  • The token should be treated as sensitive credentials

Troubleshooting

Token not found error

If you see an error about LOGROCKET_API_TOKEN not being set:

  1. Verify the environment variable is set in your MCP configuration
  2. Restart your MCP client after updating the configuration

Connection errors

If you encounter connection timeouts or errors:

  1. Verify you have internet connectivity
  2. Check if the API endpoint is accessible
  3. Verify your API token is valid and not expired
  4. Check for any firewall or proxy restrictions