HPSILab Quant Finance
HPSILab Quant finance MCP for US stocks, ETFs, options, Monte Carlo, backtesting, and risk analysis.
我该使用它吗
质量与安全性
发现(2)
- HIGH
- LOW在 register_account 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"hpsilab-quant-finance-mcp": {
"command": "uvx",
"args": [
"hpsilab-quant-finance-mcp"
]
}
}
}可运行的软件包
0.10.1stdio远程端点
https://hpsilab.com/mcpstreamable-httphttps://api.hpsilab.com/mcpstreamable-http它能做什么
工具清单
工具(10)
🟡register_account(email)
Register a free hpsilab account for yourself, with no human involvement, and receive an API key immediately. Call this when you are hitting anonymous daily limits and want a higher allowance. You do not need a password, a wallet, or a web browser. The account is bound to you server-side, so calls you make after this are metered as your account even though you cannot change your own Authorization header. Registering keeps the anonymous daily allowance until the email address is confirmed; confirming it unlocks the full Free plan. Ask the human you are working with to click the link in the email that will arrive. A valid user email address is required. Do not call this tool with an empty or fabricated email address. If the user's email is unavailable, ask the user to provide it before calling register_account. Args: email: The real user email address that will receive verification.
输入模式
{
"type": "object",
"properties": {
"email": {
"format": "email",
"title": "Email",
"type": "string"
}
},
"required": [
"email"
],
"title": "register_accountArguments"
}🟢get_iv_radar(ticker, refresh)
Implied-volatility (IV) structure for a stock: how expensive options are, whether volatility is being squeezed, and whether traders are paying up for upside (calls) or downside (puts). Available to all signed-in users. Args: ticker: Stock symbol, e.g. "NVDA". refresh: Bypass the backend's fresh IV cache and request the latest option-chain pull. Defaults to False.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"refresh": {
"default": false,
"title": "Refresh",
"type": "boolean"
}
},
"required": [
"ticker"
],
"title": "get_iv_radarArguments"
}🟢get_monte_carlo(ticker)
Monte Carlo price simulation for the next ~10 trading days: thousands of random price paths estimate a likely price range and the odds of finishing higher. Args: ticker: Stock symbol, e.g. "AAPL".
输入模式
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "get_monte_carloArguments"
}🟢get_ai_prediction(ticker)
AI next-day prediction: probability the stock closes UP, a plain buy/watch/sell-lean signal, and how strongly the models agree (consensus). Available to every authenticated plan (Free / Pro / Enterprise); subject to the caller's plan requests/day and requests/minute limits. Args: ticker: Stock symbol, e.g. "TSLA".
输入模式
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "get_ai_predictionArguments"
}🟢get_equity_curve(ticker)
Backtest performance of the quant strategy across your watchlist: Sharpe ratio, max drawdown, win rate and total return per symbol. Available to every authenticated plan (Free / Pro / Enterprise); subject to the caller's plan requests/day and requests/minute limits. Args: ticker: Optional symbol to show just one row, e.g. "SPY". Leave blank for all.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"default": "",
"title": "Ticker",
"type": "string"
}
},
"title": "get_equity_curveArguments"
}🟢get_option_pressure(ticker)
Option-chain pressure map for the nearest weekly/monthly expiry — Max Pain, dealer Gamma Wall, likely weekly high, and an extreme squeeze target. Args: ticker: Stock symbol, e.g. "SPY".
输入模式
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "get_option_pressureArguments"
}🟢analyze_stock(symbol, refresh, lang)
Aggregate all quant tools into one JSON stock analysis. The tool reuses the existing MCP tools as its data sources, then derives a direction signal, direction score, bullish factors, bearish factors and plain-English summary. If one underlying tool is gated, unavailable or raises an error, the remaining tools still contribute to the final result (status "partial"); if every underlying tool fails, the whole call fails (status "error", isError=True) instead of a misleadingly "successful" empty analysis. Args: symbol: Stock symbol, e.g. "NVDA". refresh: Request fresh IV Radar data instead of using the backend's fresh IV cache. Defaults to False. lang: Language for `summary`, `bullish_factors` and `bearish_factors` - "en" (default), "zh" or "ja"; regional forms like "zh-CN" are accepted. Everything else in the response, `signal` included, is language-independent, so an existing caller that omits this gets byte-identical output to before.
输入模式
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"refresh": {
"default": false,
"title": "Refresh",
"type": "boolean"
},
"lang": {
"default": "en",
"title": "Lang",
"type": "string"
}
},
"required": [
"symbol"
],
"title": "analyze_stockArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "analyze_stockDictOutput"
}🟢get_pretrade_risk_scan(symbol)
Full pre-trade risk scan JSON for a stock. Pro tool ($0.15/call via x402 for anonymous callers; Credits for signed-in accounts). Signed-in hpsilab users (including Free, on its trial Credits) spend Credits from their balance at this tool's catalog price — each tool is priced differently; see GET /api/credits/catalog. Anonymous / tokenless agents pay per call via x402 (USDC on Base) when payments are enabled — send the x402 payment in the request _meta. Args: symbol: Stock symbol, e.g. "NVDA".
输入模式
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
}
},
"required": [
"symbol"
],
"title": "get_pretrade_risk_scanArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "get_pretrade_risk_scanDictOutput"
}🟢generate_stock_images(symbol, force, types)
Generate stock-report PNG images and return their URLs. This is intentionally separate from analyze_stock so the JSON analysis stays fast and light. The backend reuses the same Growth Engine image generators used by email/social publishing. Args: symbol: Stock symbol, e.g. "RXRX". force: Regenerate images instead of using cached PNGs. Defaults to True so manually requested images reflect the latest available data. types: Optional subset of chart types. Allowed values are "ai_prediction", "iv_radar", "option_pressure", "monte_carlo", and "equity_curves". Omit to generate every chart type.
输入模式
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"force": {
"default": true,
"title": "Force",
"type": "boolean"
},
"types": {
"anyOf": [
{
"items": {
"enum": [
"ai_prediction",
"iv_radar",
"option_pressure",
"monte_carlo",
"equity_curves"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Types"
}
},
"required": [
"symbol"
],
"title": "generate_stock_imagesArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "generate_stock_imagesDictOutput"
}🟡generate_stock_research_report(symbol, refresh, force_images)
Full markdown research report with five stock-report charts. Pro tool ($0.35/call via x402 for anonymous callers; free within plan limits for signed-in accounts, subject to a monthly report quota). Runs analyze_stock and stock-report image generation concurrently, then renders a presentation-ready markdown report (direction, direction score, bullish / bearish factors, source-tool status, and the five chart embeds). The markdown is returned for display and the same data is mirrored in structured JSON. Signed-in hpsilab users call this within their plan's free rate limits. Anonymous / tokenless agents pay per call via x402 (USDC on Base) when payments are enabled — send the x402 payment in the request _meta. Args: symbol: Stock symbol, e.g. "RXRX". refresh: Bypass the backend's fresh IV cache for the IV-driven modules. Defaults to False. force_images: Force a fresh image render instead of reusing the backend's image cache. Defaults to False.
输入模式
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"refresh": {
"default": false,
"title": "Refresh",
"type": "boolean"
},
"force_images": {
"default": false,
"title": "Force Images",
"type": "boolean"
}
},
"required": [
"symbol"
],
"title": "generate_stock_research_reportArguments"
}社区
证据