H|ψ⟩ Quantum Finance
Real-Time Stock & Options Intelligence for AI Agents

HPSILab 开发者 / AI Agent

HPSILab Quant Finance APIs for AI Agents

MCP · REST API · SDK · OAuth 2.1 · Credits · x402

通过 MCP、REST 或 SDK 连接 9 个股票与期权分析工具。

9 Quant Tools· OAuth 2.1· 100 Trial Credits· x402

快速开始

AI Agent

添加 MCPOAuth 登录调用工具

开发者

获取 API KeyREST / SDK调用工具

集成方式

MCP

支持 OAuth 2.1 与动态客户端注册(DCR)。MCP 客户端会自动打开登录,无需 API Key。

{
  "mcpServers": {
    "hpsilab": {
      "url": "https://hpsilab.com/mcp"
    }
  }
}

REST API

使用 API Key 进行身份验证。

curl https://hpsilab.com/api/analyze_stock/NVDA \
  -H "Authorization: Bearer hpsi_your_key"

Python SDK

安装:pip install -U hpsilab-mcp查看 SDK

from hpsilab_mcp import HpsiMcpClient, HpsiMcpError

try:
    client = HpsiMcpClient(
        api_key="hpsi_your_key",
        base_url="https://hpsilab.com",
    )
    iv = client.get_iv_radar("AAPL")
    print(iv)
except HpsiMcpError as exc:
    print(f"HPSILab API error: {exc}")

TypeScript SDK

使用 HPSILab TypeScript 客户端。

import { HPSILabClient } from "@hpsilab/sdk";
const client = new HPSILabClient({ apiKey: "hpsi_your_key" });
console.log(await client.analyzeStock("NVDA"));

从 100 个试用 Credits 开始

工具与价格

使用每月 Credits,或让支持钱包的 Agent 通过 x402 按次支付(Base 上的 USDC)。

工具Creditsx402
get_ai_prediction2$0.05
get_iv_radar3$0.05
get_option_pressure4$0.05
get_monte_carlo5$0.10
get_equity_curve6$0.07
analyze_stock12$0.15
get_pretrade_risk_scan15$0.15
generate_stock_images18$0.20
generate_stock_research_report30$0.35