Chart Library
图表库 MCP 服务器
兼容: Claude Desktop | Claude Code | ChatGPT | GitHub Copilot | Cursor | VS Code | 任何 MCP 客户端
询问你的 AI 智能体“上次出现这种图表形态时发生了什么?”,并获得真实的答案——由历史类似案例群组和后续走势的校准分布提供支持。
超过 2500 万个形态嵌入。10 年历史数据。1.9 万多只股票。一次工具调用即可完成。
> "What does NVDA's chart on 2024-08-05 1h look like historically?"
NVDA · 2024-08-05 · 1h — cohort of 500 historical analogs
(485 with realized 5-day returns)
Distribution at 5 days forward:
median: −1.3%
p10 ·· p90: −11.3% ·· +6.8% (80% empirical band)
win rate: 44%
cohort_score: 0.31 (modest)
Features that separated winners from losers:
+ credit_spread_state = tight
+ macro_state = bullish
+ pct_off_52w_low (further off)
− vol_regime = low
Summary: NVDA's 1-hour pattern on 2024-08-05 has 500 historical
analogs. The cohort's 5-day distribution is bearish-leaning
(median −1.3%, win rate 44%) — the historical record does NOT
show this pattern typically resolving bullish. Conditioning on
tight credit spreads and a bullish macro state would have
separated the outperformers within the cohort.这是一种检索,而非预测。没有幻觉预测。没有选择性偏差。只有你的智能体可以引用的经验记录。
快速入门
pip install chartlibrary-mcpClaude Desktop(一键安装)
下载 chart-library-1.1.1.mcpb 扩展文件,并使用 Claude Desktop 打开以进行自动安装。
Claude Code
claude mcp add chart-library -- chartlibrary-mcpClaude Desktop(手动安装)
添加到 claude_desktop_config.json:
{
"mcpServers": {
"chart-library": {
"command": "chartlibrary-mcp",
"env": {
"CHART_LIBRARY_API_KEY": "cl_your_key"
}
}
}
}Cursor / VS Code
添加到 .cursor/mcp.json 或 VS Code MCP 设置中:
{
"servers": {
"chart-library": {
"command": "chartlibrary-mcp",
"env": {
"CHART_LIBRARY_API_KEY": "cl_your_key"
}
}
}
}GitHub Copilot (VS Code)
添加到项目中的 .vscode/mcp.json(该文件已包含在 chart-library 仓库中):
{
"servers": {
"chart-library": {
"command": "chartlibrary-mcp",
"env": {
"CHART_LIBRARY_API_KEY": "cl_your_key"
}
}
}
}当你打开项目时,Copilot Chat 会自动检测到 MCP 服务器。在 Copilot Chat 中使用 @mcp 来调用工具。
ChatGPT (开发者模式)
ChatGPT 通过远程 HTTP 端点连接到 MCP 服务器。设置方法如下:
启用开发者模式:前往 ChatGPT 设置 > 应用 > 高级设置 > 开发者模式(需要 Pro、Plus、Business、Enterprise 或 Education 计划)
创建连接器:在“设置 > 连接器”中,点击“创建”并输入:
名称:Chart Library
描述:历史图表形态搜索引擎 — 涵盖 1.9 万多只股票的 2500 万个形态,10 年数据
URL:
https://chartlibrary.io/mcp身份验证:无需身份验证(如果使用 API 密钥,则选择 OAuth)
在对话中使用:从 Plus 菜单中选择“开发者模式”,选择 Chart Library 应用,然后提问,例如“NVDA 的图表在历史上看起来是什么样的?”
注意:位于
https://chartlibrary.io/mcp的远程端点使用 Streamable HTTP 传输。如果需要 SSE 回退,请使用https://chartlibrary.io/mcp/sse。
远程 MCP 端点
对于任何支持远程 HTTP 连接的 MCP 客户端:
https://chartlibrary.io/mcp此端点同时支持 Streamable HTTP 和 SSE 传输,无需本地安装。
免费层级:200 次调用/天,无需信用卡。 在 chartlibrary.io/developers 获取 API 密钥,或在没有密钥的情况下使用基础搜索。
Related MCP server: TickerDB
你的智能体能用它做什么?
“我应该担心我的 TSLA 持仓吗?”
> get_exit_signal("TSLA")
Signal: HOLD (confidence: 72%)
Similar patterns that exited early: 3/10 would have avoided a drawdown
Similar patterns that held: 7/10 gained an additional +2.1% over 5 days
Recommendation: Pattern suggests continuation. No exit signal triggered.“目前哪些行业正在轮动?”
> get_sector_rotation()
Leaders (30-day relative strength):
1. XLK Technology +4.2%
2. XLY Cons. Disc. +3.1%
3. XLC Communication +2.8%
Laggards:
9. XLU Utilities -1.4%
10. XLP Cons. Staples -2.1%
11. XLRE Real Estate -3.3%
Regime: Risk-On (growth > defensives)“如果 SPY 下跌 3%,AMD 会发生什么?”
> run_scenario("AMD", spy_change=-3.0)
When SPY fell ~3%, AMD historically:
Median move: -5.2%
Best case: +1.1%
Worst case: -11.4%
Positive: 18% of the time
AMD shows 1.7x beta to SPY downside moves.8 个规范工具
Chart Library 2.0 将 22 个旧版工具整合为 8 个可组合的原语。通过 cohort_id 句柄进行链式调用,无需重新运行 kNN 即可实现亚秒级细化。
工具 | 功能 |
| 入口点。返回给定股票代码+日期的 |
| 核心原语。 图表形态的条件分布(p10/p25/p50/p75/p90 + 校准带 + MAE/MFE + 命中率 + 生存率),按机制/行业/流动性/事件过滤。一次调用即可替代旧版的 |
| 通过 |
| 通过 |
| 通过 |
| 投资组合层面的持仓条件分布。加权平均分布,对尾部贡献者进行排名。 |
| 2.0 新增。 轻量级(代码,日期)元数据获取——行业、市值、时点机制。当你只需要股票的上下文时,可避免进行完整的 kNN 计算。 |
| 报告错误或建议改进。 |
这些工具用真实的条件基准率取代了虚构的“平均而言该形态收益为 X%”。查看 grounded-base-rates 模式 以了解完整循环。
典型的智能体流程
1. search("NVDA 2024-06-18") → cohort_id
2. cohort(cohort_id=..., filters={regime:{same_vix_bucket: true}})
→ conditional distribution
3. explain(cohort_id=..., style="filter_ranking") → which filter matters most
4. cohort(cohort_id=..., filters={...new filter...}) → refined distribution旧版工具(已弃用,仍可调用)
为了向后兼容,这 22 个旧版工具名称仍然保留,并在其 MCP 注释中标记为 deprecated。它们会转发到规范工具,并将在未来的重大版本中移除。请通过下表进行迁移:
旧版 | 替换 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
工作原理
Chart Library 索引了一个庞大的历史图表形态库,并通过条件分布 API 将其公开。每个查询都返回样本量、百分位数和校准后的远期收益带——绝非点预测。
当你的智能体调用 analyze_pattern("NVDA") 时,服务器会:
构建 NVDA 当前图表状态的表示
检索历史上相似的形态
查看随后 1、3、5 和 10 天内发生的情况
通过 Claude Haiku 返回分布 + 纯英文摘要
结果:事实性、可引用的陈述,例如“在 N 个相似的历史形态中,5 天的中位数收益为 X%(80% 区间 [p10, p90])”,你的智能体可以在不产生幻觉或回避的情况下呈现这些内容。
API 密钥
层级 | 调用次数/天 | 价格 |
Sandbox | 200 | 免费 |
Builder | 5,000 | $29/月 |
Scale | 50,000 | $99/月 |
在 chartlibrary.io/developers 获取你的密钥。
export CHART_LIBRARY_API_KEY=cl_your_key链接
图表库提供历史形态数据仅供参考。不构成财务建议。
Available Tools
22 toolsanalyzeAnalytic MetricsARead-onlyIdempotentInspect
Analytic metrics on a cohort or (symbol, date) anchor.
metric values:
- "anomaly" — is the pattern unusual vs the symbol's
own history? (needs symbol)
- "volume_profile" — intraday volume vs historical norms
(needs symbol)
- "crowding" — cross-symbol crowding indicator
(market-wide; no symbol needed)
- "correlation_shift" — rolling correlation breakdowns
(extra_args: lookback, window, symbols)
- "earnings_reaction" — historical earnings gap reactions
(needs symbol; extra_args: min_gap)
- "pattern_degradation" — are signals losing edge vs historical
accuracy? (market-wide)
- "regime_accuracy" — win rates filtered by current regime
(needs symbol)
- "decompose" — find slice conditions that separated
winners from losers within a cohort
(needs cohort_id; horizon, max_slices,
explain_slices apply)
- "clusters" — cluster a cohort into k forward-return
groups (needs cohort_id; horizon, k)
Supply cohort_id (preferred, anchor inherited) OR explicit
symbol+date for the symbol-needing metrics.
Args:
metric: see list above
cohort_id: handle from `search` or `cohort` (required for
decompose, clusters; preferred for symbol-needing metrics)
symbol, date: explicit anchor when no cohort_id available
extra_args: per-metric optional kwargs (see metric list)
horizon: forward horizon in trading days (decompose, clusters,
regime_accuracy)
max_slices: max returned slice conditions (decompose)
explain_slices: include Haiku narrative tying slices together
(decompose)
k: cluster count override (clusters; default chosen automatically)
Inputs: metric (required), cohort_id, symbol, date, +5 more. Returns: result
anchor_fetchAnchor Metadata (deprecated → use context(target={symbol,date}))CRead-onlyIdempotentInspect
[DEPRECATED in v5 — use context(target={"symbol": ..., "date": ...})]
Inputs: symbol (required), date. Returns: result
clustersCluster Cohort (deprecated → use analyze(metric='clusters'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use analyze(metric="clusters", cohort_id=...)]
Inputs: cohort_id (required), horizon, k. Returns: result
cohortCohort IntelligenceARead-onlyIdempotentInspect
Conditional-distribution analysis — the Chart Library core primitive.
Three depth modes:
depth="basic" (default, fast ~50ms):
Returns kNN cohort + outcome distribution (p10/p25/p50/p75/p90,
win rate, MAE, MFE) + survivorship. Supply cohort_id (refine
prior cohort) OR query OR symbol+date.
depth="full" (Layer 3, ~280ms, paid tier):
Returns the basic outputs PLUS feature importance (which Layer 2
features separated winners from losers within this cohort),
regime stratification (outcomes sliced by vol/macro), risk
profile (drawdown / runup percentiles), cohort tightness
score, AND a deterministic `summary` block of classification
flags (verdict_class, edge_class, regime_alignment,
sample_quality, conviction, swing_factors with framings,
caveat_flags). Read `summary` first — paraphrase the framings
in your own voice rather than narrating the raw stats; cite
numbers in parentheses for support. `summary` is included
when `include_anchor_metadata=True` (the regime classification
needs the anchor's metadata). Requires symbol+date+timeframe
(cohort_id alone isn't enough — the Layer 3 analyzer needs
the full anchor).
depth="compare" (~400ms):
Compare TWO anchors' cohorts side-by-side. Pass symbol+date for
the primary AND compare_with={"symbol":..., "date":..., "timeframe":...} for the secondary. Returns both cohorts'
distributions plus a delta summary.
Filters (Layer 2 metadata constraints):
vol_regime: list of "low"/"mid"/"high"
macro_state: list of "bullish"/"neutral"/"bearish"
has_news: bool
days_since_earnings / days_since_ath / sector_rs /
realized_vol / relative_volume: dict with "min" / "max"
Empirical-distribution analysis only. Does NOT predict a single
point return; surfaces what historical analogs did and which features
separated them.
Args:
symbol, date, timeframe: anchor (default timeframe "1h")
query: alt to symbol+date, "SYMBOL YYYY-MM-DD"
cohort_id: refine a stored cohort (basic mode only)
depth: "basic" | "full" | "compare"
filters: Layer 2 constraints
horizons: forward horizons in trading days (default [5, 10] for
basic, [1, 5, 10] for full)
cohort_size: target K (10-2000)
compare_with: secondary anchor for depth="compare"
include_feature_importance, include_regime_stratification,
include_risk_profile: full-mode toggles
include_modes: full-mode only — when True, returns a `modes`
array clustering the cohort into K outcome playbooks (e.g.
"smooth uptrend +4.2%", "sharp downtrend -8.1%"). Each
entry has mode_id, label, n, median_return, win_rate,
std_return, p25/p75_return, and centroid_cum_returns
(sparkline-ready trajectory). Sorted ASC by median_return
so mode_id=0 is the worst realized cluster. Use for
"playbook" framing — the cohort isn't one outcome, it's
K distinct historical paths.
n_modes: number of modes to cluster into (2-6, default 4).
Adaptive: degrades to fewer modes if cohort_size is small.
exclude_same_symbol_days: drop same-symbol analogs within N
calendar days of the anchor (autocorrelation control;
default 10)
include_path_stats: include MAE/MFE/realized-vol (basic mode)
fields: full-mode only — optional allowlist of top-level
response keys to return. None (default) = full payload.
Valid: outcome_distribution, feature_importance,
regime_stratification, risk_profile, cohort_tightness_score,
cohort_score, combined_conviction, pulse_boost,
narrative_pulse, cohort_anchors, anchor_metadata. Use to
slim the JSON when you only need a subset (e.g.
fields=["outcome_distribution"] drops 97% of bytes).
anchor, cohort_size_actual, elapsed_ms, warnings are
always returned.
Inputs: symbol, date, timeframe, query, +14 more. Returns: result
cohort_analyzeCohort Analyze (deprecated → use cohort(depth='full'))BRead-onlyIdempotentInspect
[DEPRECATED in v5 — use cohort(depth="full", ...)]
Layer 3 cohort intelligence. Forwarded to cohort(depth="full").
Inputs: symbol (required), date (required), timeframe, cohort_size, +6 more. Returns: result
cohort_compareCohort Compare (deprecated → use cohort(depth='compare'))CRead-onlyIdempotentInspect
[DEPRECATED in v5 — use cohort(depth="compare", compare_with=...)]
Inputs: symbol_a (required), date_a (required), symbol_b (required), date_b (required), +3 more. Returns: result
contextMarket & Symbol ContextARead-onlyIdempotentInspect
Situational data about a target.
target accepts four shapes:
- "market" (default): SPY/QQQ regime + sector rotation +
breadth + macro
- "SYMBOL" (e.g. "NVDA"): ticker metadata + sector + market cap
- {"symbol": "NVDA", "date": "2024-08-05"}: anchor metadata —
sector, cap, point-in-time regime, news, days_since_earnings,
etc. Lightweight; no kNN.
- "system": DB coverage stats (embedding count, daily bar count,
date range)
Args:
target: "market" | "SYMBOL" | {symbol, date} | "system"
Inputs: target. Returns: result
decision_briefDecision BriefARead-onlyIdempotentInspect
One-call decision-grade orchestrator. Use this as your DEFAULT first call for any (symbol, date) anchor question.
Composes cohort_analyze (depth=full) + anchor metadata + Layer 5 memory
(symbol_intelligence) + narrative pulse into a single structured brief.
── HOW TO TURN THIS INTO A GOOD ANSWER ──────────────────────────
Read `summary` first. It contains deterministic classification flags:
verdict_class: bullish | lean_bull | coin_flip | lean_bear | bearish | broken
edge_class: trivial | small | meaningful | large
regime_alignment: tailwind | neutral | headwind
sample_quality: thin | ok | strong
conviction: low | med | high
swing_factors: [ { factor, direction, framing } ]
caveat_flags: [ thin_in_regime_sample, regime_was_derived, ... ]
Paraphrase the `framing` strings in your OWN voice — do not quote them
verbatim. Cite the raw numbers in parentheses, don't enumerate every
structured field. Lead with the verdict, then the context, then the
swing factors as things to watch, then conviction.
Example (your voice may differ):
"Honestly, this NVDA setup is a coin flip. In-regime cohort (n=21)
printed +0.09% median over 5d (52% wins) — basically identical to
other regimes (+0.27%, 52%). Sector is lagging hard (-10.4 RS),
which is muting reads. Soft sample size — directional, not thesis."
── RESPONSE STRUCTURE ───────────────────────────────────────────
summary (read this first — see above)
current_regime (anchor's regime label + features)
cohort_total (all analogs, all regimes)
in_current_regime (subset matching the anchor's regime)
outside_current_regime (rest, weighted average)
conditional_edge (median_lift_pp + win_rate_lift_pp)
thesis_invalidation_triggers (top 5 features, narrative-ready with
interpretation strings — quote these
when explaining what would flip the read)
feature_importance (top 20 features ranked by within-cohort
importance, compact shape — use this
when the user asks about a specific
feature or you need depth beyond the
top 5. Mirrors the full attribution
view the /intelligence UI shows.)
n_features_total (count of all features computed; if
greater than 20 the rest are available
via /api/v1/cohort_analyze directly)
memory_context (Layer 5 prior observations)
narrative_context (news pulse)
conviction (legacy — same as summary.conviction)
When to use this vs the primitives:
- decision_brief: agents asking "what should I know about this anchor?"
- cohort (depth='full'): when you need full feature_importance / raw stats
- analyze (metric=...): single metric drill-downs
Args:
symbol, date, timeframe: anchor (timeframe default "1h" — current; "1d" lags ~3 days)
cohort_size: target K (default 300)
horizon_days: forward horizon for the headline read (default 5)
include_memory: include Layer 5 prior-observations context (default True)
include_narrative: include news pulse / narrative-change context (default True)
Inputs: symbol (required), date (required), timeframe, cohort_size, +3 more. Returns: result
decomposeDecompose Cohort (deprecated → use analyze(metric='decompose'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use analyze(metric="decompose", cohort_id=...)]
Inputs: cohort_id (required), horizon, max_slices, explain. Returns: result
discoverDiscover SetupsARead-onlyIdempotentInspect
What's interesting across the market today.
Three modes:
mode="picks" (default):
Top picks ranked by cohort score. Default limit 20, lookback 3
days, horizon 5.
mode="daily_setups":
Tomorrow's brief — top picks pre-enriched with full-cohort
statistics, top-3 features, and yesterday's calibration recap,
all in one response. Replaces the multi-call discovery dance.
Default top=3, timeframe="1d".
mode="risk_adjusted":
Today's picks ranked by Sharpe-like score. Default min_sharpe
0.3.
Args:
mode: "picks" | "daily_setups" | "risk_adjusted"
limit: max picks returned (mode="picks")
lookback_days: scan window in days (mode="picks")
horizon: forward horizon for ranking (mode="picks")
top: number of pre-enriched setups (mode="daily_setups")
timeframe: cohort timeframe (mode="daily_setups")
date: ISO date override (mode="risk_adjusted"; default today)
min_sharpe: minimum Sharpe threshold (mode="risk_adjusted")
fields: daily_setups only — optional allowlist of top-level
response keys. Valid: setups, yesterday_recap. as_of_date
and cohort_timeframe are always returned. Use to drop
yesterday_recap when you only need today's picks.
Inputs: mode, limit, lookback_days, horizon, +5 more. Returns: result
discover_picksDiscover Picks (deprecated → use discover(mode='picks'))CRead-onlyIdempotentInspect
[DEPRECATED in v5 — use discover(mode="picks", ...)]
Inputs: limit, lookback_days, horizon. Returns: result
explainExplain CohortARead-onlyIdempotentInspect
Narrative + rankings derived from a stored cohort.
style values:
- "filter_ranking" — rank candidate filters by how much each
one shifts the distribution at the given
horizon. Use to discover conditional
structure before calling `cohort` with the
winning filter.
- "prose" — plain-English summary of the cohort
outcome (Claude Haiku).
- "position_guidance" — exit-signal recommendation for an open
position. Derives symbol+entry_date from
the cohort anchor.
- "risk_ranking" — today's risk-adjusted picks (Sharpe-like)
from forward tests.
Args:
cohort_id: handle from `search` or `cohort`
style: see list above (default "filter_ranking")
horizon: forward horizon in trading days (default 5)
Inputs: cohort_id (required), style, horizon. Returns: result
get_daily_setupsDaily Setups (deprecated → use discover(mode='daily_setups'))CRead-onlyIdempotentInspect
[DEPRECATED in v5 — use discover(mode="daily_setups", ...)]
Inputs: top, timeframe. Returns: result
live_searchLive Bar Search (deprecated → use search(mode='live_bars'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use search(mode="live_bars", bars=...)]
Inputs: bars (required), scale, top_k, cross_timeframe. Returns: result
narrativeNews IntelligenceARead-onlyIdempotentInspect
News intelligence — narrative-change signals layered on price.
Two modes:
mode="pulse" (default):
Single-symbol narrative pulse — frequency anomaly, tone shift,
sentiment-price misalignment (priced-in vs narrative-change),
FinBERT sentiment composite. Surfaces catalysts that price
hasn't yet reflected. Needs symbol.
mode="alerts":
Market-wide narrative anomalies — top tickers right now where
sentiment and price are most divergent. Default min_pulse 0.30,
limit 30.
Args:
mode: "pulse" | "alerts"
symbol: ticker (mode="pulse" only)
min_pulse: minimum narrative_change_score threshold
(mode="alerts")
limit: max alerts returned (mode="alerts")
Inputs: mode, symbol, min_pulse, limit. Returns: result
narrative_alertsNarrative Alerts (deprecated → use narrative(mode='alerts'))DRead-onlyIdempotentInspect
[DEPRECATED in v5 — use narrative(mode="alerts", ...)]
Inputs: min_pulse, limit. Returns: result
narrative_pulseNarrative Pulse (deprecated → use narrative(mode='pulse'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use narrative(mode="pulse", symbol=...)]
Inputs: symbol (required). Returns: result
portfolioPortfolio AnalysisARead-onlyIdempotentInspect
Portfolio-level analysis OR per-symbol track-record + Layer 5 memory.
Two modes:
mode="basic" (default):
Multi-holding conditional distribution. Runs per-holding cohorts
in parallel, weight-averages the distributions, ranks tail
contributors (weight × p10, most negative first). PM-agent
primitive. Pass holdings=[{symbol, weight, date}].
mode="symbol_intel":
Per-symbol track record + Layer 5 memory — what does Chart
Library know about this single symbol across all prior
analyses? Returns prior cohort_observations, feature_reliability
learned for the symbol, and the symbol's per-pattern accuracy
history. Pass symbol=X, lookback_days=N.
Args:
holdings: list of {symbol, weight, date} (mode="basic")
symbol: ticker (mode="symbol_intel")
mode: "basic" | "symbol_intel"
horizons: forward horizons (mode="basic"; default [5, 10])
top_k_per_holding: cohort size per holding (mode="basic")
include_path_stats: include MAE/MFE (mode="basic"; slower)
lookback_days: history window (mode="symbol_intel"; default 365)
Inputs: holdings, symbol, mode, horizons, +3 more. Returns: result
report_feedbackReport FeedbackAIdempotentInspect
File an error or improvement suggestion to Chart Library.
Use this when something looks wrong (unexpected response shape,
surprising statistics, an error you can describe), or when you
spot a missing capability that would have unblocked you. Reports
land in Graham's inbox and feed the roadmap.
Args:
message: free-text description (required)
endpoint: which API endpoint, if any (e.g. "cohort_analyze")
symbol: associated ticker, if any
severity: "low" | "medium" | "high"
Inputs: message (required), endpoint, symbol, severity. Returns: result
searchSearch Historical PatternsARead-onlyIdempotentInspect
Entry point: find similar historical patterns and return a cohort_id.
Three modes:
- mode="text" (default): pattern search by query string or
symbol+date+timeframe. Cheap, fast, ~50ms.
Examples:
search(query="NVDA 2024-08-05 1h")
search(symbol="NVDA", date="2024-08-05", timeframe="1h")
- mode="live_bars": find historical analogs of a raw bar sequence
the agent constructed (not yet stored in our DB). Pass `bars`
as a list of {open, high, low, close, volume, timestamp}.
- mode="similar": find cohorts most similar to a given (symbol,
date) anchor at the cohort level, not the chart-pattern level.
Useful for "what other setups historically clustered with this
one?"
Returns: {status, data: {cohort_id, anchor, n_matches, top_matches,
survivorship}, meta}. The cohort_id can be chained into `cohort`,
`analyze`, or `explain` to compose richer responses without re-running
kNN.
Args:
query: 'SYMBOL YYYY-MM-DD [timeframe]' (alt to symbol+date)
symbol, date, timeframe: anchor components (alt to query)
top_k: cohort size (10-2000)
mode: "text" | "live_bars" | "similar"
bars: list of OHLCV dicts (mode="live_bars" only)
cross_timeframe: search across timeframes (mode="live_bars" only)
Inputs: query, symbol, date, timeframe, +4 more. Returns: result
similar_cohortsSimilar Cohorts (deprecated → use search(mode='similar'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use search(mode="similar", symbol=..., date=...)]
Inputs: symbol (required), date (required), timeframe, top_k. Returns: result
symbol_intelligenceSymbol Intelligence (deprecated → use portfolio(mode='symbol_intel'))ARead-onlyIdempotentInspect
[DEPRECATED in v5 — use portfolio(mode="symbol_intel", symbol=...)]
Inputs: symbol (required), lookback_days. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Many tools have overlapping purposes (analyze vs cohort, decision_brief vs cohort+context) and deprecated tools (11 of 22) with similar names (cohort_analyze vs cohort) cause confusion. Descriptions help but an agent could easily misselect between analyze and cohort for metrics.
Active tools use a mix of single-word verbs (analyze, discover) and nouns (cohort, context), but the deprecated tools (e.g., clusters, decompose) break the pattern. The naming is not completely chaotic but lacks a strict verb_noun convention.
22 tools is too many for a focused API, especially with 11 deprecated ones that are essentially dead weight. The active set (~11 tools) would be appropriate, but the server includes all deprecated tools, making it noisy and heavy.
The non-deprecated tools cover the key operations: pattern search, cohort analysis, metrics, narratives, portfolio analysis, and feedback. Minor gaps (e.g., direct bar fetching) but the core domain of chart-based decision support is well covered.
Maintenance
Related MCP Connectors
Quant research for AI agents: point-in-time data, backtests and paper trading for stocks and crypto.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
US stock market data for AI agents: SEC filings, financials, insider trades, 13F, options, macro.
Screen 11,000+ stocks using natural language and detect chart patterns via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceFinancial intelligence for AI agents. 31 tools across 8 data sources — regime, derivatives, stablecoin flows, momentum, volatility, macro, DeFi, weather patterns, political cycles, seasonality. The context layer between your agent and a bad trade.319 npm9MIT
- AlicenseAqualityBmaintenancePoint-in-time market data for AI agents: stocks, ETFs and crypto as named bands plus raw values.105MIT
- AlicenseAqualityDmaintenanceAgent-ready financial intelligence tools for AI agents. Two curated tools — get_stock_snapshot and get_company_metrics — that combine multiple data sources, derive signals (UNDERVALUED, STRONG, ACCELERATING), and pre-compute the math. One call, one agent-friendly response.3126 npm1MIT
- AlicenseAqualityBmaintenanceInstitutional-grade quantitative stock analysis and research signals for AI agents via the Model Context Protocol (MCP).1085 PyPI1MIT