Chart Library — Market-state research MCP Server
Market memory for AI: historical states, published studies and source evidence.
Chart Library — Market-state research scores 65 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under AI and memory. GitHub shows 23 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
78/100 for listing completeness. Lost points: 3 of 5 tools barely described, short summary, no docs link.
How quality is graded
Where the 65 comes from
22 + 15 + 4 + 10 + 4 + 10 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "grahammccain-chart-library-mcp": { "command": "uvx", "args": [ "chartlibrary-mcp" ], "env": { "CHART_LIBRARY_API_KEY": "YOUR_CHART_LIBRARY_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CHART_LIBRARY_API_KEYSecret | Optional | Optional API key. Public research works without authentication; service limits apply. |
Tools5Tool docs quality grade C
All capabilitiesdaily_notetoolOptional date
market_statetoolSymbol; optional date
read_researchtoolResearch ID; optional section, offset and version
research_qualitytoolNone
search_researchtoolQuery; optional kind, limit and offset
About
Chart Library MCP
Market memory for AI, with published research for agents and people.
Version 6.3.3 marks failed public tool calls as MCP errors while preserving their structured recovery details. Invalid requests explain how to correct the inputs; stale publication versions retain instructions to restart from the current overview. Successful response schemas and direct Python calls remain compatible.
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:
python -m pip install --upgrade chartlibrary-mcp
Then use the equivalent of this configuration in your MCP client:
{
"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
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
search_research(query="IONQ noon", kind="casebook")
read_research(research_id="casebook:ionq-noon", section="article",
version="FULL_VERSION_FROM_SEARCH")
Replace FULL_VERSION_FROM_SEARCH with the full 64-character version from the chosen search result. Updated servers supply documents[section].read_arguments directly; copy those into the tool and follow content.next_read until null. With earlier servers, pass the returned version and next_offset explicitly. Omitting the optional version reads the current publication without checking it against earlier responses. A changed version returns an error explaining how to restart from the current overview; the client does not retry automatically.
Search summaries are discovery metadata, not a source read. Read available guides and relevant limiting findings before making claims. 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 · Agent research plan
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_qualityaudits 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.
Developer guide · Methodology · Data terms · Privacy
Local verification
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.
Frequently asked questions
What is Chart Library — Market-state research MCP Server?
Market memory for AI: historical states, published studies and source evidence.
How do I install Chart Library — Market-state research MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Chart Library — Market-state research MCP Server runs locally from the PyPI package chartlibrary-mcp with the command uvx chartlibrary-mcp.
Is Chart Library — Market-state research MCP Server free and open source?
Yes. Chart Library — Market-state research MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Chart Library — Market-state research MCP Server support remote (HTTP) connections?
Yes. Chart Library — Market-state research MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Chart Library — Market-state research MCP Server provide?
Chart Library — Market-state research MCP Server provides 5 tools, including daily_note, market_state, read_research, and research_quality. See the full tool list for descriptions and parameters.
How is Chart Library — Market-state research MCP Server's trust score calculated?
Chart Library — Market-state research MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.