slimquant

v1.0.2
io.github.apexhive-hq/slimquant Checked 4 days ago Published 7 days ago

Deterministic quant risk gate, purged walk-forward backtest, and audit ledger MCP server.

Values you need

VariableWhat it is
SLIMQUANT_DATA_DIRoptional Directory for SQLite audit ledger and append-only JSONL hash chain (defaults to ~/.slimquant).
SLIMQUANT_ALLOW_ONLINE_LLMoptional Opt-in online LLM flag: set to 1 to enable billed LLM providers (disabled fail-closed by default). Default: 0
SLIMQUANT_KILL_FILEoptional Optional explicit file path that halts all signals fail-closed while present.
GEMINI_API_KEYoptional secret Optional API key when requesting provider='gemini'.
OPENAI_API_KEYoptional secret Optional API key when requesting provider='openai'.
ANTHROPIC_API_KEYoptional secret Optional API key when requesting provider='anthropic'.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add slimquant -- npx -y slimquant@1.0.2 serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "slimquant": {
      "args": [
        "-y",
        "slimquant@1.0.2",
        "serve"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "slimquant": {
      "args": [
        "-y",
        "slimquant@1.0.2",
        "serve"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "slimquant": {
      "args": [
        "-y",
        "slimquant@1.0.2",
        "serve"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.slimquant]
command = "npx"
args = ["-y", "slimquant@1.0.2", "serve"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: analyze_asset, audit_proposal, scan_watchlist, export_pine, ledger_score.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json