log-ai-compressor
Local log forensics: compress logs into citable evidence with root-cause confidence tiers.
Connector by hu-chenyu · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying log-ai-compressor?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/hu-chenyu-log-ai-compressor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: debugging, monitoring-observability
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 7 read · 0 write · 0 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 8
Read from the source code; the running server may list different tools.
Read 7 · Look things up without changing anything.
analyze_log_fileanalyze_log_textcheck_environmentcompare_log_filesget_cluster_detaillist_rulesverify_evidence
Not yet classified 1 · We could not tell from the name and description.
export_report
Files it touches
- Any path the agent passes to its tools
Tools (8)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
analyze_log_file分析本机日志文件分析一个或多个本机日志文件(按 mtime 从旧到新合并,适用于轮转日志),返回:统计概览 + 按优先级排序的错误簇 + 根因判定 + 异常标记。输出已经过聚类去重,token 消耗比读原始日志低几个数量级。
analyze_log_text分析日志文本直接分析一段日志文本(用户粘贴的内容、命令输出、Agent 读到的片段)。
check_environment检查运行环境确认工具是否可用、内置规则、AI 解读是否已配置。不传参数即可自检。
compare_log_files多文件对比对比 2~5 个日志文件,列出相对基准文件的「新增 / 消失 / 共同」错误,适配版本回归验证与修复前后对比。对齐分两级:先按消息模板,再按 trace_id 兜底 —— 同一个 trace 在两边措辞不同(同一次事故)时算「共同」而不是「新增 + 消失」两份。每项的 matched_by 字段(template / trace)说明它是怎么对上的。
export_report导出分析报告把指定日志文件导出为压缩报告。Markdown 格式专为投喂 LLM 优化(概览 + Top N 清单 + 典型样例详情),通常比原始日志小 50~500 倍。
get_cluster_detail查看错误簇详情对某个日志文件取单个错误簇的完整证据:典型样例原始行、前后上下文、降噪堆栈(业务帧高亮、系统库帧已折叠)、变量取值分布、全部实例。
list_rules列出内置解析规则列出内置的日志解析规则模板及其适用场景。日志格式没被正确解析时先看这里。
verify_evidence复核结论的出处(日志是否被改过)取证自校验:核对结论的出处是否仍与原始日志一致。传 report_path 复核一份已导出的 JSON 报告(推荐:报告发出后日志可能已被修改或轮转清理);只传 path 是当场自检。返回 VERIFIED / TAMPERED / UNVERIFIABLE / NO_EVIDENCE。**UNVERIFIABLE 不等于 TAMPERED**:前者是「源读不到,验不了」,后者是「回读过了,对不上」。把它们混为一谈,等于指控一个没发生的篡改。本工具的立场是「你不必相信我,自己复核」—— 在把结论当成事实转述给用户之前跑这一步。
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 2,182
- Last commit
- Oct 24, 2026 (7 days ago)
- Last release
- Oct 24, 2026 (7 days ago)
- Last package publish
- Oct 24, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.hu-chenyu/log-ai-compressor- Version
- 2.12.9
- Auth
- No auth
- Packages
- pypi log-ai-compressor
- License
- MIT
- Repository
- github.com/hu-chenyu/log-ai-compressor
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get log-ai-compressor running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
log-ai-compressor MCP server. Agent Mart. https://agentmart.dev/connectors/hu-chenyu-log-ai-compressor (last updated 2026-10-24)