# alive-analysis

Tracks data investigations in Markdown files across a five-stage ALIVE loop. It keeps reasoning, hypotheses, and conclusions searchable in your repo.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 41
- Author: with-geun
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/with-geun/alive-analysis
- Updated: 2026-05-27
- HTML: https://affpapa.org/en/nevibecode/mcp/alive-analysis

## What it does

The server turns one-off metric investigations into Git-tracked project documentation. Instead of losing context when a chat session ends, the agent walks through five steps: defining questions, inspecting data, investigating drivers, sharing conclusions, and tracking follow-ups. Every phase writes Markdown files directly into the `analyses/` folder.

Three operation modes fit different workloads. Full mode splits the review across separate files with checklists, quick mode logs everything in a single document, and learn mode offers training scenarios. An internal engine routes tasks to up to 31 specialist agents depending on the stage.

Without the `ALIVE_ANALYSES_DIR` environment variable pointing to your target folder, the server cannot place the generated files. Keeping these records in version control prevents teams from re-running the same investigations months later.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `ALIVE_ANALYSES_DIR` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env ALIVE_ANALYSES_DIR=<ALIVE_ANALYSES_DIR> --transport stdio alive-analysis -- npx -y alive-analysis-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add alive-analysis --env ALIVE_ANALYSES_DIR=<ALIVE_ANALYSES_DIR> -- npx -y alive-analysis-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "alive-analysis": {
            "command": "npx",
            "args": [
                "-y",
                "alive-analysis-mcp"
            ],
            "env": {
                "ALIVE_ANALYSES_DIR": "<ALIVE_ANALYSES_DIR>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "alive-analysis": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "alive-analysis-mcp"
            ],
            "env": {
                "ALIVE_ANALYSES_DIR": "<ALIVE_ANALYSES_DIR>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ALIVE_ANALYSES_DIR=<ALIVE_ANALYSES_DIR> alive-analysis npx -y alive-analysis-mcp
```
Replace <…> with your own values

## When to use it
- preserve data investigations and reasoning directly in Git history
- trace why metrics shifted without reconstructing the context from memory
- guide data checks through a structured five-stage evaluation gate
- query historical analysis files with full-text search commands

## Example prompts
- /analysis-new
- /analysis-search "drop in checkout conversion"
- /analysis-status

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
