LogRocket

Plugin

LogRocket 官方插件(已进 Anthropic 官方插件市场)。用户报问题时,让 agent 按用户调出会话回放、网络请求和报错并分析原因,客服不必反复追问复现步骤。需 Claude Code,网站或 App 已接入 LogRocket 付费版(可免费试用 14 天),首次使用按提示登录授权。

LogRocket/logrocket-claude-plugin2
README

LogRocket Plugin for Claude Code

Connect Claude Code to LogRocket to query session replays, metrics, issues, and user behavior using natural language — powered by the LogRocket MCP Server and Ask Galileo.

What's Included

ComponentDescription
MCP ServerConnects Claude Code to the LogRocket API
Use LogRocket SkillTeaches your AI agent how to query LogRocket on your behalf

Available Tools

This plugin connects with ?toolsets=all, so the full set of LogRocket MCP tools is enabled out of the box (including new toolsets as they're added):

ToolToolsetDescription
list_organizationsdefaultList the LogRocket organizations you can access
list_projectsdefaultList the LogRocket projects within an organization
use_logrocketask-galileoRun natural language queries against your LogRocket data, powered by Ask Galileo
find_sessionssessionsFilter LogRocket sessions by user, URL, time range, events, and more
watch_sessionssessionsAnalyze or extract details from specific sessions
get_network_entriessessionsRetrieve a session's network requests and responses as a HAR document
build_metricmetricsQuery LogRocket analytics data
find_issuesissuesList a project's issues, filtered by severity, triage status, type, and time range

To restrict which tools are exposed, change the toolsets query parameter on the MCP server URL in plugins/logrocket/.mcp.json (e.g. ?toolsets=sessions,metrics). See the MCP tools docs for details.

Setup

  1. Add the marketplace: /plugin marketplace add logrocket/logrocket-claude-plugin
  2. Install the plugin: /plugin install logrocket@logrocket
  3. Connect to the MCP server when prompted to authenticate.

Example Prompts

  • "User X reported a problem with checkout. Can you use LogRocket to watch their sessions and figure out the root cause?"
  • "I'm about to work on the search feature — can you use LogRocket to help me understand how it's currently being used?"
  • "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?"
  • "Look at all commits from last week, and check LogRocket data to ensure they didn't introduce any regressions."
  • "Use LogRocket to watch sessions and look at issues to figure out what is highest priority that I work on next."

Learn More

Privacy

This plugin connects to the LogRocket MCP server and handles user session data. See LogRocket's Privacy Policy for details on how data is collected and used.

Validation

Validate the plugin structure using Claude Code's built-in validator:

claude plugin validate .