Skip to main content

Chart Library MCP Server — pattern intelligence for AI agents

Project description

Chart Library MCP Server

A compliance-safe way for AI agents to discuss stocks using real historical data.

Instead of hallucinating predictions or refusing to answer, your agent can say: "The last 10 times a chart looked like NVDA, 7 went up over 5 days (avg +3.1%)." This is factual historical data from 24 million pattern embeddings across 10 years and 15,000+ stocks — not financial advice, not predictions, just what happened before.

Install

pip install chartlibrary-mcp

Usage with Claude

# Claude Code
claude mcp add chart-library -- chartlibrary-mcp

# Or run directly
CHART_LIBRARY_API_KEY=cl_your_key chartlibrary-mcp

Tools

Tool Description
analyze_pattern Search + forward returns + AI summary (recommended)
search_charts Find 10 most similar historical patterns
get_follow_through Forward returns (1/3/5/10-day) for matches
get_pattern_summary AI-generated plain-English summary
get_discover_picks Daily top patterns ranked by interest score
search_batch Multi-symbol parallel search (up to 20)
get_status Database stats and coverage

Example Conversation

User: What does NVDA's chart look like right now?

Claude (using Chart Library): NVDA's current pattern matches 10 historical setups. The closest is AAPL from May 2016 (93% similarity). Of the 10 matches, 8 went up over 5 days with an average gain of +3.0%. The current market regime resembles the post-SVB period of early 2023, which historically resolved bullishly.

API Key

Get a free API key (500 calls/day) at chartlibrary.io/developers.

Set it as an environment variable:

export CHART_LIBRARY_API_KEY=cl_your_key

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chartlibrary_mcp-1.0.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chartlibrary_mcp-1.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file chartlibrary_mcp-1.0.2.tar.gz.

File metadata

  • Download URL: chartlibrary_mcp-1.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for chartlibrary_mcp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 caabdbd06237abd009c358aa47354c1cc611524d9ff3b7bdc87799f535acfdf3
MD5 918b44bbfb1e7def51b93ecb276d48ab
BLAKE2b-256 9af9fc962e4086d9612563761bffd16ecbda8c1c4864edb543b74a63953b5db4

See more details on using hashes here.

File details

Details for the file chartlibrary_mcp-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for chartlibrary_mcp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50f2adb2939b6dec2d419227fb6827968da0eb9f576ad0ed84e84e259754f9fc
MD5 5e67f656a4a200a7e59e8b2f9cd1b5b5
BLAKE2b-256 c569cd6060b50ecc89561fde9ef488d6aeb51999811989a8c1fcc41315c67e49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page