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.

已驗證STDIO僅桌面知識與記憶資料與分析

概覽

AI 產生的概覽

本機 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 用戶端;未宣告任何身分驗證。
安裝前請注意
伺服器會讀取所設定 analyses 目錄中的所有內容,請只指向你願意讓助理存取的資料夾。分析檔案可能包含業務指標、假設與團隊筆記;README 提到有倫理守衛會標記個人身分資訊,但此處沒有任何機制保證敏感內容在進入模型前被過濾。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Alive Analysis,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

You describe a question  →  /analysis-new                                 ↓         Claude walks you through 5 stages:         ASK → LOOK → INVESTIGATE → VOICE → EVOLVE                                 ↓              Each stage = one markdown file in analyses/                                 ↓         Files are Git-tracked, full-text searchable,         readable by Claude in future conversations                                 ↓         Six months later: /analysis-search "checkout drop"         → Claude surfaces context, findings, and follow-ups

Installation

bash
# Clone the repogit clone https://github.com/with-geun/alive-analysis.git /tmp/alive-analysis
# Install — pick your platformbash /tmp/alive-analysis/install.sh              # Claude Codebash /tmp/alive-analysis/install.sh --cursor     # Cursorbash /tmp/alive-analysis/install.sh --both       # Both
# One-time setup — run in your AI agent chat (not the terminal)/analysis-init    # Configure language, team, data stack, key metrics/analysis-new     # Start your first analysis

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.

StageQuestionOutput
❓ ASKWhat do we want to know — and why?Hypothesis tree, scope, success criteria
👀 LOOKWhat does the data actually show?Data quality verdict, SQL templates
🔍 INVESTIGATEWhy is it really happening?Results with confidence levels
📢 VOICESo what — and now what?Recommendations, audience-specific messages
🌱 EVOLVEWhat would change the conclusion?Follow-up analyses, impact tracking

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.

analyses/active/F-2026-0303-001_checkout-drop/├── 01_ask.md├── 02_look.md├── 03_investigate.md├── 04_voice.md└── 05_evolve.md

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.

analyses/active/quick_Q-2026-0308-001_dau-check.md

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.

analyses/active/L-2026-0220-002_signup-drop-scenario/

All Commands

Core workflow

CommandWhat it does
/analysis-initOne-time setup: language, team name, data stack, key metrics
/analysis-newStart a new analysis — choose Full or Quick, set the question
/analysis-nextMove to the next ALIVE stage with quality gate check
/analysis-statusShow current stage, checklist progress, open questions
/analysis-archiveMark complete, move to analyses/archive/
/analysis-listBrowse all analyses with filters (type, stage, analyst, tags)
/analysis-promoteUpgrade a Quick analysis to Full when scope expands

Finding and reviewing past work

CommandWhat it does
/analysis-searchFull-text search across all analyses — titles, findings, hypotheses
/analysis-retroGenerate a retrospective report for a period (--last-month, --last-quarter, --all)
/analysis-dashboardExport analyses to JSON → load into the visual team dashboard
/analysis-drManage Decision Records — the team's methodology decision log
/analysis-wikiMaintain the Analysis Wiki — AI-compiled knowledge base from all analyses

Specialist agents

CommandWhat it does
/analysis-agentShow which specialist agents are recommended for the current stage
/analysis-agent {number}Run a specific agent directly
/analysis-agent "{alias}"Run by alias (e.g. "stats", "causal", "ethics")

Experiments and monitoring

CommandWhat it does
/analysis-new (Experiment type)Start an A/B test analysis — adapted ALIVE loop with pre-registration
/monitor-setupConfigure metric monitoring with alert thresholds
/analysis-new --from-alert {alert-id}Escalate a metric alert directly into a new analysis

Education mode

CommandWhat it does
/analysis-learnStart a learning scenario — choose level and scenario
/analysis-learn-nextGet feedback on your current stage and advance
/analysis-learn-hintRequest a hint (three levels: direction → specific → near-answer)
/analysis-learn-reviewComplete the scenario with a scored review and skill radar

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:

AgentWhen it runs
scope-guardDetects multi-question mixing or scope expansion — offers 3 options to contain it
data-quality-sentinelChecks data completeness before you leave LOOK
ethics-guardFlags PII exposure, survivorship bias, fairness issues
reproducibility-keeperVerifies steps are documented enough to replay

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:

DESIGN → VALIDATE → ANALYZE → DECIDE → LEARN

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

bash
/monitor-setup

Configure thresholds for your key metrics. When an alert fires, escalate it directly into an analysis:

bash
/analysis-new --from-alert {alert-id}

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

bash
/analysis-search "checkout funnel"

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

bash
/analysis-retro --last-quarter

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:

TypeWhat it captures
MetricHow a metric is defined ("DAU = core feature usage, not app launch")
MethodologyStatistical method choices ("A/B tests: Bayesian, 95% credibility")
ScopeSegment or time window standards ("new user = first 7 days, D0 inclusive")
ModelAlgorithm selection and why alternatives were rejected
PrincipleAnalytical standards ("causal claims require DiD/RD/IV")

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.

bash
/analysis-dr new        # Write a new decision record/analysis-dr scan       # Find DR candidates from existing analyses/analysis-dr list       # Show all recorded decisions/analysis-dr show 003   # Show DR-003 in detail

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 points
  • analyses/wiki/patterns/simpson-paradox.md — recurring patterns with context on when and how they appeared
  • analyses/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.

bash
/analysis-wiki update       # Scan archives → build/update all wiki pages/analysis-wiki check        # Find contradictions, stale content, gaps/analysis-wiki show dau     # Display the DAU knowledge page

How it's different from other features:

FeatureUse when
/analysis-searchFind a specific past analysis
/analysis-retroSummarize what happened in a time period
DashboardExplore analysis relationships visually
/analysis-wikiKnow everything your team has learned about a metric or pattern

DR + Wiki together: DR answers "How did we decide to measure this?" Wiki answers "What have we learned from measuring it?"

Getting started:

  1. Run /analysis-init — creates analyses/decisions/ and analyses/wiki/ with seeded INDEX files
  2. Run a few analyses and archive them
  3. Run /analysis-dr scan — AI scans archived analyses and proposes methodology decisions to record
  4. Run /analysis-wiki update after 3+ archives — AI compiles metric/pattern/hypothesis pages
  5. Run /analysis-wiki check periodically 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:

bash
# Export your analyses to JSONbash dashboard/export.sh > export.json
# Open in any browser — no server neededopen dashboard/alive-dashboard.html# Click Load → paste the JSON

Add metadata per analysis to enrich the graph:

yaml
# analyses/active/F-2026-0303-001_checkout-drop/meta.ymlanalyst: geuntags: [checkout, conversion]followups: [F-2026-0305-001]keyFinding: "2.4pp drop confirmed. Mobile UX root cause."

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.

bash
npm install -g alive-analysis-mcp

Claude Desktop (~/Library/Application\ Support/Claude/claude_desktop_config.json):

json
{  "mcpServers": {    "alive-analysis": {      "command": "alive-analysis-mcp",      "args": ["--analyses-dir", "/path/to/your/analyses"]    }  }}

Claude Code (.claude/mcp.json in your project):

json
{  "alive-analysis": {    "command": "alive-analysis-mcp",    "env": { "ALIVE_ANALYSES_DIR": "./analyses" }  }}

What Claude can do with MCP connected

ToolExample prompt
alive_list"List all experiments from last quarter"
alive_get"Show me the full findings from F-2026-0303-001"
alive_search"Find any analysis that mentions SRM or sample ratio"
alive_dashboard_export"Give me the JSON to load into the dashboard"

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)

ScenarioQuestionSkills practiced
b1-signup-drop"Why did signups drop yesterday?"Platform-specific root cause, data triangulation
b2-onboarding-comparison"Which onboarding flow is better?"Simpson's Paradox, SRM validation, counter-metrics
b3-turnover-cost"How much does turnover cost us?"Quantification, multi-component estimation

Intermediate scenarios (45–60 min, Full format)

ScenarioQuestionSkills practiced
i1-dau-drop"Why did DAU drop 15%?"Multi-lens analysis, hypothesis elimination, confidence scoring
i2-delivery-fee"Should we lower delivery fees?"Policy simulation, sensitivity analysis, uncertainty communication
i3-ab-test-checkout"Did the new checkout improve conversion?"Experiment validity, SRM detection, guardrail metrics
i4-churn-prediction"Can we predict which users will churn?"ML pipeline, feature selection, model card, drift monitoring

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.

bash
/analysis-learn              # Pick a scenario/analysis-learn-hint         # Get a hint without giving away the answer/analysis-learn-review       # See your score and skill radar

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

your-project/├── analyses/│   ├── active/│   │   ├── F-2026-0303-001_checkout-drop/    # Full analysis│   │   │   ├── 01_ask.md│   │   │   ├── 02_look.md│   │   │   ├── 03_investigate.md│   │   │   ├── 04_voice.md│   │   │   ├── 05_evolve.md│   │   │   ├── meta.yml│   │   │   └── assets/│   │   │       └── queries/│   │   └── quick_Q-2026-0308-001_dau-check.md  # Quick analysis│   ├── archive/                               # Completed analyses│   ├── decisions/                             # Analysis Decision Records│   │   ├── INDEX.md                           # DR index (auto-updated)│   │   └── DR-NNN.md                          # Individual decision files│   └── wiki/                                  # AI-maintained knowledge base│       ├── INDEX.md│       ├── metrics/                           # One page per metric│       ├── patterns/                          # Recurring analytical patterns│       └── hypotheses/                        # Cross-analysis hypothesis results├── .analysis/│   ├── config.md          # Team settings (language, data stack, metrics)│   ├── agents.yml         # Enable/disable individual agents│   ├── checklists/        # Stage checklists — edit to customize│   ├── status.md          # Current analysis state│   ├── agent-state.md     # Agent suppression history│   ├── models/            # ML model registry│   ├── metrics/           # Metric definitions and monitors│   └── decisions/         # Per-analysis business decision memos (VOICE stage output, not DR records)

Analysis IDs by type:

  • F-YYYY-MMDD-NNN — Investigation or Modeling (Full)
  • Q-YYYY-MMDD-NNN — Quick check
  • E-YYYY-MMDD-NNN — Experiment / A/B test
  • S-YYYY-MMDD-NNN — Simulation
  • L-YYYY-MMDD-NNN — Learn scenario

Platform Support

FeatureClaude CodeCursor 2.4+
Full ALIVE loop✅✅
All 25+ commands✅✅ (batch interaction)
31 specialist agents✅✅
Education mode✅✅
MCP server✅✅
Team dashboard✅✅
Decision Records (DR)✅✅
Analysis Wiki✅✅

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

VersionWhat shipped
v1.4.0Analysis Memory System — Decision Records (DR) + Analysis Wiki (LLM Wiki concept)
v1.3.0Team Dashboard (interactive node graph), MCP server (alive-analysis-mcp on npm + MCP Registry)
v1.2.031 specialist agents — registry, router, 31 dedicated prompts, Cursor full agent table
v1.1.0Education mode — 7 scenarios, Common Mistakes feedback, 4 commands × 2 platforms
v1.0.0Analysis search, automatic retrospective, unified README
v0.3.0A/B testing module, metric monitoring, Quick→Full promotion, platforms split (Claude Code / Cursor)

Full changelog: CHANGELOG.md


Contributing

Issues and PRs welcome. See CONTRIBUTING.md.

License

MIT — with-geun

來源:README.md,提交 e9f8d82

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.3.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分