sebastienrousseau/rlg

๐Ÿ’ป Developer Tools
0 Views
0 Installs

๐Ÿฆ€ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Log-stream tools for on-call / SRE agent workflows โ€” expose rlg (RustLogs) log files as MCP tools. Three tools: taillog (last N events, filtered by level/target), filterlog (JSON-path-style predicates), summarizeerrors (grouped error taxonomy). Speaks JSON-RPC 2.0 over stdio; near-lock-free structured logging engine underneath (65k-slot ring buffer, 14 output formats, oslog/journald sinks). Install cargo install rlg-mcp or docker run -i ghcr.io/sebastienrousseau/rlg-mcp. Dual-licensed MIT OR Apache-2.0.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "sebastienrousseau-rlg": {
      "command": "npx",
      "args": [
        "-y",
        "sebastienrousseau-rlg"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

RLG logo

rlg โ€” RustLogs

Near-lock-free structured logging for Rust, plus an ecosystem of companion crates: CLI tooling, MCP server, OTLP exporter, tower middleware, WebAssembly bindings, PII redaction, test utilities, and aggregation reports.

Build Miri Crates.io Docs.rs Coverage lib.rs


This is the Cargo workspace root. The library lives at crates/rlg. Ten companion crates ship from this workspace, all at lockstep version 0.0.11.

The rlg ecosystem

CrateWhat it doesUse case
rlgNear-lock-free structured logging engine. 65k-slot ring buffer, deferred formatting, 14 output formats, native OS sinks (os_log via syslog(3), journald).Embed structured logging in any Rust binary or library.
rlg-clirlg binary โ€” jq for structured logs. Tail, filter, convert across all 14 formats.Pipe my-service | rlg --min-level error --format ecs from the shell.
rlg-mcpModel Context Protocol server exposing rlg streams as tools to LLM agents.Claude Desktop, Cursor, mcp.run agents reading your logs.
rlg-otlpOpenTelemetry network exporter (OTLP/HTTP JSON).Ship records to Honeycomb, Datadog, Tempo, Jaeger, otelcol.
rlg-towertower::Layer emitting per-request structured access logs.axum, tonic, hyper, lambda_runtime โ€” any tower::Service.
rlg-wasmwasm-bindgen wrapper for browser / Deno / Cloudflare Workers / Bun, plus a WASI 0.2 component interface for wasmtime hosts.Structured logging from JS or WASI 0.2 components.
rlg-redactPII / secret redaction between Log::fire() and the sink. Aho-Corasick fused alternation regex.Compliance, GDPR, audit-trail safety. Built-in patterns for cards, JWTs, bearers, emails, IPs, AWS keys.
rlg-testTest utilities โ€” capture rlg records in a #[test] scope and assert on them with assert_logged!.Downstream library tests verifying their structured log output.
rlg-reportLog digest / analytics: count by level, top components, top errors, latency percentiles. CLI + library mode.Operational dashboards, daily error reports, oncall triage.
rlg-ebpfEnricher trait + ProcessEnricher (portable) + EbpfEnricher scaffold (Linux, behind the ebpf feature) for automatic PID / process-name attributes.Automatic host-level context on every record without app code changes.
xtask (internal, unpublished)cargo xtask check-all / coverage / audit / doc / examples / bench / release.Maintainer automation.

Install one, install all

[dependencies]
rlg         = "0.0.12"
rlg-otlp    = "0.0.12"  # ship to an OTLP collector
rlg-tower   = "0.0.12"  # HTTP middleware
rlg-redact  = "0.0.12"  # PII redaction

[dev-dependencies]
rlg-test    = "0.0.12"  # assertions in your tests

CLI binaries:

cargo install rlg-cli       # the `rlg` binary
cargo install rlg-mcp       # the `rlg-mcp` MCP server
cargo install rlg-report    # the `rlg-report` digest tool

Tools

The MCP server crate, rlg-mcp, exposes rlg log streams to LLM agents as three MCP tools over the stdio transport:

  • tail_log โ€” path, optional n (default 100) โ†’ last n parseable records, rendered in Logfmt.
  • filter_log โ€” path, optional min_level / component / format โ†’ records matching every supplied filter, in the chosen LogFormat.
  • summarize_errors โ€” path โ†’ JSON map of component โ†’ error_count for ERROR-and-above records.

Workspace layout

.
โ”œโ”€โ”€ Cargo.toml            # workspace manifest (profiles, members)
โ”œโ”€โ”€ README.md             # โ† you are here
โ”œโ”€โ”€ CHANGELOG.md / CONTRIBUTING.md / SECURITY.md
โ”œโ”€โ”€ LICENSE-{APACHE,MIT}
โ”œโ”€โ”€ crates/
โ”‚   โ”œโ”€โ”€ rlg/              # core library
โ”‚   โ”œโ”€โ”€ rlg-cli/          # `rlg` binary + filter/render lib
โ”‚   โ”œโ”€โ”€ rlg-mcp/          # MCP server
โ”‚   โ”œโ”€โ”€ rlg-otlp/         # OTLP/HTTP exporter
โ”‚   โ”œโ”€โ”€ rlg-tower/        # tower::Layer
โ”‚   โ”œโ”€โ”€ rlg-wasm/         # wasm-bindgen + WASI 0.2 component
โ”‚   โ”œโ”€โ”€ rlg-redact/       # PII / secret scrubber (Aho-Corasick)
โ”‚   โ”œโ”€โ”€ rlg-test/         # test utilities
โ”‚   โ”œโ”€โ”€ rlg-report/       # log digest binary + lib
โ”‚   โ”œโ”€โ”€ rlg-ebpf/         # Enricher trait + eBPF (Linux) scaffold
โ”‚   โ””โ”€โ”€ xtask/            # internal automation (publish = false)
โ””โ”€โ”€ .github/
    โ””โ”€โ”€ workflows/
        โ”œโ”€โ”€ ci.yml        # delegates to sebastienrousseau/pipelines
        โ””โ”€โ”€ release.yml   # workspace-aware crates.io publisher

Quick links

License

Dual-licensed under Apache 2.0 or MIT, at your option.

Related MCP Servers

Moxie-Docs-MCPโ˜… Featured

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

๐Ÿ’ป Developer Tools2 views
3KniGHtcZ/codebeamer-mcp

๐Ÿ“‡ โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - Codebeamer ALM integration for managing work items, trackers, and projects. Provides 17 tools for reading and writing items, associations, references, comments, and risk management data via Codebeamer REST API v3.

๐Ÿ’ป Developer Tools1 views
21st-dev/Magic-MCP

Create crafted UI components inspired by the best 21st.dev design engineers.

๐Ÿ’ป Developer Tools0 views
a-25/ios-mcp-code-quality-server

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ - iOS code quality analysis and test automation server. Provides comprehensive Xcode test execution, SwiftLint integration, and detailed failure analysis. Operates in both CLI and MCP server modes for direct developer usage and AI assistant integration.

๐Ÿ’ป Developer Tools0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.