原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Spoor

作者:asinha07版本 0.3.1i★ –i在你的电脑上运行
注册名称io.github.asinha07/spoor

安装

概览

作者提供的说明(英文原文)

What changed across metrics, logs and traces, and where it started (Grafana, Victoria, New Relic).

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:SPOOR_METRICS_TOKEN, SPOOR_LOGS_TOKEN, SPOOR_TRACES_TOKEN, NEW_RELIC_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SPOOR_METRICS_TYPE, SPOOR_LOGS_TYPE, SPOOR_TRACES_TYPE, SPOOR_METRICS_URL, SPOOR_LOGS_URL, SPOOR_TRACES_URL, SPOOR_METRICS_TOKEN, SPOOR_LOGS_TOKEN, SPOOR_TRACES_TOKEN, NEW_RELIC_ACCOUNT_ID, NEW_RELIC_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "spoor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1",
        "serve"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "your-value",
        "SPOOR_LOGS_TYPE": "your-value",
        "SPOOR_TRACES_TYPE": "your-value",
        "SPOOR_METRICS_URL": "your-value",
        "SPOOR_LOGS_URL": "your-value",
        "SPOOR_TRACES_URL": "your-value",
        "SPOOR_METRICS_TOKEN": "your-value",
        "SPOOR_LOGS_TOKEN": "your-value",
        "SPOOR_TRACES_TOKEN": "your-value",
        "NEW_RELIC_ACCOUNT_ID": "your-value",
        "NEW_RELIC_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add spoor --env SPOOR_METRICS_TYPE=your-value --env SPOOR_LOGS_TYPE=your-value --env SPOOR_TRACES_TYPE=your-value --env SPOOR_METRICS_URL=your-value --env SPOOR_LOGS_URL=your-value --env SPOOR_TRACES_URL=your-value --env SPOOR_METRICS_TOKEN=your-value --env SPOOR_LOGS_TOKEN=your-value --env SPOOR_TRACES_TOKEN=your-value --env NEW_RELIC_ACCOUNT_ID=your-value --env NEW_RELIC_API_KEY=your-value -- docker run -i --rm -e SPOOR_METRICS_TYPE -e SPOOR_LOGS_TYPE -e SPOOR_TRACES_TYPE -e SPOOR_METRICS_URL -e SPOOR_LOGS_URL -e SPOOR_TRACES_URL -e SPOOR_METRICS_TOKEN -e SPOOR_LOGS_TOKEN -e SPOOR_TRACES_TOKEN -e NEW_RELIC_ACCOUNT_ID -e NEW_RELIC_API_KEY ghcr.io/asinha07/spoor:0.3.1 serve

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "spoor": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1",
        "serve"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "your-value",
        "SPOOR_LOGS_TYPE": "your-value",
        "SPOOR_TRACES_TYPE": "your-value",
        "SPOOR_METRICS_URL": "your-value",
        "SPOOR_LOGS_URL": "your-value",
        "SPOOR_TRACES_URL": "your-value",
        "SPOOR_METRICS_TOKEN": "your-value",
        "SPOOR_LOGS_TOKEN": "your-value",
        "SPOOR_TRACES_TOKEN": "your-value",
        "NEW_RELIC_ACCOUNT_ID": "your-value",
        "NEW_RELIC_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "spoor": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOOR_METRICS_TYPE",
        "-e",
        "SPOOR_LOGS_TYPE",
        "-e",
        "SPOOR_TRACES_TYPE",
        "-e",
        "SPOOR_METRICS_URL",
        "-e",
        "SPOOR_LOGS_URL",
        "-e",
        "SPOOR_TRACES_URL",
        "-e",
        "SPOOR_METRICS_TOKEN",
        "-e",
        "SPOOR_LOGS_TOKEN",
        "-e",
        "SPOOR_TRACES_TOKEN",
        "-e",
        "NEW_RELIC_ACCOUNT_ID",
        "-e",
        "NEW_RELIC_API_KEY",
        "ghcr.io/asinha07/spoor:0.3.1",
        "serve"
      ],
      "env": {
        "SPOOR_METRICS_TYPE": "your-value",
        "SPOOR_LOGS_TYPE": "your-value",
        "SPOOR_TRACES_TYPE": "your-value",
        "SPOOR_METRICS_URL": "your-value",
        "SPOOR_LOGS_URL": "your-value",
        "SPOOR_TRACES_URL": "your-value",
        "SPOOR_METRICS_TOKEN": "your-value",
        "SPOOR_LOGS_TOKEN": "your-value",
        "SPOOR_TRACES_TOKEN": "your-value",
        "NEW_RELIC_ACCOUNT_ID": "your-value",
        "NEW_RELIC_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SPOOR_METRICS_TYPE env
    Backend for metrics: victoriametrics (default), prometheus or newrelic
  • SPOOR_LOGS_TYPE env
    Backend for logs: victorialogs (default), loki or newrelic
  • SPOOR_TRACES_TYPE env
    Backend for traces: victoriatraces (default), tempo or newrelic
  • SPOOR_METRICS_URL env
    Metrics backend URL (VictoriaMetrics or Prometheus) as seen from the container, e.g. http://host.docker.internal:8428
  • SPOOR_LOGS_URL env
    Logs backend URL (VictoriaLogs or Loki) as seen from the container, e.g. http://host.docker.internal:9428
  • SPOOR_TRACES_URL env
    Traces backend URL (VictoriaTraces or Tempo) as seen from the container, e.g. http://host.docker.internal:10428
  • SPOOR_METRICS_TOKEN 机密 env
    Bearer token for the metrics backend, if it requires one
  • SPOOR_LOGS_TOKEN 机密 env
    Bearer token for the logs backend, if it requires one
  • SPOOR_TRACES_TOKEN 机密 env
    Bearer token for the traces backend, if it requires one
  • NEW_RELIC_ACCOUNT_ID env
    New Relic account ID, for signals of type newrelic
  • NEW_RELIC_API_KEY 机密 env
    New Relic User API key (NRAK-...), for signals of type newrelic

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 asinha07 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4904 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4904 个服务器的 72% 更新
  • 基础检查结果等于或优于此分类中其他 4904 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Spoor 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SPOOR_METRICS_TOKEN, SPOOR_LOGS_TOKEN, SPOOR_TRACES_TOKEN, NEW_RELIC_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.1)于15天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Spoor

Spoor tells an AI agent what changed in your services, and where it started, in a few hundred tokens.

Website: [telespoor.com](https://telespoor.com)

Spoor is an open-source MCP server and CLI for your observability backends: the VictoriaMetrics stack, Prometheus, Loki, Tempo and New Relic. When something breaks, an agent asks Spoor *"what changed in the last 30 minutes?"* and gets back a short, ranked answer across metrics, logs and traces, with the service where the failure started at the top and its echoes in other services labelled as such.

*Spoor* (n.): the track or trail left by an animal. Spoor follows the trail a failure leaves in your telemetry back

to where it started.

$ spoor what-changed --since 30m
{

"summary": "11 change(s) in 3 services. Strongest: payment — Failures start here, in \"POST /charge\" (100% of 100 failed traces). Also: payment — Span \"POST /charge\" errors 0.2% → 43.7% (229 spans). … Errors not significantly up (not new) in: product-catalog, recommendation, ad.", "findings": [ {"service": "payment", "signal": "traces", "kind": "error_origin", "score": 0.99, "title": "Failures start here, in \"POST /charge\" (100% of 100 failed traces)"}, {"service": "payment", "signal": "logs", "kind": "new_log_pattern", "score": 0.94, "title": "New error log pattern: \"charge failed: card processor returned for order \""}, {"service": "payment", "signal": "metrics", "kind": "error_rate_up", "score": 0.92, "title": "Error rate up: 0.2% → 40.5%", "onset": "2026-10-16T09:50:00Z"}, {"service": "checkout", "signal": "logs", "kind": "spiking_log_pattern", "score": 0.74, "title": "Error log pattern spiking: \"call to payment.Charge failed with status \" — originates in payment"} ], "coverage": {"metrics": "ok", "logs": "ok", "traces": "ok"} }

Findings carry evidence links to the query behind them (when the token budget allows), so a human can check the agent's work in one click.

Why use it

In a microservice failure, the broken service and every caller of it all light up. An agent with only raw query tools has to decide what to query, compare against "normal" itself, page through results and work out which service is the cause and which are echoes. It burns tool calls and tokens, and often blames the loudest symptom or an error that was always there.

Spoor does that work in plain, deterministic Go and hands the agent the conclusion's evidence:

  • Cross-signal: request rate, error rate, latency, CPU, memory and consumer lag; new and spiking errors and error volume from logs; per-span errors and latency, all for the same window against the same baseline.
  • Built for real logs: messages that differ only by IDs, values, stack traces or log prefixes count as one error; JSON errors are read by their message and code fields; services can use different level fields or put the level in the text; spoor doctor finds your fields and writes the config.
  • Cause vs. echo: trace trees show where failures start and where latency is added. Callers that merely suffer are demoted and labelled — originates in payment.
  • Steady errors called out: errors that were already there are listed as steady_errors, "not a new problem", so agents stop blaming them.
  • Bounded output: every tool takes budget_tokens (default 800).
  • Honest about gaps: coverage says when a backend failed or had no data, the baseline was empty, the error filter matched nothing, or lines lack a service or level field. "No change" never stands in for "can't see".
  • No LLM inside, read-only, redacted: same input, same output; only query endpoints are ever called; every text field is scrubbed of emails, tokens, IPs and generated IDs before it leaves.
Measured

The benchmark runs Claude Code headless on six incidents (five faults and a no-fault control), five times each, once with the official VictoriaMetrics MCP servers alone and once with Spoor added. On Claude Haiku, 60 isolated sessions:

Official Victoria MCP servers+ Spoor
Correct root cause, fault scenarios19/2525/25
Correct answer, all scenarios incl. "nothing is wrong"23/3030/30
Median tool calls per investigation2410
Median time55 s23 s
Total cost$0.60$0.19 (−68%)

Synthetic incidents and one small model, so treat it as a first data point.

On real production logs (about 25 services, mixed formats, read-only replay): the digest was 99.8% smaller than the raw evidence it replaces, with zero candidates against four from v0.1.1, and its baseline counts matched independent queries exactly. It was not faster than four hand-written queries (28 s vs 26 s), and accuracy on real incidents is not yet measured.

Method, per-scenario results, the production replay and caveats: docs/benchmark.md.

Quickstart

Requires Go 1.25+, Docker and jq. About five minutes.

git clone https://github.com/asinha07/spoor && cd spoor

make it-up # empty VictoriaMetrics, VictoriaLogs, VictoriaTraces in Docker make demo-data # six synthetic incidents; ground truth in scenarios/out/ make build

T=scenarios/out/payment-failure.truth.json ./bin/spoor what-changed --since $(jq -r .since $T) --until $(jq -r .until $T) --pretty

Connect it to Claude Code:

claude mcp add spoor \

-e SPOOR_METRICS_URL=http://localhost:8428 \ -e SPOOR_LOGS_URL=http://localhost:9428 \ -e SPOOR_TRACES_URL=http://localhost:10428 \ -- "$PWD/bin/spoor" serve

Run it from the spoor directory (or add -s user to register it everywhere), then ask Claude: *"Something is failing in the shop. What changed, and where did it start?"*

On your own backends, start with spoor doctor --since 15m: it checks what Spoor can see and suggests config. Other clients, Grafana-only access and the rest: [Getting started](docs/getting-started.md).

Backends

Each signal picks its backend with type:, and you can mix them:

MetricsLogsTraces
VictoriaMetrics stackVictoriaMetricsVictoriaLogsVictoriaTraces
Grafana stackPrometheus, Mimir, ThanosLokiTempo
New RelicTransaction events (NRQL)Log eventsSpan events
metrics: {type: prometheus, url: http://prometheus:9090}

logs: {type: loki, url: http://loki:3100} traces: {type: tempo, url: http://tempo:3200}

Setup and what differs per backend (Tempo statistics are sampled; New Relic span changes need the service's metrics to agree): [Backends](docs/backends.md).

Tools

ToolReturns
what_changedRanked changes across all signals, with cause/echo attribution, for one service or all. Start here.
new_errorsError log patterns that are new or spiking, with counts, first-seen time and a redacted example.
trace_diffSpan names that got slower or started failing, with an example trace ID.
list_servicesServices in the window and which signals have data for each.

Inputs: service, since, until, baseline (previous, 1d, 7d), budget_tokens. Full reference: docs/tools.md.

How it works

flowchart LR

Agent[AI agent / CLI] -->|MCP| S[Spoor] S -->|"PromQL / NRQL"| M[(VictoriaMetrics, Prometheus, New Relic)] S -->|"LogsQL / LogQL / NRQL"| L[(VictoriaLogs, Loki, New Relic)] S -->|"LogsQL / TraceQL / NRQL"| T[(VictoriaTraces, Tempo, New Relic)] S -->|"ranked digest ≤ budget"| Agent

For a window and a baseline (by default, the six windows just before it), Spoor scores every metric with a robust z-score, compares error-log patterns with a Poisson test, compares span error rates and p95s, walks failed traces to the span where each failure started, boosts changes confirmed by more than one signal, and trims the result to the token budget. Details: architecture · scoring and attribution.

Run it for a team

spoor serve --http :8080 --auth-token … serves MCP over streamable HTTP with bearer-token auth, /healthz and Prometheus /metrics. Ready-made, hardened manifests:

  • Kubernetes (Kustomize): deploy/kubernetes/
  • Docker Compose: deploy/docker/
  • systemd: deploy/systemd/

Security, sizing, monitoring and upgrades: [Production guide](docs/production.md).

Verified on the OpenTelemetry Demo

On the OpenTelemetry Demo v3.1.0 (about 20 real services), a 50% payment failure came back as "payment: failures start here, in charge", with checkout and frontend errors labelled "originates in payment" (732 tokens); the adHighCpu fault came back as the single finding "ad: CPU up 0.07 → 3.97 cores" (192 tokens). Reproduce it: deploy/demo/.

Documentation

Getting startedInstall, try, connect an agent
ProductionKubernetes, Docker, systemd, security, monitoring
BackendsVictoriaMetrics stack, Prometheus, Loki, Tempo, New Relic
ConfigurationEvery option and recipes for common setups
ToolsInputs and response format
Architecture · How it worksDesign and scoring
Benchmark · ComparisonWhy use it, and what else exists
Troubleshooting · FAQWhen something looks wrong

Status and limitations

Early (pre-1.0). Tool output fields may still change between minor versions; see the changelog.

  • The scoring was developed and benchmarked on the VictoriaMetrics stack. Prometheus, Loki and Tempo pass the same scenario tests against real containers; New Relic was checked on one real account. Tempo statistics are sampled, and New Relic span changes are reported only when service metrics agree; see backends.
  • Cause/echo attribution needs traces; without them Spoor still ranks metric and log changes.
  • Attribution reads at most 50,000 span rows per read; on very busy systems a trace can be cut.
  • The benchmark uses synthetic incidents written by the author and one model; treat it as a first data point, and replay your own past incidents with bench/replay.py before relying on it.
  • Metrics and traces are queried per service; on large estates pass service when you know it.

More in how-it-works.md.

Roadmap

Next: accuracy on labelled real incidents, "since the last deploy" windows, Datadog and Elasticsearch backends, exact Tempo statistics through TraceQL metrics. The full list, and what is deliberately out of scope: [docs/roadmap.md](docs/roadmap.md).

Contributing

Issues and pull requests are welcome. make test needs nothing but Go; see CONTRIBUTING.md. Security issues: SECURITY.md.

License

Apache-2.0. See LICENSE.

问 PopNx