
Alive Analysis
io.github.with-geun由 GitHub 账号 with-geun 发布v1.3.2更新于 Oct 24, 2026
Query alive-analysis history from any AI client. Tools: list, get, search, dashboard export.
概览
本地 MCP 服务器,让 AI 助手列出、读取、搜索并导出存放在本地 analyses 目录中的 alive-analysis 分析记录(markdown 文件)。
- 可以做什么
- 按类型、阶段、分析人和标签等条件列出 analyses 目录中的分析,并读取单条分析的完整内容,包括各阶段文件与结论。对所有分析做全文搜索,覆盖标题、假设、发现和后续事项。将分析导出为 JSON,供可视化团队仪表盘加载。该服务器只读取分析文件;创建、推进和归档分析等完整 alive-analysis 流程由 AI 客户端中的斜杠命令完成,而非这些工具。
- 适用场景
- 当团队把 alive-analysis 记录保存在代码仓库中,希望助手回顾过往分析、向新成员介绍既有结论,或直接取出仪表盘所需 JSON 而不必手动翻找文件时使用。
- 运行要求
- 通过 npm 包 alive-analysis-mcp 作为本地进程运行(需要 Node.js)。需要已有 analyses 目录,通过环境变量 ALIVE_ANALYSES_DIR 或 --analyses-dir 参数指定。仅支持桌面版 MCP 客户端;未声明任何身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Alive Analysis,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
alive-analysis
Structured analysis workflow for AI coding agents — every analysis traceable, repeatable, and team-shareable.
[version] [npm] [license] [Claude Code] [Cursor]
Why this exists
You ask Claude to investigate a metric drop. It gives you an answer. You act on it.
Three months later: "Why did we change that?" — gone. No reasoning, no data checks, no audit trail.
Or you open a new chat and explain the whole context again from scratch, repeating work that already happened.
alive-analysis solves this by turning every analysis into a structured, version-controlled workflow. Claude guides you through a five-stage loop. Each stage produces a markdown file. Everything stays in your repo, searchable by you and by Claude.
The result: a growing knowledge base of how your team thinks, not just what it decided.
How it works
Installation
That's it. Claude handles the rest.
The ALIVE Loop
Every analysis follows the same five-stage structure. Each stage has a clear purpose, a checklist, and a quality gate before moving forward.
You never skip a stage without a deliberate choice. The loop enforces analytical discipline — even when you're in a hurry.
Three Modes
Full Mode — for decisions that matter
Five separate files, one per stage. ~40-item checklists. All specialist agents available. Use this when the decision is high-stakes, when you'll need to explain your reasoning, or when you want the full audit trail.
Quick Mode — for fast turnaround
Everything in one file. Compressed checklist. Same ALIVE structure, just lighter. Use this for exploratory questions, morning standups, or anything you need in under an hour. If it grows in scope, /analysis-promote converts it to Full automatically.
Learn Mode — for building the skill
Guided scenarios with rubric-based scoring, progressive hints, and common-mistake detection. Seven real-world scenarios across two levels. Use this onboard new analysts, practice unfamiliar analysis types, or train interns.
All Commands
Core workflow
Finding and reviewing past work
Specialist agents
Experiments and monitoring
Education mode
31 Specialist Agents
At each ALIVE stage, a routing engine reads your analysis context and recommends the right specialists from a pool of 31 agents. You choose which ones to run.
Required gates (auto-run, no confirmation needed)
These four run automatically when their trigger condition is met:
Optional specialists by stage
ASK — problem-framer, hypothesis-gen, metric-translator, sampling-designer
LOOK — data-scout, tracking-auditor, lineage-mapper, sql-writer
INVESTIGATE — eda-agent, stats-agent, experiment-designer, causal-agent, root-cause-analyst, ml-agent, forecast-agent, anomaly-detector, chart-recommender, dashboard-designer, peer-reviewer
VOICE — narrative-agent, exec-summarizer, decision-memo-writer
EVOLVE — metric-definer, semantic-layer-engineer, governance-steward
The routing engine scores each agent against your current context (analysis type, domain, data signals) and presents the top 3 with a plain-language explanation: "This analysis involves a before/after metric change with no randomization — the causal-agent can assess whether DID or RDD is appropriate here."
Agents can be disabled per-project in .analysis/agents.yml.
Experiment Support (A/B Testing)
When you run /analysis-new and choose Experiment type, the ALIVE loop adapts:
Key enforcements:
- Pre-registration lock: Analysis plan is written and locked before results are revealed — prevents post-hoc rationalization
- SRM detection: Sample Ratio Mismatch flagged automatically during VALIDATE
- Guardrail metrics: Counter-metrics defined alongside primary metric to catch unintended side effects
- Multiple comparison correction: Alerts when running many variants without adjustment
- Statistical validity: The stats-agent verifies power, sample size, and test selection before you call significance
Metric Monitoring
Configure thresholds for your key metrics. When an alert fires, escalate it directly into an analysis:
The ALIVE context pre-fills with the alert data — metric name, value, time window, relevant segments. You start at ASK with context already loaded.
Analysis Search and Retrospective
Search across all past analyses
Full-text search across titles, hypotheses, findings, and follow-ups. Returns matching analyses with surrounding context, cross-references to related analyses, and suggestions for follow-up work.
Automatic retrospective
Aggregates all analyses in a period into a structured report:
- Activity summary (analyses by type, analyst, stage completion)
- Impact tracking (recommendations → decisions → outcomes)
- Recurring patterns and unresolved follow-ups
- Team-level metrics (acceptance rate, decision speed, analysis accuracy over time)
Output: analyses/.retro/retro_{period}.md
Analysis Memory System (v1.4)
Two features that give your team persistent analytical memory — so knowledge compounds instead of disappearing into chat history.
Decision Records — /analysis-dr
An append-only log of methodology decisions, adapted from the software engineering concept of Architecture Decision Records (ADR).
The problem it solves: Claude keeps suggesting "what if we try Bayesian A/B testing?" even though your team decided that two months ago. Or a new analyst uses a different DAU definition than everyone else. Decision Records prevent this by giving AI a permanent record of what's already been decided — and why.
Five decision types:
Append-only: Decisions are never edited or deleted. If reversed, the old DR is marked Superseded by DR-NNN — so future analysts understand why the team thought differently at that time.
DRs integrate with the agent system — 6 methodology-suggesting agents (hypothesis-gen, stats-agent, metric-definer, metric-translator, experiment-designer, causal-agent) check decision records before suggesting alternatives. No more debating the same methodology question twice.
Analysis Wiki — /analysis-wiki
A structured, AI-maintained knowledge base compiled from your team's analyses. Based on Andrej Karpathy's LLM Wiki concept: instead of searching raw files every time, AI pre-compiles knowledge into structured pages that grow as analyses accumulate.
How it works: After archiving analyses, run /analysis-wiki update. AI reads every archived analysis and builds structured pages:
analyses/wiki/metrics/dau.md— everything learned about DAU across all analyses: key findings, validated/rejected hypotheses, watch pointsanalyses/wiki/patterns/simpson-paradox.md— recurring patterns with context on when and how they appearedanalyses/wiki/hypotheses/INDEX.md— cross-analysis hypothesis results (prevents re-testing what's already answered)
Health checking: /analysis-wiki check finds contradictions (same hypothesis validated in one analysis, rejected in another), stale pages, and orphan claims without source links.
How it's different from other features:
DR + Wiki together: DR answers "How did we decide to measure this?" Wiki answers "What have we learned from measuring it?"
Getting started:
- Run
/analysis-init— createsanalyses/decisions/andanalyses/wiki/with seeded INDEX files - Run a few analyses and archive them
- Run
/analysis-dr scan— AI scans archived analyses and proposes methodology decisions to record - Run
/analysis-wiki updateafter 3+ archives — AI compiles metric/pattern/hypothesis pages - Run
/analysis-wiki checkperiodically to catch contradictions and stale knowledge
Note on Quick analyses: Wiki pages are primarily built from Full analyses (5-stage files). Quick analyses (single-file) contribute less to the wiki since they don't have separate stage files.
Team Dashboard
Visualize your entire analysis history as an interactive node graph.
[ALIVE Dashboard — node graph with 200 demo analyses, click-to-highlight connected nodes]
What the graph shows:
- Each node = one analysis
- Node size = ALIVE stage progress (small = just started, large = complete)
- Node color = analysis type (Investigation / Experiment / Simulation / Learn)
- Arc ring = which stages are done
- Dashed edges = follow-up connections between analyses
- Solid edges = analyses sharing the same tags
- Click a node → connected analyses stay highlighted, everything else fades
Filters: analyst, tags, type, status, date range. ⌘K to search.
Setup:
Add metadata per analysis to enrich the graph:
MCP Server — Let Claude Query Your Analyses
Install the MCP server and Claude can access your full analysis history directly — in any MCP-compatible client.
Claude Desktop (~/Library/Application\ Support/Claude/claude_desktop_config.json):
Claude Code (.claude/mcp.json in your project):
What Claude can do with MCP connected
With MCP active, Claude remembers your team's analysis history across sessions. New team members can ask "What did we learn about checkout drop?" and get a full briefing — without anyone digging through files.
MCP Registry: io.github.with-geun/alive-analysis
Works with Claude Desktop, Claude Code, Cursor, Zed, Windsurf, and any other MCP-compatible client.
Education Mode — Learn Product Analysis
Seven real-world scenarios with guided feedback. Designed to build analytical thinking, not just teach tool mechanics.
Beginner scenarios (20–30 min, Quick format)
Intermediate scenarios (45–60 min, Full format)
How feedback works
At each stage, Claude evaluates your work against a rubric and gives you specific feedback — not generic praise. Stuck? Three progressive hint levels: direction → specific → near-answer. Made a common mistake? It gets flagged with an explanation of why it matters.
Graduation path: two Beginner scenarios at 70%+ → unlock Intermediate → 75%+ on Intermediate → production-ready.
Situational Protocols
Built into the workflow for situations that derail most analyses:
Scope creep guard — When a second question appears inside an analysis, the agent detects it and offers three options: park it as a follow-up, swap the primary question, or explicitly expand scope with documented trade-offs.
Rabbit hole guard — After three rounds on a sub-question, checks whether it's still actionable. If not, surfaces a decision point.
Data quality emergency — Five response options: patch with available data, scope down, pause until data is ready, report with explicit caveats, or reframe the question entirely.
Analysis independence — Built-in safeguards against pressure to reach predetermined conclusions. If the prompt pattern looks like conclusion-first reasoning, it gets flagged.
Obsidian Integration
Your analyses/ folder works as an Obsidian vault out of the box.
Use [[F-2026-0305-001]] wiki-links in your markdown — Obsidian's graph view picks them up and draws the same connections the team dashboard shows. Useful for teams that prefer Obsidian for knowledge management alongside the code workflow.
File Structure
Analysis IDs by type:
F-YYYY-MMDD-NNN— Investigation or Modeling (Full)Q-YYYY-MMDD-NNN— Quick checkE-YYYY-MMDD-NNN— Experiment / A/B testS-YYYY-MMDD-NNN— SimulationL-YYYY-MMDD-NNN— Learn scenario
Platform Support
Cursor uses a batch interaction model — all required inputs presented at once rather than sequentially, optimized for Cursor's agent loop behavior.
What it's not
Not a BI tool. The team dashboard visualizes your analysis history, not your business metrics. alive-analysis structures your thinking, not your reporting.
Not a data pipeline. It doesn't connect to databases or run queries automatically. It helps you think through what queries to run and why.
Not opinionated about your data stack. Works with any combination of SQL, Python, R, notebooks, or spreadsheets. The methodology is tool-agnostic.
Changelog highlights
Full changelog: CHANGELOG.md
Contributing
Issues and PRs welcome. See CONTRIBUTING.md.
License
MIT — with-geun
来源:README.md,提交 e9f8d82
工具
0版本历史
1- v1.3.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分