Claude Code Karma

v1.0.0Developer Toolsstable

Dashboard for monitoring claude code sessions.

agentsagentskillsclaude-codeclaude-code-pluginclaude-code-skills
Share:
226
Stars
0
Downloads
0
Weekly
0/5

What is Claude Code Karma?

Claude Code Karma is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to dashboard for monitoring claude code sessions.

Dashboard for monitoring claude code sessions.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Dashboard for monitoring claude code sessions.

Use Cases

Monitor Claude Code sessions
Create dashboards for agent activity
Track session metrics and performance
JayantDevkar

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-code-karma

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Claude Code Karma

Claude Code Karma is a local web dashboard for monitoring and analyzing Claude Code sessions, providing detailed visibility into session timelines, file operations, token usage, cost breakdowns, and tool consumption patterns across all your projects. It reads Claude Code session data from ~/.claude/ on your machine and presents it through a React frontend backed by a FastAPI server, with optional real-time session tracking via Python hooks. Developers who want to understand how Claude Code is spending tokens, which tools it calls most, and how sessions relate to GitHub issues, Linear tickets, or Jira tasks can use Karma to correlate AI activity with project work.

Prerequisites

  • Python 3.9+ installed
  • Node.js 18+ installed
  • An active Claude Code installation with session data in ~/.claude/
  • pip and npm available on your PATH
1

Clone the repository

Clone the Claude Code Karma repository to your local machine.

git clone https://github.com/JayantDevkar/claude-code-karma.git
cd claude-code-karma
2

Start the API backend

Install Python dependencies and launch the FastAPI backend server. It reads Claude Code session data from ~/.claude/ and serves it on port 8000.

cd api
pip install -e ".[dev]"
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
3

Start the frontend in a new terminal

Install Node.js dependencies and start the React development server. The dashboard will be accessible at http://localhost:5173.

cd frontend
npm install
npm run dev
4

Open the dashboard

Navigate to http://localhost:5173 in your browser to access the session browser, analytics, and project views.

5

Install hooks for live session tracking (optional)

To enable real-time monitoring of active Claude Code sessions, install the provided Python hooks into your ~/.claude/hooks/ directory.

ln -s $(pwd)/hooks/*.py ~/.claude/hooks/

Claude Code Karma Examples

Client configuration

Claude Code Karma runs as a standalone local web app, not as an MCP server injected into Claude Desktop. There is no claude_desktop_config.json entry needed — start the API and frontend separately.

{
  "mcpServers": {}
}
// Claude Code Karma is a standalone dashboard, not an MCP server.
// Run the API on port 8000 and the frontend on port 5173 separately.
// Access the dashboard at http://localhost:5173

Prompts to try

Dashboard workflows and features available in Claude Code Karma for session analysis.

- Navigate to the Analytics tab of a session to view cost breakdown, token usage, and cache hit rate.
- Use Ctrl+K (or Cmd+K) to open the command palette and search sessions by keyword or project name.
- Click the Tools section to see which MCP tools were called most frequently across all sessions.
- Link a session to a GitHub issue by pasting the issue URL in the session detail panel.
- Open the Live Sessions view to see real-time state of currently active Claude Code processes (requires hooks).

Troubleshooting Claude Code Karma

The API backend starts but shows no sessions in the dashboard

The API reads session data from ~/.claude/. Ensure Claude Code has been run at least once and that session files exist in that directory. The backend user must have read access to ~/.claude/.

Live session tracking shows all sessions as STALE or ENDED immediately

Live session tracking requires the Python hooks from the hooks/ directory to be installed in ~/.claude/hooks/. Ensure the symlinks were created correctly with ln -s and that the hook files are executable. Restart Claude Code after installing hooks.

Frontend fails to connect to the API with CORS errors

Ensure the FastAPI backend is running on port 8000 (not a different port) before starting the frontend. If you changed the API port, update the VITE_API_URL environment variable in the frontend .env file to match.

Frequently Asked Questions about Claude Code Karma

What is Claude Code Karma?

Claude Code Karma is a Model Context Protocol (MCP) server that dashboard for monitoring claude code sessions. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Claude Code Karma?

Follow the installation instructions on the Claude Code Karma GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Claude Code Karma?

Claude Code Karma works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Claude Code Karma free to use?

Yes, Claude Code Karma is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "claude-code-karma": { "command": "npx", "args": ["-y", "claude-code-karma"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Claude Code Karma?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides