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
Máy chủ liên quan
Journald MCP server
Incident forensic with log files analyzing
Strider Labs Uber MCP
MCP server for Uber - let AI agents book rides, get fare estimates, and track trips
Airthings Consumer
Monitor air quality with Airthings devices.
İzmir Ulaşım
Access real-time public transportation data for the city of İzmir, allowing AI assistants to query routes and schedules.
Nomad Stays
The world's platform for finding and booking digital nomad friend accommodation
CostPlusDrugs.com
A Model Context Protocol (MCP) server that provides AI agents with affordable access to Cost Plus Drugs pharmacy services, offering transparent medication pricing and comprehensive drug information.
QGold
A server for natural language processing of asset prices and financial modeling for withdrawal rate impact analysis.
Maude for Claude
Autonomous agent framework for infrastructure operations. Governance-first — ships a constitution, 14 standards, and a kill switch. Your services detect their own problems, recall past fixes, and self-heal at 3 AM while you sleep. Built on FastMCP. Python 3.10+.
YouTube Playlist Generator MCP Server
A Model Context Protocol (MCP) server that enables AI applications to search for YouTube music videos and manage playlists using the official YouTube Data API v3.
Poke-MCP
Fetches Pokémon data from the PokeAPI and exposes it through a standardized MCP interface.