New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

logoscope-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logoscope-cli

Node.js wrapper for the Logoscope log analysis CLI

latest
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

@logoscope/cli

Node.js wrapper for the Logoscope CLI. On install, downloads the platform-specific binary from GitHub releases and exposes a logoscope command.

Install

npm i -g @logoscope/cli

Environment overrides

  • LOGOSCOPE_REPO_OWNER (default: your-org)
  • LOGOSCOPE_REPO_NAME (default: logoscope)

Usage

# Analyze files or stdin
logoscope app1.log app2.log > summary.json
cat app.log | logoscope --only patterns --format table

MCP Subcommand

This package exposes a Model Context Protocol (MCP) server as a subcommand to integrate with MCP‑compatible editors/agents.

# Start the MCP server over stdio
logoscope mcp

Available Tools

  • analyze_logs — Full JSON summary (accepts stdin or files[], optional timeKey[], timeout).
  • patterns_table — Patterns‑only table with filters (top, minCount, minFrequency, match, exclude, level, examples, groupBy, sortBy, timeout).
  • logs_slice — Raw log slice filtered by start, end, pattern, with before/after context.

Example MCP Config (Claude Desktop)

Create or edit ~/.claude/mcp.json:

{
  "mcpServers": {
    "logoscope": {
      "type": "stdio",
      "command": "logoscope",
      "args": ["mcp"],
      "env": {}
    }
  }
}

Then ask your AI assistant to analyze logs using Logoscope tools.

Keywords

logoscope

FAQs

Package last updated on 08 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts