MCP
OAuth 2.1 with Dynamic Client Registration (DCR). Your MCP client opens sign-in automatically—no API key required.
{
"mcpServers": {
"hpsilab": {
"url": "https://hpsilab.com/mcp"
}
}
}HPSILab Developer / AI Agent
MCP · REST API · SDK · OAuth 2.1 · Credits · x402
Connect 9 stock & options analytics tools through MCP, REST, or SDK.
OAuth 2.1 with Dynamic Client Registration (DCR). Your MCP client opens sign-in automatically—no API key required.
{
"mcpServers": {
"hpsilab": {
"url": "https://hpsilab.com/mcp"
}
}
}Authenticate with your API key.
curl https://hpsilab.com/api/analyze_stock/NVDA \
-H "Authorization: Bearer hpsi_your_key"Install with: pip install -U hpsilab-mcpView SDK
from hpsilab_mcp import HpsiMcpClient, HpsiMcpError
try:
client = HpsiMcpClient(
api_key="hpsi_your_key",
base_url="https://hpsilab.com",
)
# IV radar
iv = client.get_iv_radar("AAPL")
print(iv)
except HpsiMcpError as exc:
print(f"HPSILab API error: {exc}")Use the HPSILab TypeScript client.
import { HPSILabClient } from "@hpsilab/sdk";
const client = new HPSILabClient({ apiKey: "hpsi_your_key" });
console.log(await client.analyzeStock("NVDA"));Use monthly Credits, or let wallet-enabled agents pay per call with x402 (USDC on Base).
| Tool | Credits | x402 |
|---|---|---|
| get_ai_prediction | 2 | $0.05 |
| get_iv_radar | 3 | $0.05 |
| get_option_pressure | 4 | $0.05 |
| get_monte_carlo | 5 | $0.10 |
| get_equity_curve | 6 | $0.07 |
| analyze_stock | 12 | $0.15 |
| get_pretrade_risk_scan | 15 | $0.15 |
| generate_stock_images | 18 | $0.20 |
| generate_stock_research_report | 30 | $0.35 |