ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Stats Explorer

โดย meador793รุ่น 1.5.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Meador793/stats-explorer-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Verified statistics for AI agents: guided tests, A/B tests, Tukey HSD, reports, optional Jev checks.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ฐานข้อมูลและชุดข้อมูล
  • ต้องใส่ค่าเหล่านี้: TYPESAFE_API_KEY, STATS_EXPLORER_APPROVAL_SECRET

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: STATS_EXPLORER_ROOTS, STATS_EXPLORER_STREAM_MB, STATS_EXPLORER_WORKERS, STATS_EXPLORER_CACHE, STATS_EXPLORER_CACHE_DIR, STATS_EXPLORER_MAX_FILE_MB, STATS_EXPLORER_GUIDED, STATS_EXPLORER_CONFIRM_SELECTIONS, STATS_EXPLORER_CONFIRM_VIA, STATS_EXPLORER_HIDE_LINK, STATS_EXPLORER_JEV, STATS_EXPLORER_JEV_CHECKPOINTS, TYPESAFE_API_KEY, STATS_EXPLORER_APPROVAL_SECRET, STATS_EXPLORER_AUDIT_LOG

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "stats-explorer": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_STREAM_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_WORKERS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE_DIR": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_MAX_FILE_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_GUIDED": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_VIA": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_HIDE_LINK": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "ใส่ค่าของคุณ",
        "TYPESAFE_API_KEY": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_APPROVAL_SECRET": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add stats-explorer --env STATS_EXPLORER_ROOTS='ใส่ค่าของคุณ' --env STATS_EXPLORER_STREAM_MB='ใส่ค่าของคุณ' --env STATS_EXPLORER_WORKERS='ใส่ค่าของคุณ' --env STATS_EXPLORER_CACHE='ใส่ค่าของคุณ' --env STATS_EXPLORER_CACHE_DIR='ใส่ค่าของคุณ' --env STATS_EXPLORER_MAX_FILE_MB='ใส่ค่าของคุณ' --env STATS_EXPLORER_GUIDED='ใส่ค่าของคุณ' --env STATS_EXPLORER_CONFIRM_SELECTIONS='ใส่ค่าของคุณ' --env STATS_EXPLORER_CONFIRM_VIA='ใส่ค่าของคุณ' --env STATS_EXPLORER_HIDE_LINK='ใส่ค่าของคุณ' --env STATS_EXPLORER_JEV='ใส่ค่าของคุณ' --env STATS_EXPLORER_JEV_CHECKPOINTS='ใส่ค่าของคุณ' --env TYPESAFE_API_KEY='ใส่ค่าของคุณ' --env STATS_EXPLORER_APPROVAL_SECRET='ใส่ค่าของคุณ' --env STATS_EXPLORER_AUDIT_LOG='ใส่ค่าของคุณ' -- npx -y stats-explorer-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "stats-explorer": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_STREAM_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_WORKERS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE_DIR": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_MAX_FILE_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_GUIDED": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_VIA": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_HIDE_LINK": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "ใส่ค่าของคุณ",
        "TYPESAFE_API_KEY": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_APPROVAL_SECRET": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "stats-explorer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_STREAM_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_WORKERS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CACHE_DIR": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_MAX_FILE_MB": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_GUIDED": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_CONFIRM_VIA": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_HIDE_LINK": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "ใส่ค่าของคุณ",
        "TYPESAFE_API_KEY": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_APPROVAL_SECRET": "ใส่ค่าของคุณ",
        "STATS_EXPLORER_AUDIT_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • STATS_EXPLORER_ROOTS env
    Folders the tools may read data files from and write reports to (separated by : on macOS/Linux, ; on Windows). Defaults to the client's workspace roots, or the current directory.
  • STATS_EXPLORER_STREAM_MB env
    CSV/TSV/Parquet files above this size (MB) are streamed in parallel passes; any size works. Default 512.
  • STATS_EXPLORER_WORKERS env
    Parallel readers for large files. Default: all CPU cores but one (max 16).
  • STATS_EXPLORER_CACHE env
    Keep columns read from large files for fast follow-up questions: ask (default), on or off.
  • STATS_EXPLORER_CACHE_DIR env
    Folder for saved large-file columns. Default: the system temp folder.
  • STATS_EXPLORER_MAX_FILE_MB env
    Refuse data files larger than this (MB). Default: no limit.
  • STATS_EXPLORER_GUIDED env
    on (default): classify each request and follow the six-step workflow for hypothesis tests. off: expose the individual test tools directly.
  • STATS_EXPLORER_CONFIRM_SELECTIONS env
    on (default): the user confirms every column, chart type and report section before anything runs. off: run with the AI's choices.
  • STATS_EXPLORER_CONFIRM_VIA env
    auto (default): forms where the client supports them. chat: always ask in the conversation (recommended for Claude Code).
  • STATS_EXPLORER_HIDE_LINK env
    Set to 1 to remove the one-line Stats Explorer app link from results.
  • STATS_EXPLORER_JEV env
    Independent checks by Jev (TypeSafe): off (default), cooperate (the AI calls your Jev MCP server), enforce (Stats Explorer calls the Jev API) or orchestrated (signed decisions from an orchestrator).
  • STATS_EXPLORER_JEV_CHECKPOINTS env
    Comma list of plan, conclusions, data. Default plan,conclusions (data sends column names and text samples to Jev).
  • TYPESAFE_API_KEY ความลับ env
    Enforce mode only: TypeSafe API key Stats Explorer uses to call Jev.
  • STATS_EXPLORER_APPROVAL_SECRET ความลับ env
    Orchestrated mode only: shared secret (32+ characters) the orchestrator signs decisions with.
  • STATS_EXPLORER_AUDIT_LOG env
    Path of a JSON Lines file recording every Jev checkpoint decision.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub meador793 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 1156 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 71% ของอีก 1156 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1156 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Stats Explorer ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: TYPESAFE_API_KEY, STATS_EXPLORER_APPROVAL_SECRET

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.5.1) เข้า registry 16 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

โดย supabaseใช้กันมาก↓ 235.4K/สัปดาห์★ 3Kอัปเดต 3 วันที่ผ่านมา

บนเครื่องหรือคลาวด์✓ supabase.com

MongoDB MCP Server

MongoDB Model Context Protocol Server

โดย mongodb-jsใช้กันมาก↓ 157.1K/สัปดาห์★ 1.2Kอัปเดต วันนี้

รันบนเครื่อง

Elasticsearch MCP Server

MCP server for interacting with Elasticsearch

โดย cr7258กำลังโต↓ 2.7K/สัปดาห์★ 315อัปเดต 14 เดือนที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Stats Explorer MCP

An MCP server with 18 statistics and analytics tools an AI assistant can call instead of guessing numbers, on data files of any size:

  • Tests: t-tests, z-tests, ANOVA (with a Tukey HSD post-hoc that names the groups that differ), ANCOVA, MANOVA, chi-square, Fisher's exact, binomial and correlation.
  • A/B testing: A/B and A/B/n readouts for conversion rates and revenue-type metrics (lift with intervals, sample ratio mismatch check, Holm-adjusted comparisons, Bayesian probability to beat the control, segment breakdowns), and sample-size planning.
  • Analytics: totals, averages and counts by category (top N), and "what drives X?" rankings across every column.
  • Helpers: descriptive stats, confidence intervals, power analysis, a "which test should I use?" tool, and a data-file inspector.

The tools can read a developer's CSV, TSV, Excel or Parquet files by column name, so large datasets never get pasted into the chat. Each result includes:

  • the effect size and confidence interval,
  • a plain-English interpretation,
  • warnings when an assumption looks shaky.

On top of that:

  • Correct. 43 reference cases are checked against SciPy and statsmodels on every commit, to at least 6 significant figures.
  • Guided by default. The agent first decides whether your request needs a hypothesis test or just exploration. Hypothesis tests follow the six steps of Stats Explorer's *Bring it all together* guide, in order.
  • You stay in control. Every column, group, chart type and report section the agent proposes is shown to you to confirm or change before anything runs.
  • Private. Runs locally over stdio. It makes no network calls and needs no API key (unless you turn on Jev's enforce mode, below). Data files are read only from your workspace folders.
  • Checked by Jev, if you want. Connect Jev, TypeSafe's fast judgment model, alongside it, and Jev independently checks the test plan and the assistant's written conclusions against the computed results. You can run it without an orchestrator, enforced by Stats Explorer itself, or under a production orchestrator that signs every decision.

The engine, the file import and the six-step guide are shared with the Stats Explorer app, so results match the app exactly.

Connect it (pick your assistant)

GitHub Copilot in VS Code: about 1 minute, nothing else to install
  1. In VS Code, open Extensions (Ctrl+Shift+X / Cmd+Shift+X), search Stats Explorer MCP, click Install.
  2. Open Copilot Chat and switch the mode dropdown to Agent.
  3. Click the tools icon in the chat box and check that Stats Explorer is listed and ticked.
  4. Open the folder that holds your data and ask a question (see Example questions).

The extension registers the server itself, using VS Code's built-in runtime, so you don't need Node.js or an mcp.json file. Confirmations appear as forms you can edit.

Claude Code (terminal or the Claude Code panel in VS Code): about 2 minutes

You need Node.js 22 or later (24 LTS recommended). In a terminal, run this once:

claude mcp add -s user stats-explorer -e STATS_EXPLORER_CONFIRM_VIA=chat -- npx -y stats-explorer-mcp

claude mcp list

claude mcp list should show stats-explorer … ✓ Connected. Then start a new Claude session, because servers are loaded when a session starts. In VS Code: Ctrl+Shift+P → Developer: Reload Window, then New session. Type /mcp in the chat to see the servers the session has.

  • -s user makes it available in every folder (without it, only in the folder where you ran the command).
  • STATS_EXPLORER_CONFIRM_VIA=chat makes confirmations appear as messages in the chat, which you answer by replying. Claude Code doesn't always display form-style prompts.
  • If you have the VS Code extension installed, Stats Explorer: Copy Setup Command for Claude Code copies this command for you.
Claude Desktop, Cursor, Windsurf, Cline and other MCP clients

Add this to the client's MCP config (claude_desktop_config.json, .cursor/mcp.json, and so on), then restart the client:

{

"mcpServers": { "stats-explorer": { "command": "npx", "args": ["-y", "stats-explorer-mcp"], "env": { "STATS_EXPLORER_ROOTS": "/path/to/your/data", "STATS_EXPLORER_CONFIRM_VIA": "chat" } } } }

Requires Node.js 22 or later. STATS_EXPLORER_ROOTS is the folder (or folders) the tools may read; see Data files.

Example questions

Name the file in your message (or attach it); the assistant passes it to the tools and never pastes the data into the chat.

  • *What's in sales.csv?*
  • *Total revenue by state in sales.csv, top 10.* (group_summary)
  • *What drives profit in sales.csv?* (find_relationships, then follow-ups)
  • *Show the distribution of order value and a box plot by segment.*
  • *Does average profit differ between the Consumer and Business segments? Is it significant?* (six-step hypothesis test)
  • *Did the new checkout page (variant B) increase conversion in experiment.csv? Break it down by device.* (ab_test)
  • *How many visitors do I need to detect a 10% lift on a 4% conversion rate, with 3,000 visitors a day?* (ab_test_plan)
  • *Does revenue differ between the three regions, and which ones?* (ANOVA + Tukey HSD)
  • *Make an HTML report of what we found and save it as findings.html.*

The analyze, explore_data and hypothesis_test prompts (slash commands in VS Code and Claude) start the same flows.

Working with Jev (optional)

When both Stats Explorer and a Jev MCP server are connected to Claude or Copilot, they split the work. Stats Explorer computes every number, and Jev checks two things before you see a result:

  • The test plan: is this the right test, are the hypotheses right, are these the right columns?
  • The written conclusions: does every number match, is "significant" stated correctly, are there claims of cause the analysis can't support?

Stats Explorer also runs its own number and significance checks on every claim. Only claims that pass go into reports, and each report lists every check under Independent checks.

ModeSet STATS_EXPLORER_JEV toWho calls JevGood for
CooperatecooperateThe assistant, through your Jev MCP server, using packets Stats Explorer preparesWorking in Claude Code or Copilot without any orchestration tool
Enforceenforce (plus TYPESAFE_API_KEY)Stats Explorer, directly from the Jev APIChecks the assistant can't skip or alter
Orchestratedorchestrated (plus STATS_EXPLORER_APPROVAL_SECRET)Your orchestrator (LangGraph, Temporal, Step Functions and so on), which signs each decisionProduction pipelines with audit logs

Quick start with Claude Code (no orchestrator):

claude mcp add -s user jev -e TYPESAFE_API_KEY=YOUR_KEY -- npx -y @jkudish/jev-mcp

claude mcp add -s user stats-explorer -e STATS_EXPLORER_JEV=cooperate -e STATS_EXPLORER_CONFIRM_VIA=chat -- npx -y stats-explorer-mcp npx -y stats-explorer-mcp init-jev # adds routing rules to CLAUDE.md and .github/copilot-instructions.md

Any Jev MCP server works (@jkudish/jev-mcp, jev-mcp, typesafe-mcp, …): the packets come in the shapes their tools take. In VS Code, set Stats Explorer › Jev: Mode. See [docs/JEV.md](docs/JEV.md) for every mode and setting, the signed-approval format (with JavaScript and Python), what is sent to Jev, and the runnable orchestrator example in examples/orchestrator/.

How it works (default)

1. The agent classifies your request

Every analysis starts with start_analysis, where the agent picks a mode:

Your request sounds like…ModeWhat happens
"Does the drug change scores?", "Is A better than B?", "Is this difference significant?"hypothesis_testThe six-step workflow below
"Summarise…", "Show me the distribution of…", "Chart X by Y", "What's the average, with a CI?"exploreDescriptive tools and charts only: no hypotheses, no p-values, and no hypothesis section in the report

If it's unclear, the agent is instructed to ask you. Nothing else runs until start_analysis has been called.

2. Hypothesis tests follow the six steps, in order
Step (from the app's Learn tab)Tool
1. State your question and choose the right teststate_hypotheses: test, columns, groups, H₀/H₁, direction and α, fixed before any result is seen
2. Validate your data against the test's assumptionscheck_assumptions: shape, small skewed samples, group sizes, outliers, expected counts, ANCOVA slope equality, missing values, "who is missing from the sample?"
3. Check spreadcheck_spread: SD, IQR, coefficient of variation, outliers, variance ratio
4. Calculate power before you runpower_analysis: power for the smallest effect *you* care about, and the n needed for 80%
5. Run the test, then report honestlyrun_test: runs exactly what you confirmed in step 1, with the p-value, effect size, CI and verdict
6. Sanity-check rare events against base ratesbase_rate_check (PPV/NPV), or skip_step with a reason when it isn't a rare-event question

Calling a step out of order is refused with a message that names the next step. Only steps 4 and 6 can be skipped, and only with a reason that appears in the report. If step 2 shows the chosen test doesn't fit, re-stating the plan in step 1 is allowed and restarts the later steps. The app's guide calls this a principled revision, not p-hacking.

3. You confirm every selection

When the agent proposes columns, groups, a chart type or report sections:

  • Clients that support MCP forms (elicitation), such as VS Code, show you a form with the agent's choices pre-filled as dropdowns and checkboxes. Change anything, then accept or decline. Declining runs nothing.
  • Other clients get a CONFIRMATION NEEDED response listing the proposal, the alternatives and a one-time token. The agent is instructed to show you the choices and call again with the token only after you agree. A token only works for the exact selection it was issued for, so a changed selection is proposed again.

A selection you've confirmed isn't asked about twice in the same session.

4. Charts and reports
  • create_visualization: histogram, box plot, scatter (with least-squares line), bar (mean or count by category), line, and pie. These are the app's chart types. Returns an accessible SVG (light and dark mode) and can save it as .svg.
  • build_report: only when you ask for one, and containing only the sections you tick. A completed hypothesis test becomes a write-up in the app's format: the question, the hypotheses, how it was tested (with steps 2–4), what was found, the verdict and base rates. Explorations never get a hypothesis section. Saved as HTML (default) or Markdown in your workspace; existing files are not overwritten unless you say so.

![An exploration report with summary statistics, a confidence interval and a histogram](https://raw.githubusercontent.com/meador793/stats-explorer

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx