Skip to main content

Sniffly - Claude Code Analytics Dashboard

Analyze Claude Code logs to help you use Claude Code better.

Website | Quickstart | Features | Sharable dashboard

📊 Features

Understanding your usage patterns

Error breakdown

See where Claude Code makes mistakes so that you avoid these mistakes.

Message history analysis

Walk through all your instructions and share them with your coworkers if needed.

🚀 Quickstart

  • Requirement: Python 3.10+

With UV (recommended)

Make sure you have uv installed! https://github.com/astral-sh/uv

# One-time execution (no installation needed)
uvx sniffly@latest init
# Install the package
uv tool install sniffly@latest
sniffly init

After running sniffly init, access your dashboard on your browser at http://localhost:8081 (or whichever host/port you choose).

If you run Sniffly on a remote server, use port forwarding to open the browser on your local computer.

With pip

pip install sniffly
sniffly init

From source

git clone https://github.com/chiphuyen/sniffly.git
cd sniffly
pip install -e .
sniffly init

🔧 Configuration

Common Settings

# Change port (default: 8081)
sniffly config set port 8090

# Disable auto-opening browser
sniffly config set auto_browser false

# Show current configuration
sniffly config show

All Configuration Options

Key Default Description
port 8081 Server port
host 127.0.0.1 Server host
auto_browser true Auto-open browser on start
cache_max_projects 5 Max projects in memory cache
cache_max_mb_per_project 500 Max MB per project
messages_initial_load 500 Initial messages to load
max_date_range_days 30 Max days for date range selection

See full CLI Reference for all options and commands.

💡 Sharing Your Dashboard

You can create a link to share your project's stats and instructions with your coworkers.

  1. Click the "📤 Share" button in your dashboard
  2. Choose privacy options:
    • Private: Only people with the link can view
    • Public: Listed in the public gallery
    • Include Commands: Share your actual command text
  3. Copy and share the generated link

🚨 Troubleshooting

Common Issues

sniffly help

Port already in use?

# Use a different port
sniffly init --port 8090

# Or change default
sniffly config set port 8090

Browser doesn't open?

# Check setting
sniffly config show

# Enable auto-browser
sniffly config set auto_browser true

# Or manually visit http://localhost:8081

Configuration issues?

# View all settings and their sources
sniffly config show

# Reset a setting to default
sniffly config unset port

# Remove all custom config
rm ~/.sniffly/config.json

For more issues, see GitHub Issues.

🔐 Privacy

Sniffly runs entirely on your local machine:

  • ✅ All data processing happens locally
  • ✅ No telemetry
  • ✅ Your conversations never leave your computer
  • ✅ Shared dashboards are opt-in only

📄 License

MIT License - see LICENSE file.

🔗 Links

Release files for sniffly 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sniffly 0.1.5
File Size Uploaded
sniffly-0.1.5.tar.gz 7.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sniffly 0.1.5
File Interpreter ABI Platform
sniffly-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size:10.5 MB

Release files / sniffly-0.1.5.tar.gz

Download URL sniffly-0.1.5.tar.gz
Size 7.4 MB
Tags Source
SHA-256 checksum
How to use checksums
52e158f6ed7103613456e94c391696ef4e8a2a1c4c3e48bcc22ce2d780e00a72
BLAKE2b-256 checksum
How to use checksums
c59211e99cf14f375613d66db053cc983a457c48193ba2655ce69fb2259cadc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / sniffly-0.1.5-py3-none-any.whl

Download URL sniffly-0.1.5-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
df77a1a305bba6e3f994083fd08af676844cc228bd113d6dd8a5037a3ff3df09
BLAKE2b-256 checksum
How to use checksums
b3aa78b15bf934e3422ef6022ea7fbd1e8cb95cd2fee1548281d13ef11fc2507
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page