Chart Library
Pattern intelligence API for AI agents. Search 24M historical chart patterns, get forward returns, market regime analysis, and AI summaries for any stock ticker.
Chart Library MCP Server
MCP server for Chart Library — a visual chart pattern search engine. Find historically similar stock charts from 24M+ patterns across 15K+ symbols and 10 years of data. See what happened next.
What it does
Given a stock ticker and date, Chart Library finds the 10 most similar historical chart patterns using ML embeddings (DINOv2-ViT-B/14) and pgvector similarity search. Returns forward returns (1/3/5/10 day), outcome distributions, and AI summaries.
Tools
| Tool | Description |
|---|---|
analyze_pattern | Recommended — complete analysis in one call: search + forward returns + AI summary |
search_charts | Find similar historical chart patterns for a ticker + date |
search_batch | Search multiple symbols at once (up to 20) |
get_follow_through | Compute 1/3/5/10-day forward returns from matches |
get_pattern_summary | AI-generated plain-English summary |
get_discover_picks | Today's most interesting patterns from the daily scanner |
get_status | Database stats: embeddings, symbols, date range |
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"chart-library": {
"command": "python",
"args": ["mcp_server.py"],
"cwd": "/path/to/chart-library-mcp"
}
}
}
Claude Code (CLI)
claude mcp add chart-library -- python mcp_server.py
Configuration
Set CHART_LIBRARY_API_KEY for higher rate limits (optional — free tier works without a key):
export CHART_LIBRARY_API_KEY=cl_your_key_here
Get a free key at chartlibrary.io/developers.
Example
User: "What does AAPL's chart from March 20 look like historically?"
Agent uses analyze_pattern("AAPL 2026-03-20"):
→ 10 matches found (JNJ, CVX, MSFT, TJX, RTX...)
→ 5-day forward: avg +0.39%, 6 of 10 went up
→ AI summary: "Based on 10 similar patterns, AAPL shows..."
Links
- chartlibrary.io — Live app
- API docs
- OpenAPI spec
- AI plugin manifest
License
MIT
Похожие серверы
XActions
⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source.
Rami Levy
An MCP server for interacting with the Rami Levy online grocery store API.
Mnemo Cortex
Persistent cross-agent semantic memory for AI agents. Recall past sessions, share knowledge across agents. Multi-agent (isolated writes, shared reads), local-first (SQLite + FTS5), works with any LLM — local Ollama at $0 or cloud APIs like Gemini and OpenAI. Integrations for Claude Code, Claude Desktop, and OpenClaw.
Polymarket MCP
Self-hosted MCP server for AI agent trading on Polymarket. 42 tools for market discovery, order placement, wallet intelligence, copy trading, and reward discovery.
ImmoStage Virtual Staging
AI virtual staging for real estate — stage rooms, beautify floor plans, classify images, generate property descriptions
ShapeBridge
MCP Agent to understand 3D models
Zo
Zo is your personal vibe server in the cloud with 50+ tools and integrations. Add texting, email, calendar, research and more to your harness easily.
Weather Service MCP Server
A Spring Boot-based weather service providing weather forecasts and alerts via MCP integration.
NBA MCP Server
Provides NBA statistics and live game data using the Model Context Protocol (MCP).
MCP Trader Server
An MCP server for stock and cryptocurrency analysis with technical analysis tools.