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.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 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": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add canli-quant --env CANLI_TOOLSETS=your-value -- npx -y canli-quant-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"canli-quant": {
"command": "npx",
"args": [
"-y",
"canli-quant-mcp"
],
"env": {
"CANLI_TOOLSETS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"canli-quant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"canli-quant-mcp"
],
"env": {
"CANLI_TOOLSETS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CANLI_TOOLSETS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 arhancanli 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Aiterm MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
Persistent terminals and one launcher for Claude, Codex, Grok, Cursor, and Antigravity harnesses.
按原文从作者的仓库复制。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
只显示了开头部分;其余内容请在仓库中阅读