プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンでもクラウドでも
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: その他
  • 入力が必要なもの:SWARM_MCP_ACCESS_TOKEN, Authorization

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • クラウドで動くインストール不要。インターネット経由でつながります
  • PyPIPythonの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

  • このカテゴリのほかの32678件のうち0%よりスターが多い
  • このカテゴリのほかの32678件のうち56%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32678件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

quant-swarmは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:SWARM_MCP_ACCESS_TOKEN, Authorization

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.5.0)がレジストリに届いたのは31 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Starreel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211一昨日更新
インストール

Starreel

作者:starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

パソコンで動く今日更新
インストール

作者の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に聞く