TradeCanvas
io.github.bonguynvan/tradecanvas · 95 stars · TypeScript · MIT
MCP server Look up TradeCanvas chart indicators, options and drawing tools, and check options before use.
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@tradecanvas/mcpstdio
From the server's entry in the official MCP Registry.
Files
@tradecanvas/mcp
An MCP server for TradeCanvas, so a coding agent looks names up instead of guessing them. It answers from a catalog generated from the library's own code: the same version, the same names.
claude mcp add tradecanvas -- npx -y @tradecanvas/mcp
On Windows outside WSL, npx starts through cmd:
claude mcp add tradecanvas -- cmd /c npx -y @tradecanvas/mcp
In Git Bash, which runs the ! commands of Claude Code on Windows, write cmd //c npx -y @tradecanvas/mcp: Git Bash turns /c into a path.
Cursor, Claude Desktop and most other clients take the same command in their MCP settings (on Windows, "command": "cmd", "args": ["/c", "npx", "-y", "@tradecanvas/mcp"]):
{
"mcpServers": {
"tradecanvas": { "command": "npx", "args": ["-y", "@tradecanvas/mcp"] }
}
}
Codex adds it with codex mcp add tradecanvas -- npx -y @tradecanvas/mcp, or reads it from ~/.codex/config.toml, where the key is mcp_servers:
[mcp_servers.tradecanvas] command = "npx" args = ["-y", "@tradecanvas/mcp"]
Tools
All of them read only; none touches the network or your files.
| Tool | What it answers |
|---|---|
list_indicators |
The built-in indicators: id, name, and whether it draws over the price or in a pane. Search by words. |
get_indicator |
One indicator in full: default params, inputs, the keys of its lines (RSI's is value, not rsi), levels, and code that adds it and reads it. |
list_drawing_tools |
The drawing tools: the type that addDrawing and setDrawingTool take, the points each needs, its options. |
list_options |
The options of ChartWidget, Chart or ChartWidgetGrid: name, TypeScript type, doc, allowed values. |
list_widget_features |
The names ChartWidget's features switch takes. |
list_style_keys |
The chart's style keys and the value each takes, for overrides and applyOverrides. |
validate_options |
Checks an options object before it is used: unknown names with the one likely meant, values outside the allowed ones, numbers given as strings, intervals, feature switches, style overrides, languages, and nested options. |
A check, for instance:
{ "target": "ChartWidget", "options": { "timeFrame": "5m", "chartType": "line", "locale": "ja" } }
- timeFrame: Unknown option 'timeFrame' for ChartWidget. Did you mean 'timeframe'?
- chartType: Unknown option 'chartType' for ChartWidget. It is a Chart option: on ChartWidget it goes in `chartOptions`.
Note: 日本語 ('ja') is not built into the widget: call registerWidgetLocales() from '@tradecanvas/chart/widget/locales' before creating it.
Also
- The agent skill teaches the API itself, with worked examples:
/plugin marketplace add bonguynvan/tradecanvasin Claude Code, ornpx skills add bonguynvan/tradecanvas. - llms.txt and llms-full.txt hold the docs in one file.
Node 20.19 or later. MIT.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 95
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-11-08
- Forks
- 4
- MCP Registry
- io.github.bonguynvan/tradecanvas
- Homepage
- tradecanvas.dev
- Topics
- backtesting, candlestick-chart, canvas, charting-library, crypto, drawing-tools, financial-charts, fintech, indicators, react, stock-chart, svelte, technical-analysis, trading, trading-chart, typescript, vue, data-visualization, webgl, mobile
Next on this shelf
- 1584OpenAI WebSearch MCP ServerConechoAI/openai-websearch-mcpopenai websearch tool as mcp server94
- 1585Flyworks MCP: Free & Fast Zeroshot Lipsync ToolFlyworks-AI/flyworks-mcpFast and free zeroshot lipsync MCP server94
- 1586🚀 GitLab MR MCPkopfrechner/gitlab-mr-mcpInteract seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.94
- 1587Infobús MCPsimovilab/infobus-mcpModel Context Protocol server enabling AI assistants to access transit information through standardized interfaces94
- 1588CircleCI MCP ServerCircleCI-Public/mcp-server-circleciA specialized server implementation for the Model Context Protocol (MCP) designed to integrate with CircleCI's development workflow. This project serves as a bridge between CircleCI's infrastructure and the Model Context Protocol, enabling enhanced AI-powered development experien94
- 1589Academia MCPIlyaGusev/academia_mcpAcademia MCP server: Tools for automatic scientific research94