Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
235 quant tools and 399 strategy sleeves, checked against QuantLib, statsmodels, arch or TA-Lib.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CANLI_TOOLSETSต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"canli-quant": {
"command": "npx",
"args": [
"-y",
"canli-quant-mcp"
],
"env": {
"CANLI_TOOLSETS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add canli-quant --env CANLI_TOOLSETS='ใส่ค่าของคุณ' -- npx -y canli-quant-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"canli-quant": {
"command": "npx",
"args": [
"-y",
"canli-quant-mcp"
],
"env": {
"CANLI_TOOLSETS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"canli-quant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"canli-quant-mcp"
],
"env": {
"CANLI_TOOLSETS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CANLI_TOOLSETS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub arhancanli ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, ScienceShot science reference
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Sourced, citable answers in radiation and particle physics, photonics, electronics and quantum.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
236 quant finance tools in one MCP server: performance and risk, options and exotics, fixed income, portfolio construction, econometrics, technical indicators, execution, sizing, crypto and FX, valuation, strategy backtests, a library of 399 strategy sleeves, data checks, and data annotation and ML labeling. Every tool computes on the data you send, and every tool's results are checked in the test suite against an independent implementation (QuantLib, statsmodels, arch, TA-Lib, numpy-financial, scikit-learn, empyrical, scipy, pandas, dcor): 465 reference cases, plus planted-defect tests for the data checks.
Local stdio, no key, no account, no network calls: your data never leaves your machine (see Privacy, enforced by tests).
Computed NaN and Infinity values are refused with a tool error naming the affected fields. They do not become unexplained nulls or receive a success receipt. Check the input scale and the calculation's domain. Ordinary finite answers and null warm-up positions are preserved.
[canli-quant-mcp on canlicapital.com](https://canlicapital.com/mcp-servers/quant) · All Canli Capital MCP servers. Free, MIT-licensed. For every server behind one install, use canli-mcp.
Listing 238 tools directly costs 83,944 tokens of context (o200k) on every request. By default this server lists three, 680 tokens:
| tool | what it does |
|---|---|
find_tool | Search the catalog in plain words ("cornish fisher var", "barrier option", "kpss"). |
describe_tool | One tool's description and exact input schema. |
run_tool | Run any tool by name. receipt: true adds a calculation receipt. |
find_tool ranks with BM25 over each tool's name, title, keywords and description, with stemming and finance abbreviations (cvar, npv, irr, ytm...). On 110 test requests it returns the right tool first 94% of the time and in the top three 99% (test/search.test.mjs), so a model rarely needs a second search. run_tool takes digits (3-10 significant figures; default 10) to cut output tokens when full precision is not needed: 9-19% fewer tokens at 4-6 digits on the results we measured.
Measured on an Apple-silicon laptop (Node 24): connect and initialize 140 ms; a typical tool call 0.26 ms median over stdio; find_tool 1 ms; a full 399-sleeve tournament on 1,200 days of six assets about 2 s.
The tool list is byte-identical across launches, so providers can cache it. To list toolsets directly instead, set CANLI_TOOLSETS to a comma-separated list (e.g. performance,options, 8,053 tokens for performance alone) or all.
npx -y canli-quant-mcp
Claude Code:
claude mcp add canli-quant -- npx -y canli-quant-mcp
Claude Desktop, Cursor or any MCP client:
{ "mcpServers": { "canli-quant": { "command": "npx", "args": ["-y", "canli-quant-mcp"] } } }
Then ask, for example:
| toolset | tools | checked against |
|---|---|---|
performance | 23 | numpy, scipy, statsmodels and empyrical-reloaded |
options | 12 | QuantLib (analytic engines; finite differences for American options); an independent implementation of the CBOE VIX method; the lognormal density for Breeden-Litzenberger |
indicators | 30 | TA-Lib's C library, bar for bar; pandas for indicators TA-Lib lacks |
econometrics | 27 | statsmodels (OLS, HAC, ADF, KPSS, Engle-Granger and Johansen cointegration, Granger, ARCH LM, Markov switching, recursive least squares and CUSUM), arch (GARCH, variance ratio), scipy and dcor (rank and distance correlation) |
exotics | 9 | QuantLib (barrier, Asian, Heston, SABR, Kirk, Margrabe, lookback and chooser engines) |
rates | 15 | QuantLib bonds and short-rate models; numpy and scipy for curves and swaps; scipy fsolve for Merton |
risk | 7 | numpy and scipy re-derivations; scipy's generalized Pareto likelihood for EVT |
returns | 4 | pandas resampling and closed forms |
portfolio | 15 | numpy closed forms, scipy SLSQP, scikit-learn Ledoit-Wolf, the HRP paper's code |
execution | 7 | closed forms (Almgren-Chriss kappa solved numerically), statsmodels OLS |
sizing | 7 | scipy and closed forms |
crypto_fx | 9 | closed forms and simulated pool reserves |
strategies | 20 | an independent pandas implementation of every recipe and of the costed engine |
sleeves | 8 | an independent numpy and pandas port of every recipe and the engine; arch's Reality Check and an independent re-studentized SPA and StepM on the same bootstrap draws; scipy average linkage; numpy CSCV; plus no-lookahead and warm-up checks on every sleeve |
data_checks | 10 | planted-defect tests: each check must find what was planted and stay quiet on clean data |
labeling | 7 | pandas ports of the snippets in Advances in Financial Machine Learning (ewm volatility, CUSUM filter, triple barrier, uniqueness, purged k-fold) and statsmodels OLS t-values |
tvm | 15 | numpy-financial and closed forms |
valuation | 10 | published formulas re-derived independently |
Prompts chain the tools for common jobs: analyze_strategy, audit_backtest, value_company, price_option, test_mean_reversion, build_portfolio, analyze_trade_log, sleeve_tournament, build_sleeve_book, label_dataset, check_dataset.
Resources: canli-quant://catalog (every tool), canli-quant://methods (what each toolset is checked against), canli-quant://tools/{name} (one tool's schema), canli-quant://sleeves (the sleeve library), canli-quant://sleeves/{id} (one sleeve's spec) and canli-quant://privacy.
399 strategy sleeves in 18 families, each a published idea with its usual parameters swept on a plain grid: moving-average crossovers, time-series momentum, multi-horizon trend, channel breakouts, MACD, z-score and RSI reversion, volatility targeting, cross-sectional momentum, dual momentum, risk parity, equal weight, minimum variance, low volatility, short-term reversal, trend-filtered allocation, 52-week-high momentum and pairs. Every sleeve has a fixed rule, a stated warm-up, references, known risks and a SHA-256 of its spec. None was picked because it backtested well: they are definitions, not track records.
Running many strategies and keeping the best is how backtests overfit, so the tools that run many sleeves at once correct for it:
| tool | what it answers |
|---|---|
sleeve_tournament | Which sleeves lead on your prices, and does the best survive the deflated Sharpe ratio (counting all sleeves and the effective number of independent ones), White's Reality Check, Hansen's SPA test and Romano-Wolf StepM (re-studentized in every resample) and the probability of backtest overfitting (CSCV)? |
sleeve_walk_forward | If you had kept picking the top sleeves by trailing Sharpe, what would you have earned out of sample, and how much of their in-sample Sharpe was luck? |
sleeve_clusters | How many genuinely different bets do the sleeves make on this data? |
sleeve_regime_map | Which sleeves held up in calm, turbulent, rising and falling markets? |
combine_sleeves | What does a book of chosen sleeves look like, and what asset weights does it want as of the latest close? |
The tests check that no sleeve looks ahead (rewriting future prices never changes an earlier target), that none trades before its warm-up, and that the tournament's statistics match arch's Reality Check and an independent re-studentized SPA and StepM on the same bootstrap draws, scipy's clustering and an independent numpy CSCV. run_sleeve and combine_sleeves return target_weights by symbol, which a paper broker such as canli-paper-trading-mcp can rebalance to.
The labeling toolset annotates your own data and turns it into training labels without leakage:
| tool | what it does |
|---|---|
annotate_price_series | Tags every period: outlier moves, stale prices, drawdown episodes, new highs, causal volatility regime. |
cusum_filter_events | Picks the periods worth labeling (CUSUM filter on log prices). |
triple_barrier_labels | Labels by which of a volatility-scaled profit-take, stop-loss or time limit is hit first; with a side, meta-labels. |
fixed_horizon_labels | Labels by the forward return over a horizon, with a fixed or volatility-scaled dead zone. |
trend_scanning_labels | Labels by the strongest forward trend's t-statistic. |
sample_weights | Uniqueness, return-attribution and time-decay weights for overlapping labels. |
purged_cv_splits | K-fold splits that purge overlapping labels and embargo the periods after each test fold. |
Each label says which future periods it used, so purging and embargoing are exact. The methods follow Lopez de Prado's *Advances in Financial Machine Learning*, checked against pandas ports of its code.
Your data stays on your machine. The server is a local stdio process with no network code, writes nothing to disk, logs nothing, starts no processes, and keeps arguments only for the duration of a call. test/privacy.test.mjs holds the code to that with a static scan of every source file and by running the server under Node's permission model, with reads limited to its own package and writes, child processes and workers denied. For the same lockdown in use:
npm i -g canli-quant-mcp
node --permission --allow-fs-read="$(npm root -g)/canli-quant-mcp" "$(npm root -g)/canli-quant-mcp/src/server.mjs"
canli-quant://privacy states the guarantees from inside the server. Calculation receipts carry hashes, never the data.
run_tool with receipt: true returns the SHA-256 of the tool name and arguments, the SHA-256 of the result, and the server version. Anyone can run the same tool with the same arguments on that version and compare the output hash. Results are deterministic: no clock, no network, and the only randomness is the sleeve bootstrap, drawn from a stated seed.
performance : Performance and risk (23)
| tool | what it does |
|---|---|
return_stats | Summarize a return series: periods, annualized geometric return (CAGR) and volatility, Sharpe, max drawdown, skew, excess kurtosis, best and worst period, share positive. |
sharpe_ratio | Compute the annualized Sharpe ratio with its standard error and 95% interval, under iid normal returns (Lo 2002) and allowing skew and fat tails (Mertens 2002). For the probability it beats luck across many trials, use canli-validation-mcp. |
sortino_ratio | Compute the annualized Sortino ratio: mean return above a target over downside deviation below it, with the downside deviation itself. |
| max_drawdown | Find the maximum drawdown and the worst draw
ตัดมาแค่ช่วงต้น อ่านต่อใน repo