Quant Swarm logo

Quant Swarm

Audits backtests for leakage and cost risk, then serves derived point-in-time market, macro, sentiment, and regime signals.

Install Quant Swarm

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "quant-swarm": {
      "command": "uvx",
      "args": [
        "quant-swarm"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio quant-swarm -- uvx quant-swarm

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

quant-swarm MCP server audits trading research for lookahead bias, statistical overstatement, outlier concentration, and transaction-cost decay. It also exposes derived, point-in-time market data, including feature vectors, regimes, sentiment, weather-linked climate signals, and alternative-data significance tests. Local stdio use supports offline backtest and cache workflows, while hosted data tools use the Streamable HTTP endpoint and access-token authentication. Reach for it when an agent needs research diagnostics or leakage-resistant market context without order execution.

Use cases

  • Audit a backtest for lookahead bias and realistic transaction-cost decay
  • Check whether alternative-data signals survive overlap and multiple-testing controls
  • Build causal feature vectors with point-in-time provenance
  • Screen symbols using derived market, regime, flow, and macro signals
  • Replay historical sessions from an immutable local cache

Key features

  • Offline backtest and risk-forensics workflows
  • Point-in-time feature and fundamentals analysis
  • Derived market, sentiment, regime, and macro signals
  • Alternative-data significance testing
  • Exposure-weighted operating-area climate research
  • Local cache warming and offline replay

Tools17

What Quant Swarm lets your agent do. Expand a tool for its parameters.

Verified live~3.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 48d

What it can do

From the 17 tools this server returned when we ran it; 17 declare their own safety hints.

Handles credentials · 1Makes network requests · 13Read-only tools · 17
Network at startup2 connections
Files written at startup17

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · quant-swarm (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit15d agoMost recent push to the default branch.
Tools exposed17Callable tools this server registers over MCP.

How Quant Swarm works

What quant-swarm does

quant-swarm combines local backtest forensics with derived market and point-in-time research signals. Its audit surfaces can inspect local returns and trades, test realistic spread and slippage assumptions, check feature construction, validate orders, and examine fragility across parameter trials. Results include diagnostics such as net and gross Sharpe, Newey-West statistics, Benjamini-Hochberg-adjusted q-values, breakeven cost multipliers, and concentration measures.

The data surfaces are designed to avoid exposing raw vendor series. Market tools return ratios, percentile ranks, buckets, labels, and other derived values. Point-in-time datasets are restricted by public filing or release availability relative to the requested as_of timestamp, reducing restatement and lookahead leakage in research workflows.

How it works

The local server runs through MCP over stdio and defaults to a lean core profile. Specialist profiles can expose broader Warden, Data, and Gym tool sets. Local audit and cache operations work without an account or network access. Hosted data calls are available through the Streamable HTTP endpoint and use OAuth 2.1 PKCE or a bearer access token.

Feature construction applies no-lookahead and point-in-time provenance checks. Fields without sufficient historical evidence are marked unscorable rather than filled with neutral values. Cache warming backfills a symbol universe; finalized sessions are then immutable, allowing later replays without additional API calls. Offline mode prevents network fetches and serves only cached data.

Setup and configuration

For Claude Code, register the local command with:

Terminal
claude mcp add quant-swarm -- uvx quant-swarm

For Cursor, Claude Desktop, or Windsurf, add a server entry using uvx as the command and quant-swarm as its argument. The default profile is core; --profile full, --profile warden, --profile data, and --profile gym select broader or specialized local tool groups.

Hosted access uses https://mcp.1.21initiative.com/mcp. A SWARM_MCP_ACCESS_TOKEN is needed for authenticated hosted execution and token-gated operations such as cache warming. SWARM_ALLOWED_WORKSPACE can restrict local filesystem operations to a chosen workspace.

Tools and capabilities

  • Audit backtests locally, including cost stress, overlapping-return significance, feature leakage, order validity, sizing rationale, and fragility.
  • Build exact feature-order vectors with field-level provenance and causal recomputation checks.
  • Inspect derived technical, sentiment, regime, microstructure, volume, flow, fundamentals, macro, and cross-asset transfer-entropy signals.
  • Evaluate alternative-data families with rolling information ratios, Newey-West tests, multiple-testing adjustment, observation floors, staleness flags, and explicit verdicts.
  • Compare operating-area weather forecasts with the same period one year earlier, then aggregate exposure-weighted climate indicators by symbol.
  • Warm and inspect a local cache, switch to cache-only operation, and review session coverage and API-call accounting.

Limitations and notes

The tools are read-only research and diagnostic surfaces; they do not place, modify, or route live orders and their outputs are not investment advice. Several market, flow, fundamentals, macro, and forecasting tools require Pro access or hosted credits. Remote HTTP omits local-disk cache and local-filesystem audit path tools and accepts bounded inline payloads instead.

Derived-only tools intentionally avoid raw prices, volumes, quotes, headline text, daily weather series, and accounting dollar figures. Hosted calls are subject to token metering and rate limits. Agents should preserve returned verdicts verbatim and should not treat an unadjusted p-value as evidence of significance when the adjusted result fails its threshold or evidence is insufficient.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Quant Swarm

quant-swarm is an MCP server that connects AI agents to local backtest forensics and hosted point-in-time market research. Its main tools audit leakage, costs, and statistical evidence, while data tools return derived features, regimes, sentiment, climate, fundamentals, macro, flow, and alternative-data signals without executing trades.

Install it by registering `uvx quant-swarm` as an MCP stdio server. Claude Code uses `claude mcp add quant-swarm -- uvx quant-swarm`; Cursor, Claude Desktop, and Windsurf use an MCP configuration with `uvx` as the command and `quant-swarm` as its argument.

Yes, quant-swarm works with Cursor through an `mcp.json` stdio configuration. Set the command to `uvx` and pass `quant-swarm` as the argument to use the default core profile locally.

No API key is required for local offline backtest and risk-forensics workflows. Hosted data execution and cache warming require a valid `SWARM_MCP_ACCESS_TOKEN`; the hosted endpoint also supports OAuth 2.1 PKCE.

No, quant-swarm is read-only and does not place, modify, or route live orders. Its tools provide diagnostic, backtest, and research evidence, including derived market signals and point-in-time analysis.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQuant Swarm AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/quant-swarm?style=directory)](https://allmcps.com/mcp/quant-swarm)
HTML Embed
<a href="https://allmcps.com/mcp/quant-swarm"><img src="https://allmcps.com/api/badge/quant-swarm?style=directory" alt="Quant Swarm on AllMCPs" /></a>