StoQuant — Quantitative Stock Research

io.github.ohadf2015由 GitHub 账号 ohadf2015 发布v0.6.0更新于 Nov 1, 2026

StoQuant: 61 tools — Q-Score, ML, screeners, alt-data, portfolio, backtest, strategy.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

StoQuant MCP 让助手以只读方式访问 StoQuant 的量化股票研究数据:Q-Score、机器学习预测、筛选器、持股、宏观与回测。

可以做什么
  • 获取报价、扩展报价、迷你走势图、基准与板块表现
  • 研究 Q-Score、信号、机器学习预测及其解释、策略优势与证据
  • 运行预置与自定义筛选器,找出高信心、隐藏价值和潜力股候选
  • 读取内部人交易与集中买入、机构持股、分析师预期与目标价、做空比例、SEC 文件与新闻
  • 获取社交情绪与趋势、催化剂、另类数据、异常期权流与宏观指标
  • 评估投资组合、运行并查看回测、查看策略预设与表现
适用场景
适合在对话中让助手用量化信号研究美股、筛选股票池、查看内部人或机构动向,或运行并复盘回测,无需离开对话去查数据。
运行要求
通过 npx 以 stdio 在本地运行(需要 Node.js)。需要在 STOQUANT_API_KEY 中提供 StoQuant API 密钥;免费密钥每天 100 次请求,仅覆盖核心工具,高级工具需付费套餐。需要联网访问 StoQuant API。可选变量可设置基础地址、速率限制、超时与开发模式。
安装前请注意
API 密钥是保存在客户端配置中的机密,若泄露应在 StoQuant 账户页面撤销。数据来自第三方服务,每次调用都会发送到该服务。回测会在服务端保存模拟运行记录。信号与机器学习输出只是研究参考,并非投资建议,README 也提醒不要把命中率当作能力。

安装

在 SourceWeft 中

  1. 打开 控制台中的 StoQuant — Quantitative Stock Research,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

stoquant-mcp

[npm version] [MCP Registry] [License: MIT] [Tools]

Model Context Protocol (MCP) server for StoQuant — gives Claude (and any MCP-compatible agent) direct, read-only access to StoQuant's quant signals, ML predictions, screening, ownership, and macro data.

Free to start. A free StoQuant API key runs the core tools (quotes, Q-Score, screeners, market regime) at 100 requests/day. Power removes the cap and unlocks the premium tools (ML, alt-data, insider clustering). Get a key at https://stoquant.com/account/api-keys.

Source & listings: GitHub · npm · Official MCP Registry (io.github.ohadf2015/stoquant-mcp) · Landing page

One-command install

bash
npx -y stoquant-mcp install

You'll be prompted for your API key. The installer writes the right claude_desktop_config.json for your OS, backs up any existing config, then prints the next step.

After install, fully quit and relaunch Claude Desktop. Type list available tools to confirm the stoquant_* tools are loaded.

Manual install (alternative)

Add this to your claude_desktop_config.json:

json
{  "mcpServers": {    "stoquant": {      "command": "npx",      "args": ["-y", "stoquant-mcp", "serve"],      "env": {        "STOQUANT_API_KEY": "sk_live_…"      }    }  }}

Config locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Tools (61)

CategoryTools
Pricesget_quote, get_quotes_batch, get_extended_quote, get_sparklines, get_benchmarks, get_sector_performers
Researchget_qscore, get_signals_v2, get_ml_prediction, explain_ml_prediction, get_strategic_edges, get_quant_analytics, get_evidence
Signalsget_market_regime, get_signal_accuracy, get_accuracy_summary
Discoveryget_top_conviction, get_hidden_gems, get_multibagger_candidates, get_related_stocks, get_signal_accuracy_heatmap
Screenerlist_prebuilt_screens, run_prebuilt_screen, run_screener
Ownershipget_insider_trades, get_insider_cluster, get_big_insider_buys, get_institutional_holders, get_institutional_ratings, get_analyst_estimates, get_analyst_price_targets, get_analyst_changes, get_short_interest
Filings & Newsget_sec_filings, get_news, get_news_events
Socialget_social_sentiment, get_social_trend, get_trending_social, get_social_momentum, get_source_credibility
Catalystsget_catalysts, get_catalyst_watch
Alt-dataget_alt_signals (FDA, CPSC, SEC suite, clinical trials, GitHub, App Store, Hacker News, news tone — one call), get_alt_data (Google Trends, Wikipedia views, options IV)
Options flowget_unusual_options
Portfolioget_auto_portfolio_status, get_auto_portfolio_history, get_portfolio_health, optimize_portfolio
Backtestlist_backtest_templates, run_backtest, get_backtest, get_backtest_history
Strategyget_strategy_performance, list_strategy_presets, get_strategy_preset_candidates
Macroget_macro_indicator, get_macro_dashboard, get_macro_calendar, get_macro_themes

Most tools are read-only fetches. run_backtest persists a simulation run (no live or paper orders). There is no order placement, cash move, or holdings mutation. Each tool is annotated readOnlyHint so agents know it is safe to call.

Accuracy and the no-edge gate

get_accuracy_summary hits the public /public/accuracy/summary scorecard. Read excessSpreadPp (alpha spread) and dataSufficient — do not treat hitRate as skill. When dataSufficient && excessSpreadPp < 0, auto-portfolio buys are suppressed (gated:no_edge). Call this before any buy-oriented portfolio read.

Portfolio/backtest/strategy tools are evaluate/read/backtest/optimize. This server never places orders. POST /auto-portfolio/evaluate executes paper trades and is not exposed.

Two things to know

  • The Q-Score (get_qscore) is the headline 0-100 composite, computed on sector-residualized returns (sector beta removed). Start here for "is this a good stock".
  • The ML prediction (get_ml_prediction) returns the probability of outperforming the S&P 500 over a horizon (classification: bull|bear) — it is not a buy/hold/sell rating.

Resources

The server exposes reference docs an agent can read on demand:

  • stoquant://glossary — what Q-Score, ML outperformance, regimes, and signal accuracy mean, plus unit conventions.
  • stoquant://methodology — sector residualization, IC-weighting, ML health gating, and screener field semantics.

Prompts

Pre-built workflows that chain the tools:

  • analyze_ticker(ticker) — full single-stock deep dive (Q-Score + ML + ownership + edges → verdict).
  • find_opportunities(style) — generate and vet a shortlist for a style (value, momentum, growth, hidden gems).
  • market_briefing — top-down snapshot (regime + macro + benchmarks + conviction).

Using the screener

run_screener filters on exact camelCase field names. An unknown field is treated as null server-side and silently excludes every stock, so use the documented names:

trailingPE, priceToBook, pegRatio, marketCap, debtToEquity, currentRatio, grossMargins, operatingMargins, revenueGrowth, earningsGrowth, rsi14, fiftyDayAverageChangePercent, twoHundredDayAverageChangePercent, fiftyTwoWeekHighChangePercent, shortPercentOfFloat, numberOfAnalystOpinions, sector, regularMarketPrice, regularMarketVolume, regularMarketChangePercent.

Margins/growth are decimals (0.25 = 25%); marketCap is raw USD (250000000 = 250M). Operators: gt, gte, lt, lte, eq, between (value: [low, high]), in (value: [string, …]).

The screener reads from StoQuant's cached daily fundamentals (fast, refreshed daily). Prefer run_prebuilt_screen (pre-tuned) or run_screener with universe: "sp500" and a few filters.

Example prompts

  • "Get the Q-Score for NVDA and explain the top features driving the ML call."
  • "Show me the top 10 conviction stocks and their current ML outperformance odds."
  • "What's the current market regime, and which sectors are leading?"
  • "Run the undervalued-gems prebuilt screen on the sp500 universe."
  • "Screen sp500 for trailingPE under 15 and debtToEquity under 0.5."
  • "Get insider activity for PLTR over the last quarter."
  • "What is the live accuracy grade and excessSpreadPp? Do not buy if the tail is inverted."
  • "Show auto-portfolio last eval and holdings. If gated:no_edge, do not recommend buys."
  • "List backtest templates and run momentum on sp500 for 2023."

Security

  • Server requires STOQUANT_API_KEY — fails fast on boot if missing or malformed.
  • All requests use HTTPS. Bearer token in Authorization header. Never logged.
  • Tickers are validated (^[A-Za-z0-9.\-^]{1,10}$) before any external use.
  • Client-side rate limit: 200 req/min (configurable via STOQUANT_RATE_LIMIT_RPM).
  • 30s per-request timeout (configurable via STOQUANT_TIMEOUT_MS).
  • Server-side: API key is hashed (SHA-256) at rest, prefix-indexed for fast lookup, timing-safe-compared on verify.
  • Revoke any key from https://stoquant.com/account/api-keys at any time.

Environment variables

VarDefaultDescription
STOQUANT_API_KEY— (required)Your StoQuant API key (free or Power tier)
STOQUANT_BASE_URLhttps://stoquant.com/apiAPI base URL
STOQUANT_RATE_LIMIT_RPM200Client-side rate limit (req/min)
STOQUANT_TIMEOUT_MS30000Per-request timeout
STOQUANT_DEV0Set 1 to allow http:// base URLs (local dev only)

License

MIT

来源:README.md,提交 b780334

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.6.0最新Oct 18, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分