Skip to content
PluginStats

@agimon-ai/log-sink-mcp weekly downloads statistics

By agimon-ai · npm · MCP servers

Log sink MCP server with HTTP ingestion and AI analysis

View on npm Stale · Oct 18, 2026

@agimon-ai/log-sink-mcp has 5,500 recorded weekly downloads on npm.

Weekly downloads
5,500
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
—
Among tracked npm listings

About @agimon-ai/log-sink-mcp

log-sink-mcp

AI-powered log analysis MCP server with HTTP ingestion and SQLite storage.

Runtime requirement: Node.js 22.13 or newer. Log storage uses the built-in node:sqlite module, which is unavailable on Node.js 20. Other servers that use this package's /telemetry/node export may run on Node.js 20, but strict engine checks still apply to the installed log-sink package.

Agent integration: skill and CLI

Agent investigations use a log-sink skill and CLI commands, not a dedicated MCP connection. Run from the application's repository so configuration and instance resolution match the existing collector.

log-sink-mcp status
log-sink-mcp logs search 'timeout' --mode fts --limit 20
log-sink-mcp logs trace '<trace-id>'
log-sink-mcp logs agent-issues --global --workflow-run-id '<workflow-run-id>' --limit 20

Use the same local/global instance selector for every query. Query commands reuse stored telemetry without starting a per-agent server. Keep the HTTP/OTEL ingestion service running under its existing lifecycle owner. Never clear logs or restart a shared collector to inspect an incident. The MCP interface documented below remains available for compatibility and transport testing.

Overview

log-sink-mcp provides a complete log analysis solution for AI assistants like Claude. It combines:

  • HTTP Server: REST endpoint for log ingestion from any application
  • MCP Server: 5 application-focused tools for searching/filtering, tracing, and inspecting logs
  • CLI Analysis Commands: Local shell commands for deeper error and agent-issue analysis
  • Pi Extension: Ships a Pi extension that exports the agent's own session telemetry into the sink
  • SQLite Database: Fast local storage with FTS5 full-text search plus cached local embeddings
  • Real-time Analysis: Query logs, trace distributed requests, analyze error patterns

Perfect for debugging, monitoring, and understanding application behavior through AI-powered analysis.

Features

  • ✅ HTTP Log Ingestion: POST logs from any application via REST API
  • ✅ 5 MCP Tools: Search/filter, trace, agent-issue analysis, and inspect stats/services
  • ✅ Agent Telemetry: Pi extension records prompts, turns, tool calls, token usage, and cost
  • ✅ Hybrid Search: FTS5-powered search plus optional local semantic retrieval across messages and errors
  • ✅ Distributed Tracing: Timeline view for trace IDs and span relationships
  • ✅ Error Analysis: Pattern detection and error categorization
  • ✅ Structured Logging: JSON metadata, trace IDs, span IDs
  • ✅ Auto-Migration: Drizzle ORM with automatic schema migrations
  • ✅ Type-Safe: Full TypeScript coverage with Drizzle schema inference

Architecture

┌─────────────┐        HTTP POST         ┌─────────────────┐
│ Application │ ───────────────────────> │  HTTP Server    │
│  (Pino,     │     /logs endpoint       │  (Hono)         │
│  Winston)   │                          │  Port 3100      │
└─────────────┘                          └────────┬────────┘
                                                  │
                                                  ▼
                                         ┌─────────────────┐
                                         │  LogStorage     │
                                         │  Service        │
                                         └────────┬────────┘
                                                  │
                                                  ▼
┌──────────────┐       MCP Protocol      ┌─────────────────┐
│   Claude /   │ <─────────────────────> │   MCP Server    │
│   AI Agent   │    5 App Log Tools      │   (stdio)       │
└──────────────┘                         └────────┬────────┘
                                                  │
                                                  ▼
                                         ┌─────────────────┐
                                         │ SQLite + FTS5 + │
                                         │  local vectors   │
                                         │  ./logs/        │
                                         │  session.db     │
                                         └─────────────────┘

Singleton HTTP Server Management

log-sink-mcp implements automatic singleton coordination to prevent port conflicts when multiple MCP servers run concurrently.

How It Works
  1. Service Discovery: When an MCP server starts, it checks .agiflow/registry/log-sink-mcp-http_{env}.json for an existing HTTP server
  2. Health Check: Pings /health endpoint to verify the registered server is alive
  3. Reuse or Start: If healthy, reuses existing server; otherwise starts a new one
  4. PID Tracking: Process IDs stored in .pids/ for lifecycle management
  5. Auto-Cleanup: Registry and PID files removed on graceful shutdown
Service Registry Schema
{
  "name": "log-sink-mcp-http",
  "port": 3100,
  "host": "localhost",
  "environment": "development",
  "pid": 12345,
  "status": "running",
  "startedAt": "2026-01-15T10:00:00.000Z",
  "metadata": {
    "healthCheckUrl": "http://localhost:3100/health",
    "dbPath": "./logs/session.db"
  }
}
Management Commands
# Check status of HTTP server
bun run src/cli.ts status

# Stop HTTP server
bun run src/cli.ts stop

# Start with auto-coordination
bun run src/cli.ts start

Installation

# From monorepo root
pnpm install

# Optional: install local embedding support for semantic search
pnpm add ruvector-onnx-embeddings-wasm

# Or install globally
pnpm add -g log-sink-mcp

Semantic embeddings are disabled by default. Set LOG_SINK_ENABLE_EMBEDDINGS=true to enable local model loading and semantic indexing. If ruvector-onnx-embeddings-wasm is not installed, log-sink-mcp still starts and falls back to FTS5 search only.

Quick Start

1. Start the Servers…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • pi-package
  • telemetry
  • typescript

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@agimon-ai/log-sink-mcp weekly downloads on npm, last 90 days: 5,500 weekly downloads as of Oct 18, 2026.@agimon-ai/log-sink-mcpWeekly downloads on npm · Last 90 days5,500downloads / week5.5K5.6K5.6K5.7K5.7K5.8K5.8KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 2 observations · Updated Oct…pluginstats.com
@agimon-ai/log-sink-mcp weekly downloads on npm, last 90 days: 5,500 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@agimon-ai/log-sink-mcp weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@agimon-ai/log-sink-mcpWeekly downloads growth on npm5,500downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@agimon-ai/log-sink-mcp weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@agimon-ai/log-sink-mcp npm ranking history: currently #1118 (by weekly downloads).@agimon-ai/log-sink-mcpnpm ranking · by weekly downloads · Last 90 days#1118current rank#1040#1050#1060#1070#1080#1090#1100#1110#1120Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 18, 2026 – Oct 21, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@agimon-ai/log-sink-mcp npm ranking history: currently #1118 (by weekly downloads).

Listing placement

All npm2,429 listings · 122 pages · 1,216 shown · page 57, #14 (overall #1,134)
All npm: every listing in weekly downloads order

Listing placement

MCP servers305 listings · 16 pages · page 12, #9 (overall #229)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (2)
Recent weekly downloads observations for @agimon-ai/log-sink-mcp
Date (UTC)Weekly downloadsChange vs. previous
5,500-263
5,763—

Similar npm MCP servers plugins

All 20 @agimon-ai/log-sink-mcp alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@agimon-ai/log-sink-mcp. First seen Oct 18, 2026; last successful collection Oct 21, 2026. See the methodology.