Log Reader Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Log Reader Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
MCP server for Claude Code — lets Claude start, monitor, search, and detect errors in logs from any project, even ones that don't write log files.
Requirements: Python 3.8+, Claude Code
SSH (if you have GitHub SSH keys set up):
git clone [email protected]:ankit-jhajhria/log-reader-mcp.git ~/.claude/mcp-servers/log-reader && bash ~/.claude/mcp-servers/log-reader/setup.shHTTPS (works without SSH keys):
git clone https://github.com/ankit-jhajhria/log-reader-mcp.git ~/.claude/mcp-servers/log-reader && bash ~/.claude/mcp-servers/log-reader/setup.shRestart Claude Code after install.
Ubuntu/Debian users: If setup fails with avenverror, runsudo apt install python3-venvfirst — the script will tell you this too.
Start your terminal inside tmux once:
tmux new -s myserverThen tell Claude:
run "docker compose up --build" in my tmux session "myserver"Claude sends the command to your terminal — you watch it run. To stop:
stop docker in tmux session "myserver"Claude sends Ctrl+C to the pane. You see it stop in real time.
Open Claude Code in your project and say:
run "node server.js" and capture the logsClaude starts the server in the background, captures all terminal output, and tails the log immediately. Always set the working directory so the command runs from the right folder:
run "npm start" in /home/user/my-node-project and capture the logsTo check for problems:
detect errors in the captured logTo restart after a code change:
restart the serverTo stop it:
stop the servertail logs/debug.logdetect errors in logs/debug.logsearch logs/debug.log for "Traceback" with 3 lines of contextshow me new lines in logs/debug.log since line 400list log files in the logs folderFiles modified in the last 60 seconds are marked [active] so you can spot the right one instantly.
| Tool | What it does |
|---|---|
tmux_sessions() | List all running tmux sessions and panes |
tmux_new_session(session, command, cwd) | Create a new tmux session, optionally run a command in it |
tmux_run(session, command, pane, wait) | Send a command to a tmux pane — runs visibly in your terminal |
tmux_read(session, pane, lines) | Read output directly from a tmux pane — no log file needed |
tmux_send_keys(session, keys) | Send raw keys like Ctrl+C, Ctrl+D, Enter to stop/control processes |
| Tool | What it does |
|---|---|
run_and_capture(command, cwd, log_file) | Start any server in background, capture all output to a file |
list_captured_processes() | Show all running/stopped captured processes |
stop_process(pid) | Stop a process |
restart_process(pid) | Stop and restart with the same command and working directory |
| Tool | What it does |
|---|---|
detect_errors(path, last_lines) | Auto-scan for ERROR, Exception, Traceback, WARNING, CRITICAL, fatal |
tail_file(path, lines=80) | Last N lines of any log file |
get_new_lines(path, after_line) | New lines since line N — use to poll a running server |
search_log(path, pattern, context_lines) | Regex/string search with optional surrounding context lines |
list_log_files(directory, pattern) | List log files with sizes and active status |
file_info(path) | Size, modified time, line count |
`python3-venv` error on Ubuntu/Debian:
sudo apt install python3-venvPermission denied reading a log file: Some system logs (e.g. /var/log/syslog) require elevated permissions. Run Claude Code with sudo or copy the log to a readable location.
Process exits immediately after `run_and_capture`: The tool detects this and shows you the output. Common causes: wrong command, port already in use, missing dependencies. Fix the command and try again.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.