Developers · MCP-native · agent-first

25M+ chart patterns. One MCP install. Nine canonical tools.

Drop the MCP server into Claude, ChatGPT, Cursor — any agent — and it can anchor any (symbol, date, timeframe), retrieve the cohort of 300 historical analogs, and ground every read in calibrated empirical data.

25M+indexed patterns
<300mscohort retrieval
50–0vs ungrounded agents
9canonical MCP tools
$0Sandbox tier
Three lines to ship

Install once. Your agent gets nine tools and a memory layer.

Same package powers Claude Desktop, Cursor, and anything else speaking MCP. Just point it at the binary and reload.

# 1. Install the MCP server
pip install chartlibrary-mcp

# 2. Add to Claude Desktop config
{ "mcpServers": { "chartlibrary": {
    "command": "python", "args": ["-m", "chartlibrary_mcp"]
} } }

# 3. Ask Claude anything anchor-shaped
> What's the read on NVDA at 1h?
Latest: chartlibrary-mcp 5.1.0·Changelog →·PyPI →
The 9 canonical tools

One MCP surface. Your agent picks the right tool for the question.

Tight surface = better tool selection. Each tool composes the others — chain a cohort_id through analyze and explain without re-running kNN.

decision_briefStart here
One-call orchestrator. Read summary flags, paraphrase in your voice.
search
Find historical analogs of an anchor. Returns a cohort_id.
cohort
Conditional-distribution analysis. depth=basic / full / compare.
discover
What's interesting today. mode=daily_setups = one-call morning brief.
analyze
anomaly · volume_profile · crowding · earnings_reaction · pattern_degradation · …
context
Market regime · ticker metadata · anchor metadata · system coverage.
narrative
News intelligence. mode=pulse (single-symbol) or mode=alerts (market-wide).
explain
Filter ranking / position guidance / risk ranking from a stored cohort_id.
portfolio
Multi-holding weighted distribution OR per-symbol Layer 5 memory.
REST endpoints · for non-MCP callers

Plain REST works too.

The MCP tools are wrappers over the same JSON API. If you’re building outside the MCP ecosystem, call these endpoints directly.

MethodEndpoint
POST/api/v1/decision_briefNEW
GET/api/v1/agent/setups
GET/api/v1/market-contextCONTEXT
POST/api/v1/cohort_analyze
POST/api/v1/cohort_compare
GET/api/v1/symbol_intelligence/{symbol}
POST/api/v1/search/text
POST/api/v1/analyze
POST/api/v1/portfolio/analyze
GET/api/v1/narrative_pulse/{symbol}
GET/api/v1/narrative_alerts
GET/api/v1/status

200 free calls a day. No card.

Sandbox tier covers every solo agent on the planet. Upgrade only when you ship something that needs more.