Skip to main content
ClaudeWave

MCP server for Chart Library — visual chart pattern search engine. Find similar historical stock charts and see what happened next.

MCP ServersOfficial Registry20 stars1 forksPythonMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/10/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · --upgrade
Claude Code CLI
claude mcp add chart-library-mcp -- python -m --upgrade
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "chart-library-mcp": {
      "command": "python",
      "args": ["-m", "pip"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install --upgrade
Use cases

MCP Servers overview

# Chart Library MCP
<!-- mcp-name: io.github.grahammccain/chart-library -->

Market memory for AI, with published research for agents and people.

Version 6.3.1 adds published-research search and source-document reading to the hosted
service and installed client. Existing integrations retain their callable tool names.

## Five read-only tools

| Tool | Input | Result |
| --- | --- | --- |
| `market_state` | Symbol; optional date | Completed-session state, historical analogs, outcome ranges, transition memory and tape |
| `daily_note` | Optional date | Published daily research, selection rule and settled-note tally |
| `research_quality` | None | Published calibration receipt, dated sample and qualifications |
| `search_research` | Query; optional kind, limit and offset | Relevant publications, IDs, findings, sample receipts, limitations and versions |
| `read_research` | Research ID; optional section, offset and version | Overview or an exact source document, with pagination and hashes |

Market-state requests need no preliminary search or cohort handle. For published
research, search for an ID, then read its evidence.

Example question: “Read AAPL's latest completed-session state. Report the
historical analog ranges, sample sizes, session date and limitations.”

Omitting date uses the latest built/published session, not a real-time quote.
Dates use YYYY-MM-DD. Missing or thin evidence stays missing or thin.

## Connect

The primary remote endpoint is **https://chartlibrary.io/mcp**, using
Streamable HTTP and no authentication.

For a command-based client, install or upgrade the package:

```sh
python -m pip install --upgrade chartlibrary-mcp
```

Then use the equivalent of this configuration in your MCP client:

```json
{
  "mcpServers": {
    "chartlibrary": {
      "command": "chartlibrary-mcp"
    }
  }
}
```

No API key or server-side Python packages are required. An optional
`CHART_LIBRARY_API_KEY` is forwarded as a Bearer token when set. An empty key
does not send an Authorization header. `CHART_LIBRARY_API_URL` can select your
own compatible endpoint; only point it at a server you trust with that key.

Python 3.10+ is required. This release uses the MCP 1.x FastMCP interface and
pins `mcp>=1.28.1,<2.0.0`; MCP 2.x is a separate migration.

## The equivalent HTTP calls

```sh
curl "https://chartlibrary.io/api/v1/state-packet?symbol=AAPL"
curl "https://chartlibrary.io/api/v1/daily"
curl "https://chartlibrary.io/api/v1/calibration"
```

Use only the call relevant to the question. For a historical state add
`&date=YYYY-MM-DD`. Daily REST requests call the date parameter `session`.

## Research workflow

```python
search_research(query="IONQ noon", kind="casebook")
read_research(research_id="casebook:ionq-noon")
read_research(research_id="casebook:ionq-noon", section="article")
```

The overview lists available sections. Pass its version on later reads and follow
next_offset until null. Keyword search ranks document relevance, not market similarity
or evidence strength. A partial result means a publication source was unavailable.
Withdrawn articles cannot be read. Publication dates and market cutoffs differ; the
noon IONQ case must not be merged with completed-session state analogs.

[Complete IONQ example](https://chartlibrary.io/developers/research-example) ·
[Agent research plan](https://chartlibrary.io/research/agents)

## Read the evidence accurately

- Preserve dates, sample sizes, informative receipts, warnings and provenance.
- State-packet excess returns are percentage-point observations relative to a
  date-matched liquid-stock baseline. Each horizon has its own observed n.
- Raw historical percentiles are not automatically calibrated forecasts.
- `research_quality` audits only the method and population its receipt names.
  Do not transfer its coverage percentage to every market state or all research.
- Daily research has its own selection rule and settled-note tally.
- Historical frequencies are not recommendations to buy or sell.

Research access is free. Service limits and underlying data terms still apply.
Honor HTTP 429 and retry guidance; do not assume unlimited throughput.

## Existing integrations

Existing tool names stay registered and callable, including `pull_comps`,
`search`, `state_packet`, and the cohort inspection tools. To discover the
extended menu in a local client, set `CHART_LIBRARY_MCP_PROFILE=advanced`.
This changes discovery, not authorization or access to private research.

The public menu does not expose private fund operations or every experimental
state-memory method. Legacy examples in `examples/` use the advanced interface.

## Build with us

For a custom integration, a larger study, or a product built on the memory,
contact **Graham McCain — [graham@chartlibrary.io](mailto:graham@chartlibrary.io)**.

[Developer guide](https://chartlibrary.io/developers) ·
[Methodology](https://chartlibrary.io/methodology) ·
[Data terms](https://chartlibrary.io/data-licensing) ·
[Privacy](https://chartlibrary.io/privacy)

## Local verification

```sh
python -m pytest test_vendor_import.py
```

The import smoke runs without an API key and without application `services/`
or `db/` packages. No package or registry publication is performed by tests.
ai-agentsclaudefinancellm-toolsmarket-datamcpmcp-servermodel-context-protocolpattern-recognitionstock-marketstockstechnical-analysistrading

What people ask about chart-library-mcp

What is grahammccain/chart-library-mcp?

+

grahammccain/chart-library-mcp is mcp servers for the Claude AI ecosystem. MCP server for Chart Library — visual chart pattern search engine. Find similar historical stock charts and see what happened next. It has 20 GitHub stars and its last recorded update is dated 2026-09-10.

How do I install chart-library-mcp?

+

You can install chart-library-mcp by cloning the repository (https://github.com/grahammccain/chart-library-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is grahammccain/chart-library-mcp safe to use?

+

Our security agent has analyzed grahammccain/chart-library-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains grahammccain/chart-library-mcp?

+

grahammccain/chart-library-mcp is maintained by grahammccain. The last recorded GitHub activity is dated 2026-09-10, with 0 open issues.

Are there alternatives to chart-library-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy chart-library-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: grahammccain/chart-library-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/grahammccain-chart-library-mcp)](https://claudewave.com/repo/grahammccain-chart-library-mcp)
<a href="https://claudewave.com/repo/grahammccain-chart-library-mcp"><img src="https://claudewave.com/api/badge/grahammccain-chart-library-mcp" alt="Featured on ClaudeWave: grahammccain/chart-library-mcp" width="320" height="64" /></a>

More MCP Servers

chart-library-mcp alternatives