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?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 hereOne-call orchestrator. Read summary flags, paraphrase in your voice.
searchFind historical analogs of an anchor. Returns a cohort_id.
cohortConditional-distribution analysis. depth=basic / full / compare.
discoverWhat's interesting today. mode=daily_setups = one-call morning brief.
analyzeanomaly · volume_profile · crowding · earnings_reaction · pattern_degradation · …
contextMarket regime · ticker metadata · anchor metadata · system coverage.
narrativeNews intelligence. mode=pulse (single-symbol) or mode=alerts (market-wide).
explainFilter ranking / position guidance / risk ranking from a stored cohort_id.
portfolioMulti-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.
| Method | Endpoint |
|---|---|
| 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.