Loggerhead

com.getloggerhead由 getloggerhead.com 发布v1.12.0更新于 Oct 27, 2026

Read the logs, metrics, and traces of the app you are editing, from the Loggerhead Mac app.

概览

AI 生成的概览

把编码助手连接到 Loggerhead Mac 应用,读取本机应用的 OpenTelemetry 日志、指标和链路追踪,并可调整遥测 lint 规则。

可以做什么
  • 查询与读取遥测:按文本、严重级别和时间搜索日志,按名称和时间范围读取时序指标,按服务、操作、耗时查找链路并读取单条链路的全部 span。
  • 查看运行环境:列出本机的所有工作区和环境及其接收端口,报告生效的 OTLP 端口与发送地址,读取日志、指标和 span 的总数。
  • 查看遥测 lint:列出噪声日志、无界标签、密钥泄露、链路上下文丢失等发现项,列出工作区的 lint 规则及其状态和阈值,读取最近一次 AI 分析的发现项。
  • 调整 lint 配置:启用或停用规则、设置或重置阈值、添加或移除例外、忽略或取消忽略发现项,并在代码修改后标记发现项已修复,每项操作都需附理由。
适用场景
适合在 Mac 上编辑已向 Loggerhead 发送 OpenTelemetry 数据的应用时使用,让助手基于真实的日志、指标和链路进行排障,或调整用于标记噪声与泄露插桩的遥测 lint 规则。
运行要求
必须已安装并运行 Loggerhead Mac 应用,应用未运行时桥接程序会退出。以本地 stdio 进程运行,可在 Claude Desktop 中安装 .mcpb 扩展,或让 stdio 客户端指向应用内置的可执行文件。无需配置端口或 API 密钥,桥接程序会在本机回环端口上自动找到应用。仅支持桌面端。
安装前请注意
有八个工具会改变状态:七个修改工作区的 lint 规则,一个标记发现项已修复,每项都需附理由,用户可在应用中看到并撤销。从应用读取的遥测会交给所连接的 MCP 客户端,请留意该客户端如何处理这些数据。数据保存在本机磁盘的 DuckDB 文件中,保留期限由应用设置决定。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Loggerhead,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Loggerhead MCP server

[M8ven Score]

Your coding agent reads your app's logs, metrics, and traces.

Loggerhead is a native Mac app that receives OpenTelemetry logs, metrics, and traces from the software you run on your own Mac, and stores them in a DuckDB file on your disk. The MCP server runs inside the app. This repository holds loggerhead-mcp, the small bridge that connects Claude, Cursor, Codex, Windsurf, or any other MCP client to it.

The tools read the telemetry. Seven tools change the lint rules of a workspace, each with a reason that the user sees and can undo in the app. One tool marks a finding fixed after a code change. The endpoint listens on loopback only. Nothing leaves the Mac.

The Loggerhead app must be installed and running. Download it first. The bridge exits when the app is not running. The free tier includes the MCP server.

Install

Claude Desktop

Download loggerhead-mcp.mcpb from the latest release and open it. Claude Desktop installs the extension.

Claude Code

bash
claude mcp add loggerhead -- "/Applications/Loggerhead.app/Contents/Resources/loggerhead-mcp"

Cursor, Codex, Windsurf, and other stdio clients

Every stdio client takes the same two values. The .mcp.json in this repository is the file to copy:

json
{  "mcpServers": {    "loggerhead": {      "command": "/Applications/Loggerhead.app/Contents/Resources/loggerhead-mcp"    }  }}

The app itself writes this entry for you: open Settings › AI and click Add beside your tool.

The bridge finds the app by itself on a fixed ladder of local ports. You set no port, and it needs no permission to read the app's files. Full instructions: Set up the MCP server.

Tools

ToolPurpose
query_logsSearch log records by text, severity, and time.
query_metricsRead time-series metrics by name and time range.
query_tracesFind traces by service, operation, duration, and time.
get_traceRead every span of one trace.
list_environmentsList every workspace and environment on this Mac, with the receiver ports.
get_receiver_infoReport the effective OTLP ports and the addresses to send telemetry to.
query_improvementsList the telemetry-lint findings: noisy logs, unbounded labels, secrets, lost trace context.
list_lint_rulesList the lint rules of a workspace with their state, thresholds, exceptions, ignored findings, and recent changes.
query_ai_findingsList the findings of the last AI analysis run. It does not start a run.
set_lint_rule_enabledSwitch a lint rule on or off for a workspace, with a reason.
set_lint_thresholdSet one threshold of a lint rule for a workspace, with a reason.
reset_lint_thresholdPut one threshold of a lint rule back to its default, with a reason.
add_lint_exceptionHide the findings of one lint rule for a service, metric, attribute key, operation, or log message, with a reason.
remove_lint_exceptionRemove one lint rule exception, with a reason.
ignore_findingIgnore one lint finding by its id, with a reason.
unignore_findingStop the ignore of one lint finding, with a reason.
mark_finding_fixedMark one lint finding fixed after a code change, so the app judges it by the telemetry after the fix.

One resource, loggerhead://stats, reports the total counts of logs, metrics, and spans. Every parameter is in the tools reference.

Privacy Policy

The bridge and the server read telemetry from the Loggerhead app on the same Mac and hand it to the MCP client you connected. They collect nothing about you, they store nothing of their own, they share nothing with a third party, and they open no network connection except to 127.0.0.1. Data retention is the app's: the telemetry lives in a DuckDB file on your disk for as long as the app's retention setting keeps it, and you can delete the file. The full policy of the publisher, Rubics Code, is at https://getloggerhead.com/privacy. Contact: [email protected].

Registry

The registry name of this server is com.getloggerhead/loggerhead.

  • MCP Registry name: mcp-name: com.getloggerhead/loggerhead

Licence

The loggerhead-mcp bridge and the files in this repository are under the MIT licence.

The bridge contains open-source Swift packages. The .mcpb bundle has Acknowledgements.txt with the licence text and the notice text of each package.

The bridge connects to Loggerhead, a proprietary Mac app by Rubics Code (ABN 40 440 756 434), Australia. The app has a free tier, and the source of the app is not public. The Loggerhead terms of service apply to the app.

来源:README.md,提交 ec4cfeb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

10
  1. v1.12.0最新Oct 13, 2026
  2. v1.11.0Oct 6, 2026
  3. v1.9.0Oct 2, 2026
  4. v1.8.0Oct 1, 2026
  5. v1.7.0Sep 25, 2026
  6. v1.5.0Sep 25, 2026
  7. v1.4.0Sep 24, 2026
  8. v1.3.0Sep 24, 2026
  9. v1.2.1Sep 22, 2026
  10. v1.2.0Sep 22, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分