# Algofinix Quant Desk — Blind Swarm, Trade Audit & Portfolio VaR

> Blind Swarm stock debates, 7-engine FIFO trade/tilt audits & 95% VaR crash hedge stress-testing.

- name: ai.algofinix.api/quant-mcp
- version: 1.0.0
- connection class: R1 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 89/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/ai.algofinix.api%2Fquant-mcp
- tools: https://api.protogrid.dev/v1/servers/ai.algofinix.api%2Fquant-mcp/tools

**An agent can connect on its own if it already holds `X_API_KEY`, `X_API_KEY`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "quant-mcp": {
      "type": "http",
      "url": "https://api.algofinix.ai/mcp",
      "headers": {
        "X-API-Key": "${X_API_KEY}",
        "Authorization": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`, `${X_API_KEY}`.

## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-0d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 89/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-03-26; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 4 of 4 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 1,557 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 0 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 1,557 tokens to load them all
- tool set hash: 800d0366559f09df73a330033e9de74a
- badge: [![protogrid quality](https://protogrid.dev/badge/ai.algofinix.api/quant-mcp.svg)](https://protogrid.dev/servers/ai.algofinix.api/quant-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://api.algofinix.ai/mcp (streamable-http, auth api_key ${X_API_KEY}, reachable true, uptime30d 1)

## Packages

_none_

## Tools (4)

- `audit_trading_behavior`: Costs 2 credits. Audits closed trades OR raw BUY/SELL broker fills (automatically FIFO-paired) across 7 quantitative behavioral engines: Revenge Trading (re-entry <=30 min after a loss), Hold-Time Asymmetry (holding losers longer than winners), Overtrading, Symbol Obsession, Drawdown Tilt, Time-of-Day Win Windows, and Best Statistical Edge Setup. LLM EXTRACTION RULE: If the user uploads a broker CSV, PDF, or screenshot (Robinhood, IBKR, Webull, Topstep, Schwab, etc.), parse their rows into the `trades` array and call this tool directly—no broker account linking required.
- `check_algofinix_credits`: Costs 0 credits (free). Returns your current Algofinix Agent credit balance, recent ledger activity, tool credit schedule, and one-click Stripe Checkout top-up URLs.
- `run_blind_swarm`: Costs 5 credits fresh (only 1 credit if served from 60-min ticker cache). Stress-test any stock/ETF ticker or investment thesis with 12 specialist AI market archetypes across a 4-round Two-Phase Blind-then-Calibrated debate. Phase 1 runs strictly BLIND (Wall Street analyst consensus stripped) to compute an independent first-principles price target; Phase 2 reveals Wall Street consensus to measure exact Blind-vs-Street Divergence %, round-by-round trajectory, top bull/bear rebuttals, key risks, and a public shareable report URL.
- `stress_test_portfolio_hedge`: Costs 2 credits. Stress-tests any equity/ETF portfolio across market crash scenarios (e.g. -5%, -10%, -15%, -20%), computes portfolio beta and HHI concentration risk, and generates concrete dollar-impact hedge actions enforcing a strict 25% max-trim guardrail. LLM EXTRACTION RULE: If the user shares a portfolio screenshot, table, or plain English holdings (e.g. '$50k NVDA, $30k QQQ, $20k cash'), extract `positions` and call this tool directly.

## Prompts and resources

### Prompts (3)

- `` broker_csv_tilt_audit ``: Extract trades from any pasted broker CSV/screenshot and audit revenge trading, tilt, and best edge.
- `` earnings_blind_swarm ``: Run a Two-Phase Blind AI vs. Wall Street Swarm debate on a stock ahead of earnings.
- `` portfolio_crash_hedge ``: Stress-test holdings against 5%–20% market drops and build a 25%-capped hedge plan.

### Resources (2)

- `` algofinix://platform/pricing ``: Tool credit costs, top-up packs, and read-only compliance guarantees.
- `` algofinix://platform/quickstart ``: How to claim 50 free credits and connect Claude Desktop, Cursor, or REST.
