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

Simengine

โดย cogswellspacely8-starรุ่น 3.0.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.cogswellspacely8-star/simengine

ติดตั้ง

ภาพรวม

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

Monte Carlo decision-intelligence over MCP: simulate, optimize, and decide under uncertainty.

สามเสาของ PopNx MCP

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

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

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

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

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

ก่อนติดตั้ง

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

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

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

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

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

{
  "mcpServers": {
    "simengine": {
      "command": "uvx",
      "args": [
        "simengine-mcp"
      ]
    }
  }
}

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

claude mcp add simengine -- uvx simengine-mcp

เปิดใน Cursor

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

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

{
  "mcpServers": {
    "simengine": {
      "command": "uvx",
      "args": [
        "simengine-mcp"
      ]
    }
  }
}

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

เปิดใน VS Code

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

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

{
  "servers": {
    "simengine": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "simengine-mcp"
      ]
    }
  }
}

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

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

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

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

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

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

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

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

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

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

เทียบกับตัวอื่นในหมวด อื่น ๆi

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

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

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

Simengine ปลอดภัยไหม?

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

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

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

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

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

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

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.0.1) เข้า registry 4 เดือนที่ผ่านมา

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

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

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

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Rystic

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

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

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

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Rystic

โดย Rystic-Inc

Start, seed, clock, inspect and diff Rystic API simulators from your agent.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

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

SimEngine

A domain-agnostic Monte Carlo simulation and decision intelligence system.

Zero dependencies. Pure Python stdlib. Local web UI. Runs anywhere Python runs.

SimEngine turns uncertainty into numbers you can act on. Define your variables, your logic, and your risk tolerances in a JSON config. The engine runs thousands of simulated futures, scores them, and — if you ask — evolves toward the best strategy that still respects your safety constraints.

Think of it as a calculator for uncertainty.


Quick Start

# 1. Clone the repository

git clone ~/projects/simengine cd ~/projects/simengine

2. Start the web UI

cd v3 && python3 server.py

3. Open your browser

http://localhost:8420

That is it. No pip install, no Docker, no Node, no build step. Python 3.8+ is the only requirement.

Install as an MCP server

uvx simengine-mcp

Listed on the official MCP registry. Hosted, no-install endpoint: join the waitlist.

Optional Native Acceleration

The default engine remains pure Python. A Rust workspace now lives at the repo root for optional acceleration of metric reducers, trajectory bands, risk evaluation, histograms, and native pre-sampling of simple numeric variable distributions.

This is opt-in and does not change the baseline workflow above.

Workspace layout
Cargo.toml

crates/ ├── simengine-core/ # pure Rust numeric kernels └── simengine-py/ # PyO3 extension module: simengine_native v3/native.py # optional loader + Python fallback glue

Build the native extension
cd crates/simengine-py

python3 -m venv ../../.venv source ../../.venv/bin/activate pip install maturin maturin develop --release

After that, the existing Python engine will automatically use the native reducers and the native batch sampler when simengine_native is importable. If the module is missing or fails, SimEngine falls back to the existing Python implementation.

The batch sampler is conservative:

  • it only activates for plain numeric variable params
  • it stays off for correlated configs
  • it can be disabled explicitly with SIMENGINE_DISABLE_NATIVE_SAMPLING=1

This keeps the expression engine, accumulators, and metrics in Python while moving a larger chunk of the Monte Carlo loop into Rust.

There is also a narrower native fast path for stochastic expressions:

  • binomial(n, p) can be delegated to Rust when the extension is installed
  • it can be disabled explicitly with SIMENGINE_DISABLE_NATIVE_EXPR_SAMPLING=1

This helps domains whose step_logic relies heavily on binomial(...) while still leaving general expression evaluation in Python.

On the Python side, repeated expressions are now compiled once and reused across Monte Carlo runs. That cache can be disabled explicitly with SIMENGINE_DISABLE_EXPR_CACHE=1 for benchmarking or troubleshooting.

The diagnostics module applies the same idea to its AST-only safe evaluator: parsed trees are reused across calls, and that cache can be disabled with SIMENGINE_DISABLE_SAFE_EXPR_CACHE=1.


What It Does

  • Monte Carlo simulation -- Run 5,000+ parallel futures for any domain you can describe in JSON.
  • Safety constraints -- Chance constraints ("at most 15% probability of going broke") and CVaR constraints ("the average worst-case loss must not exceed $X").
  • Genetic optimizer -- Evolve control parameters toward the best outcome while respecting safety bounds. Crossover, mutation, elitism, tournament selection.
  • Bayesian updating -- Feed observed data back into your model. Conjugate priors (Beta-Binomial, Gamma-Poisson, Normal-Normal) tighten distributions as evidence arrives.
  • Diagnostics -- Convergence analysis (proves your sample size is sufficient), sensitivity analysis (ranks which inputs drive the output), deterministic baseline comparison (quantifies the value of simulation over spreadsheet math).
  • Web UI -- Histograms, trajectory fans, risk gauges, scenario comparison with control sweeps and input diffs, domain wizard, Bayesian update modal, export to standalone HTML report.
  • AI agent integration -- POST a config inline to /api/simulate and get structured results back. No files needed. LLMs can use SimEngine as a tool (llms.txt at the repo root and GET /llms.txt orient them).
  • Validated calibration -- A sqlite forecast ledger scores predictions with proper scoring rules (Brier / log-loss / CRPS), and the pipeline is backtested on ~2,800 walk-forward monthly forecasts over decades of public FRED data. Run it yourself: cd v3 && python3 backtest.py (offline, from committed snapshots). Results: docs/backtests/.

Architecture

All production code lives in v3/.

v3/

├── kernel.py Monte Carlo engine, distributions, safety evaluation, │ fitness scoring, genetic optimizer, experiment manifests ├── server.py HTTP server (port 8420), all API endpoints, report generation ├── bayesian.py Conjugate prior updates for calibrating parameters from data ├── diagnostics.py Convergence, sensitivity (OAT), baseline comparison, AST evaluator ├── static/ │ └── index.html Single-page web UI (vanilla HTML/JS/CSS, no framework) └── domains/ ├── _template.json Annotated starter config ├── business_pipeline_v3.json B2B sales pipeline ├── investment_portfolio.json Portfolio allocation ├── investment_portfolio_v2.json Fat-tailed returns (Student's t) ├── job_search.json Job search decision model ├── project_timeline.json Software project estimation ├── real_estate_rental.json Rental property analysis └── saas_startup.json SaaS MRR growth and runway


Domain Config Schema

A domain config is a single JSON file that fully describes the simulation. The v3 schema separates variables into three semantic categories, which matters for Bayesian updating and optimization.

Published contract: the machine-readable JSON Schema (Draft 2020-12) is served live at GET /api/schema — hand it to any AI to author a valid config in one shot. A plain-language field reference is in docs/schema-reference.md. The schema is verified against every shipped domain in the test suite.

Top-Level Fields
FieldTypeDescription
namestringHuman-readable domain name
descriptionstringWhat this simulation models
n_simulationsintNumber of Monte Carlo runs (default: 5000)
n_stepsintTime steps per simulation (e.g., 12 months)
step_labelstringLabel for time axis: "month", "week", "sprint"
seedint or nullRandom seed for reproducibility
parametersobjectUncertain variables, updatable with evidence
controlsobjectOperator decisions (pricing, budget, effort)
exogenousobjectExternal factors outside your control
initial_stateobjectStarting values for accumulators
step_logicarrayComputations executed each time step
accumulatorsobjectRunning totals updated each step
metricsobjectFinal output measurements
safetyobjectChance constraints and CVaR constraints
fitnessobjectWeighted scoring components for the optimizer
tunablearrayParameters the optimizer is allowed to adjust
contextobjectOptional metadata: decision question, key levers
calibrationobjectPer-variable data source and update method
Variable Definition

All three variable categories (parameters, controls, exogenous) share the same structure:

{

"monthly_churn_rate": { "distribution": "triangular", "params": {"low": 0.02, "mode": 0.05, "high": 0.12}, "calibration": { "source": "Baremetrics Open Benchmarks: median monthly churn 5-8%", "updatable": true, "update_method": "Beta-Binomial conjugate from observed monthly cancellations" } } }

Available Distributions
DistributionParamsUse Case
fixedvalueKnown constants
uniformlow, highEqual probability across a range
triangularlow, mode, highExpert estimates (pessimistic / likely / optimistic)
normalmean, std, min?, max?Bell curve, optionally clamped
lognormalmedian, spread, min?, max?Always positive, right-skewed (prices, durations)
bernoullipBinary yes/no events
poissonlambdaCounts of rare events
student_tmean, scale, df, min?, max?Fat-tailed returns (use df=5 for equities)
correlated_normalmean, stdNormal with correlation support (via step_logic)
Step Logic

An ordered list of computations executed each time step. Each entry has a target name and either an expr (expression string) or a sample (inline distribution):

"step_logic": [

{"target": "new_leads", "expr": "binomial(round(demand), conversion_rate)"}, {"target": "revenue", "expr": "new_leads * price_per_unit"}, {"target": "costs", "expr": "fixed_cost + variable_cost * new_leads"}, {"target": "net_income", "expr": "revenue - costs"}, {"target": "shock_event", "sample": {"distribution": "bernoulli", "params": {"p": 0.02}}} ]

Available expression functions: min, max, abs, round, sum, len, int, float, sqrt, log, exp, ceil, floor, pow, random(), gauss(mu, sigma), binomial(n, p), clamp(val, lo, hi), range(). Ternary expressions work: 100 if x > 0 else 0.

Accumulators

Running state that persists across time steps:

"accumulators": {

"cumulative_revenue": "cumulative_revenue + revenue", "cash": "cash + net_income", "peak_subscribers": "max(peak_subscribers, subscribers)" }

Metrics

Final measurements computed after all steps complete:

"metrics": {

"total_revenue": {"expr": "cumulative_revenue", "format": "dollar"}, "roi": {"expr": "cumulative_revenue / cumulative_costs", "format": "percent"}, "final_subs": {"expr": "subscribers", "format": "number"} }

Safety Constraints
"safety": {

"chance_constraints": [ { "metric": "ending_cash", "condition": "below", "threshold": 0, "max_prob": 0.15, "rationale": "No more than 15% chance of running out of cash" } ], "cvar_constraints": [ { "metric": "ending_cash", "alpha": 0.10, "min_cvar": -15000, "rationale": "Average of the worst 10% of outcomes must not exceed $15k loss" } ] }

Fitness and Tunable

The optimizer maximizes a weighted sum of fitness components while respecting safety constraints. Each component is an expression evaluated against the metric statistics (e.g., total_revenue_median, ending_cash_p10):

"fitness": {

"components": [ {"expr": "min(100, final_mrr_median / 100)", "weight": 0.30, "name": "mrr_growth"}, {"expr": "max(0, 100 - months_negative_median * 5)", "weight": 0.25, "name": "time_to_profit"} ] }, "tunable": [ {"path": "controls.price_per_seat.params.value", "range": [9, 99]}, {"path": "parameters.monthly_churn_rate.params.mode", "range": [0.01, 0.10]} ]

Fitness expressions can reference any metric stat in the form {metric_name}_{stat} where stat is one of: mean, median, std, p10, p25, p75, p90.

Safety violations apply a 30% penalty per violated constraint. The optimizer learns to avoid them.


API Reference

The server runs at http://localhost:8420. All POST endpoints accept and r

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

ถาม PopNx