{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.haiyunsky/hpsilab-quant-finance-mcp",
  "slug": "hpsilab-quant-finance-mcp",
  "title": "HPSILab Quant Finance",
  "summary": "Stock & options risk analytics for AI agents: pre-trade risk scan, IV, gamma walls, Monte Carlo.",
  "version": "0.11.1",
  "serverKey": "hpsilab-quant-finance-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/hpsilab-quant-finance-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/hpsilab-quant-finance-mcp/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:40:51.17436652Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "hpsilab-quant-finance-mcp==0.11.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add hpsilab-quant-finance-mcp -e 'HPSILAB_API_KEY=<HPSILAB_API_KEY>' -- uvx hpsilab-quant-finance-mcp==0.11.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"args\": [\n        \"hpsilab-quant-finance-mcp==0.11.1\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"HPSILAB_API_KEY\": \"<HPSILAB_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"args\": [\n        \"hpsilab-quant-finance-mcp==0.11.1\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"HPSILAB_API_KEY\": \"<HPSILAB_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"HPSILAB_API_KEY\",\n      \"id\": \"hpsilab-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"args\": [\n        \"hpsilab-quant-finance-mcp==0.11.1\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"HPSILAB_API_KEY\": \"${input:hpsilab-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.hpsilab-quant-finance-mcp]\ncommand = \"uvx\"\nargs = [\"hpsilab-quant-finance-mcp==0.11.1\"]\nenv = { \"HPSILAB_API_KEY\" = \"<HPSILAB_API_KEY>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://hpsilab.com/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Optional. Clients that support MCP OAuth can omit it and sign in to HPSILab instead; otherwise send a Bearer API key from HPSILab Settings. Research tools need one of the two.",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http hpsilab-quant-finance-mcp https://hpsilab.com/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://hpsilab.com/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://hpsilab.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"hpsilab-quant-finance-mcp\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://hpsilab.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.hpsilab-quant-finance-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://hpsilab.com/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "HPSILAB_API_KEY",
      "required": true,
      "secret": true,
      "description": "HPSILab API key generated and managed in HPSILab Settings.",
      "help": "HPSILab API key generated and managed in HPSILab Settings.",
      "placeholder": "<HPSILAB_API_KEY>"
    }
  ],
  "expectedTools": [
    "analyze_stock",
    "get_iv_radar",
    "get_option_pressure",
    "get_monte_carlo",
    "get_ai_prediction",
    "get_equity_curve",
    "generate_stock_research_report",
    "generate_stock_images",
    "get_pretrade_risk_scan",
    "register_account"
  ],
  "agentSteps": [
    "Ask the user for: HPSILAB_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: analyze_stock, get_iv_radar, get_option_pressure, get_monte_carlo, get_ai_prediction, get_equity_curve, generate_stock_research_report, generate_stock_images, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:40:51.17436652Z"
}
