原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

quant-swarm

作者:blink1217版本 0.5.0i★ –i电脑或云端
注册名称io.github.blink1217/quant-swarm

安装

概览

作者提供的说明(英文原文)

Risk-first pre-trade checks, PIT data, leakage audits, and a Shadow Tournament vs a live champion.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 其他
  • 你需要填写:SWARM_MCP_ACCESS_TOKEN, Authorization

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: SWARM_MCP_ACCESS_TOKEN, Authorization

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 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 中打开

或者自己复制设置

粘贴到项目中的 .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 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "quant-swarm": {
      "command": "uvx",
      "args": [
        "quant-swarm",
        "swarm-data-mcp"
      ],
      "env": {
        "SWARM_MCP_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "quant-swarm": {
      "type": "http",
      "url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .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 保存在这台设备上,无需账户。

需要你填写的值

  • SWARM_MCP_ACCESS_TOKEN 机密 env
    Optional access token from https://1.21initiative.com/mcp/ (free plan issued instantly). Without one, tools still list; calls return an access-required envelope pointing at the signup page.
  • Authorization 机密 HTTP header
    Bearer (or append ?apiToken= to the URL).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 blink1217 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32706 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32706 个服务器的 56% 更新
  • 基础检查结果等于或优于此分类中其他 32706 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

quant-swarm 安全吗?

它在 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

Spec Driven Development

作者:formulahendry

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

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

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

在云端运行★ 211前天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

quant-swarm

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.

Built by a Principal Quantitative Technologist

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.

Your backtest is static. The swarm is not.

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.

Why risk-first

Risk gates are not post-hoc reports — they are the pre-condition for every action. The package is organized around that constraint:

  • Fail-closed by default. Unknown features map to tier C, missing provenance returns UNSCORABLE (never neutral-filled), and unverifiable tokens are refused on the hosted path. See warden.audit_features and features.build provenance guards.
  • Pinned, non-drifting invariants. Order sizing floors (per-name 25%, gross 60%), fill model (spread + slippage + adverse selection, both legs, always against you), and hard-constraint checks are vendored at pinned commit SHAs (.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.
  • Point-in-time provenance. SQLite WAL cache at %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).
  • Pessimistic execution. warden.cost_check and the simulator model the fill that hurts you; there is no optimistic fill path to inflate backtests.
  • No order-placement code path. No tool can place, cancel, or route an order — this repository cannot trade, only refuse unsafe trades.
  • Statistically honest refusals. Promotion verdicts are never issued locally. Statistically undecidable outputs return 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).
  • Local-first, BYO-key: your Alpaca/AltData keys are read from env only when operating in BYOK mode; otherwise data flows through the hosted relay.
  • Explicit Per-Operation Data-Flow Matrix (no blanket claims):
  • **Strictly local stdio tools (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.
  • Relay-backed data tools over stdio (`market.pulse`, `market.sentiment`, `market.regime`, `market.screen`, `market.rank`, `market.flow`, `market.fundamentals_pit`, `market.macro_nowcast`, `market.transfer_entropy`, `market.microstructure`, `volume.forecast`, `pit.analysis`, `cache.warm`): send the requested symbols, as_of / lookback_days, and bearer token to https://1.21initiative.com/api/mcp/* (or Open-Meteo for market.climate coordinates).
  • Hosted Audit & Shadow Tournament submissions (`audit.run(mode="hosted")`, `tournament.submit`): send only the explicitly quoted and approved payload. For 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).
  • **Remote Streamable-HTTP endpoints (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.
Python vs. C# Evaluator Parity

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:

  1. Shared Pinned Thresholds (`tests/test_floors_parity.py`): C# environment defaults, Terraform Cloud Run config (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).
  2. Numerical Step-by-Step Equivalence Fixtures (`tests/test_sizing_parity.py`, `tests/test_order_checks_parity.py`): 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.


The servers

ServerHookTools
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-mcpDerived-only market signals plus point-in-time feature buildingmarket.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-mcpRegime fragility locally, then the Shadow Tournament against the swarm's live championgym.label_regimes, gym.probe_fragility, gym.paired_preview, gym.estimate_cloud_run, gym.evaluate_graph, tournament.submit, tournament.verdict, tournament.leaderboard
Flagship Guided Workflow: Quant Swarm Audit (audit.*)

Instead of chaining low-level primitives manually, start every backtest evaluation with the 6-step **audit.*** workflow on swarm-warden-mcp:

  1. `audit.preflight` (local, 0 credits) — Pass paths or inline rows for your strategy returns, trade records, benchmark series, execution cost assumptions, and optional feature-provenance manifest (CSV, Parquet, or JSON). Validates timestamps, duplicates, and schema, and returns a Coverage & Scope Matrix separating *Available checks*, *NOT_TESTED checks* (e.g. why returns alone cannot prove absence of lookahead bias in strategy code), and an *Outbound data preview* (0 bytes in local mode).
  2. `audit.quote` (0 credits) — Takes 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

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx