Chart Library Mcp

finance MCP Server

MCP server for Chart Library — visual chart pattern search engine. Find similar historical stock charts and see what happened next.

financefinance
7 views17 stars1 forksMIT

Why This Matters

Discovered via unknown and last synced 3mo ago.

Source
unknown
Stars
17
Last synced
3mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
25
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (25)

cohort_compare

`cohort(depth="compare", compare_with={...})`

search

Entry point. Find similar historical patterns for an anchor; returns a `cohort_id` you can chain. `mode=` supports `text` (default), `live_bars` (raw OHLCV), `similar` (cohort-level neighbors).

anchor_fetch

`context(target={"symbol": ..., "date": ...})`

discover

What's interesting today. `mode="picks"` (cohort-ranked top picks), `mode="daily_setups"` (pre-enriched briefs in one call), `mode="risk_adjusted"` (Sharpe-ranked).

ChatGPT

GitHub Copilot

portfolio

Multi-holding weighted conditional distribution. Runs per-holding cohorts in parallel, weight-averages the distributions, ranks tail contributors.

Scale

50,000

Builder

5,000

Tool

What it does

narrative

News intelligence. `mode="pulse"` (single-symbol narrative-change score + FinBERT sentiment) or `mode="alerts"` (market-wide divergence anomalies).

Legacy

Replacement

cohort

**The core primitive.** Conditional distribution analysis. `depth="basic"` returns kNN + outcome distribution; `depth="full"` adds Layer 3 feature importance + regime stratification + risk profile; `depth="compare"` pits two anchors side-by-side. Filters across regime / sector / liquidity / event.

report_feedback

File an error or improvement suggestion back to the project.

Tier

Calls/day

cohort_introspect

Slice/probe a stored `cohort_id` by ANY attribute (macro · technical · event) and get per-subset stats vs the full-cohort baseline. No kNN re-run. *"Of the 300 analogs, how do the post-earnings-week ones do?"*

cohort_groupby

Partition the cohort by one dimension (`vol_regime`, `sector_etf`, `momentum_5d`, …) → per-bucket outcome distributions vs baseline. The one-call "does this dimension matter?" primitive.

cohort_analyze

**The core primitive.** Layer 3 cohort intelligence for a `(symbol, date, timeframe)` anchor — calibrated outcome distribution + feature importance (which features separated winners from losers) + regime stratification + risk profile. Filters across regime / sector / liquidity / event.

cohort_members

The full cohort, one record per analog, with rich per-member metadata (forward outcomes, regime, anchor fundamentals, news, chart events). Slice and bucket it yourself.

symbol_intelligence

Layer 5 memory — per-symbol feature reliability + achieved calibration across prior analyses. Ground a read in whether a feature has historically been reliable for this ticker.

cohort_rerank

Reorder the cohort by a weighted composite of member fields you name (e.g. `"ret_5d:1,distance:-0.5"`) — impose your objective on the analogs, fully auditable.

context

Situational data. `target=` accepts `"market"`, a ticker symbol (`"NVDA"`), `{"symbol": ..., "date": ...}` for lightweight anchor metadata, or `"system"` for DB coverage.

explain

Narrative + rankings derived from a cohort. `style=` accepts `filter_ranking` (which filter shifts the distribution most), `prose` (plain-English summary), `position_guidance` (exit signals), `risk_ranking`.

Sandbox

200

analyze

Analytic metrics. `metric=` accepts `anomaly`, `volume_profile`, `crowding`, `correlation_shift`, `earnings_reaction`, `pattern_degradation`, `regime_accuracy`, `decompose` (slice winners vs losers), `clusters` (cohort-internal grouping).

get_portfolio_health

`portfolio`