claude-viewer
Verified Safeby maxturazzini
Overview
An administrative web application for multi-user visualization and analytics of Claude Code conversation history, supporting direct querying via MCP.
Installation
npm startEnvironment Variables
- CLAUDE_VIEWER_PORT
Security Notes
The application reads conversation data from local user directories (`~/.claude/`), which inherently requires broad file system access. Input parameters for MCP tools are validated using `zod`. File paths are constructed using `path.join`, mitigating direct path traversal risks. HTML escaping (`escapeHtml()`) is used in the frontend for XSS protection. The `exec` and `spawn` calls in `mcp-server.js` are used for internal commands (e.g., `curl` for health check, `node server.js` for starting web server, browser `open` command) with controlled arguments, reducing direct command injection risk. No `eval` or obvious hardcoded secrets were found.
Similar Servers
claude-historian-mcp
Provides an MCP server for Claude Code to search and retrieve insights from conversation history, including past solutions, file changes, and tool usage patterns.
memcord
A privacy-first, self-hosted MCP server for organizing chat history, summarizing messages, and searching past conversations using AI, particularly for Claude interactions.
claude-memory
Provides Claude Code with persistent memory by indexing past conversations, enabling recall of decisions, context, and work across sessions.
claude-session-manager-mcp
Manages Claude Code conversation history and sessions through CLI tools and a web-based GUI.