Skip to main content

dev-booger

Multi-port log aggregator with MCP integration for Claude Code.

Run multiple dev servers and aggregate their logs in one terminal with color-coded output.

Installation

pip install dev-booger
# or
uv add dev-booger
# or (recommended for CLI tools)
pipx install dev-booger

Usage

Basic Usage

# Auto-discover and run servers on specified ports
booger 3000 8000 8501

# With explicit commands
booger -c "3000=npm run dev" -c "8000=uvicorn app:main --port 8000"

MCP Mode (for Claude Code)

# Run as MCP server
booger --mcp

Add to ~/.claude.json:

{
  "mcpServers": {
    "booger": {
      "type": "stdio",
      "command": "booger",
      "args": ["--mcp"]
    }
  }
}

Then use MCP tools in Claude Code:

  • get_logs(port=3000) - fetch logs from a port
  • search_logs("error") - search all logs
  • clear_logs() - clear log buffer

Auto-Discovery

Booger automatically discovers what commands to run by checking:

  1. booger.json - explicit port→command mapping
  2. docker-compose.yml - service port mappings
  3. Dockerfile - EXPOSE directives
  4. .env files - PORT variables
  5. package.json - npm scripts with port patterns
  6. pyproject.toml - Python framework detection
  7. Procfile - Heroku-style process definitions
  8. Makefile - dev/run targets

Framework Defaults

Framework Default Port
Next.js 3000
Vite 5173
FastAPI 8000
Flask 5000
Streamlit 8501

Configuration

Create a booger.json in your project:

{
  "ports": {
    "3000": "npm run dev",
    "8000": "uvicorn app:main --port 8000 --reload",
    "8501": "streamlit run app.py"
  }
}

Output

Booger - Multi-port log aggregator

  [3000] npm run dev (from: package.json, next)
  [8000] uvicorn app:main --port 8000 (from: booger.json)

Started port 3000
Started port 8000
Press Ctrl+C to stop all processes

[3000] - ready started server on 0.0.0.0:3000
[8000] INFO:     Application startup complete.
[8000] INFO:     127.0.0.1 - "GET /health" 200
[3000] - compiled successfully

License

MIT

Release files for dev-booger 0.2.2

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

Source distribution (sdist)

Source distribution for dev-booger 0.2.2
File Size Uploaded
dev_booger-0.2.2.tar.gz 91.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dev-booger 0.2.2
File Interpreter ABI Platform
dev_booger-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 107.2 kB

Release files / dev_booger-0.2.2.tar.gz

Download URL dev_booger-0.2.2.tar.gz
Size 91.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d07f830f80cdc895c06e3382cf2f66c65f0fc6114b6113bb246ca81ea0aa18d7
BLAKE2b-256 checksum
How to use checksums
420fd3b57f7fa6eec557e39d6115861e7280d44098515b9e101ec87f9c6db69b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Release files / dev_booger-0.2.2-py3-none-any.whl

Download URL dev_booger-0.2.2-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d993592856f40719a9f0ea71a224d809f463b610a05295a74025c5e9cf758f71
BLAKE2b-256 checksum
How to use checksums
3f147ab951af36e55ae31d3e42a1fc79ff474afbc2cf549959945d4ff6bc82fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

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