Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Risk-first pre-trade checks, PIT data, leakage audits, and a Shadow Tournament vs a live champion.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SWARM_MCP_ACCESS_TOKEN, Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"quant-swarm": {
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http quant-swarm https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data --header 'Authorization: your-value'claude mcp add quant-swarm --env SWARM_MCP_ACCESS_TOKEN=your-value -- uvx quant-swarm swarm-data-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"quant-swarm": {
"url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"quant-swarm": {
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"quant-swarm": {
"type": "http",
"url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"quant-swarm": {
"type": "stdio",
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 blink1217 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SWARM_MCP_ACCESS_TOKEN, Authorization
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.5.0)于32天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Kanal Varna — drains, leaks & plumbing (Varna, BG)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Drain unblocking, leak detection & plumbing in Varna, Bulgaria: services, prices, areas, contact
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Risk-first pre-trade checks that gate live capital — point-in-time data, invariant and leakage audits, regime probes — plus the Shadow Tournament: score your strategy genome against a live, self-evolving trading swarm's champion on identical market paths.
Authored by the Principal Quantitative Technologist at The 1.21 Initiative — the same code path that gates live promotion and execution decisions in the trading swarm. Every tool exists because production trading systems fail in two repeatable ways: lookahead leakage in research and an oversized position in production. quant-swarm ships the checkers that prevent both, so you can audit your own work with the exact logic that guards deployed capital.
Behind this package is a swarm that does not hand-tune strategies. A champion genome runs live; every cycle the swarm breeds challengers (tier-capped mutations), replays champion and challenger on the *identical* episode-seed matrix across five labelled market regimes (high-vol, drawdown, chop, melt-up, gap-heavy), and records the paired outcome in an ELO ledger. A surrogate prior pre-scores candidates so expensive replays are spent where they matter. Nothing is promoted on a single good backtest: promotion requires MIN_EPISODES=20 paired episodes, a Wilcoxon-significant delta, a positive worst-regime margin (maximin, not mean), a deflated-Sharpe margin against the monotonic count of every trial ever attempted, and a PBO cap. This is the champion/challenger, self-play-style loop popularised by AlphaZero-style systems, applied honestly to markets — with the two things that do *not* transfer stated plainly: the market does not react to us, so there is no true self-play, and there is no learned dynamics model or tree search; selection is done by paired replay, ELO and statistical gates.
Replay is only half of it. Every Sunday the swarm also runs a forward league: each league genome — the champion, the top-ELO challengers, contributed genomes, and a *planner* entrant whose weekend moves are chosen by a learned model — seals its positions for the coming week from Friday's causal features, and the SHA-256 commitment is stored before the week happens. The next cycle marks every sealed position against the realised closes (net of each genome's own cost model), ranks the field on the identical real week, and updates ELO on that. Sealed forecasts cannot be overfit to the week that follows; that is the swarm's ground truth, and it feeds a replay buffer where every position is decomposed into its component moves (screen, entry, size, weekend) so credit is assigned per move and regime, not to the strategy as a blob. Forward-league status (as of 2026-10-31): the initial 8-week live-paper collection window started on 2026-09-14 and is currently in Week 7 of 8 (0 weeks settled yet; first batch settlement closes after the 8-week horizon on 2026-11-09).
What that means for you: a local backtest tells you how a strategy did on one path. The Shadow Tournament tells you whether it beats an *evolving* champion on the same paths, in the regime that hurts it most, at a sample size that can actually have an opinion — and your result enters the swarm's ELO ledger. Opt in as a contributor and your genome becomes an external challenger in the swarm's next breeding cycle (at half price), scored in replay and, if it earns a league seat, on real weeks. That is the flywheel: every honest submission makes the champion harder to beat, and every user gets a harder benchmark.
Risk gates are not post-hoc reports — they are the pre-condition for every action. The package is organized around that constraint:
UNSCORABLE (never neutral-filled), and unverifiable tokens are refused on the hosted path. See warden.audit_features and features.build provenance guards..github/pins.json, verified byte-for-byte by CI). A parity test pins the three copies of the floors (Python/MCP, C# live engine, Terraform) so they cannot drift.%LOCALAPPDATA%\1.21-initiative\swarm-mcp\cache.db ($XDG_CACHE_HOME/1.21-initiative/swarm-mcp on POSIX): finalized sessions are never re-fetched, in-progress sessions refresh at most every 60 s, earnings/news are append-only on fetched_at, and features.build runs the no-lookahead guard on every row (each feature must equal a fresh causal recomputation at as_of).warden.cost_check and the simulator model the fill that hurts you; there is no optimistic fill path to inflate backtests.INDETERMINATE_LOCAL/UNDERPOWERED/UNSCORABLE, name the exact missing inputs (MIN_EPISODES=20, PBO, DSR, worst-regime margins), and hand off to the hosted Shadow Tournament (tournament.submit).audit.preflight, audit.quote(mode="local"), audit.run(mode="local"), audit.status, audit.report, audit.compare, warden.*, gym.* on local/cached bars, market.* with caller-supplied bars):** 0 bytes of strategy returns, trades, orders, features, or bars leave your machine. Only SWARM_MCP_ACCESS_TOKEN (when set without SWARM_MCP_LOCAL_TOKEN) is verified once per 5 minutes against POST /api/mcp/verify.symbols, as_of / lookback_days, and bearer token to https://1.21initiative.com/api/mcp/* (or Open-Meteo for market.climate coordinates).tournament.submit, this is the genome parameter vector, its genome_hash, the contribute flag, and — on the strategy-contributor tier only — an author-written disclosure and/or strategy_code (treated as inert text, never executed, and deleted after static review).https://swarm-mcp-503318750546.europe-west1.run.app/mcp/*):** JSON-RPC tool arguments are transmitted over TLS to the hosted Cloud Run stateless container for execution.The live trading swarm's execution risk engine is written in C# (services/risk/Program.cs), while quant-swarm executes in Python (swarm_mcp/vendored/alpha/order_checks.py, swarm_mcp/vendored/guardrails/objective.py, and swarm_mcp/tools/warden_tools.py). Rather than running a local .NET runtime inside the Python wheel, the two implementations are locked together via two mechanisms enforced in CI:
cloud_run.tf), vendored guardrails constants (objective.py), and HOUSE_SIZING_FLOORS in warden_tools.py are parsed and asserted equal (MAX_POSITION_PCT = 0.25, MAX_GROSS_EXPOSURE_PCT = 0.60, RISK_PCT_PER_TRADE = 0.008, RISK_ATR_SIZING_MULT = 1.0, OVERNIGHT_GAP_ATR_MULT = 1.2).warden.explain_sizing and warden.validate_order are parity-tested against hand-computed C# risk-engine fixtures covering integer share floor rounding (floor(equity * 0.008 / (atr * 1.0))), 25% single-position cap trimming, overnight gap > 1.2x ATR halving, and 60% weekend gross-exposure headroom clamping.One-click install on [Smithery](https://smithery.ai/servers/blink-kt/quant-swarm): the listing is blink-kt/quant-swarm (package and Smithery slug are both quant-swarm); the Smithery stdio launcher starts swarm-data-mcp, and the hosted streamable-HTTP endpoints below serve all three servers. Configuration is optional — without a token the servers still start and list every tool; the first call points you at the free signup. Add a token any time to unlock the relay-backed and hosted tools.
| Server | Hook | Tools |
|---|---|---|
swarm-warden-mcp | **Quant Swarm Audit (audit.*)** guided backtest workflow plus pre-trade invariant + leakage gates (warden.*) | audit.preflight, audit.quote, audit.run, audit.status, audit.report, audit.compare, warden.validate_order, warden.audit_features, warden.cost_check, warden.validate_genome, warden.explain_sizing, warden.promotion_verdict, warden.optimize_portfolio, warden.plan_rebalance |
swarm-data-mcp | Derived-only market signals plus point-in-time feature building | market.pulse, market.sentiment, market.climate, market.regime, market.microstructure, volume.forecast, market.screen, market.rank, market.flow, market.fundamentals_pit, market.macro_nowcast, market.transfer_entropy, pit.analysis, features.build, cache.warm, cache.stats, cache.offline |
swarm-gym-mcp | Regime fragility locally, then the Shadow Tournament against the swarm's live champion | gym.label_regimes, gym.probe_fragility, gym.paired_preview, gym.estimate_cloud_run, gym.evaluate_graph, tournament.submit, tournament.verdict, tournament.leaderboard |
audit.*)Instead of chaining low-level primitives manually, start every backtest evaluation with the 6-step **audit.*** workflow on swarm-warden-mcp:
0 bytes in local mode).preflight_id and returns a deterministic execution plan, runtime estimate, exact credit/GBP cost (£0.00 for mode="local", 20 credits for mode="hosted"), an只显示了开头部分;其余内容请在仓库中阅读