npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tradecanvas/mcp

v1.54.4

Published

An MCP server for TradeCanvas: coding agents look up its indicators, drawing tools, options, feature switches and style keys, and check an options object before they use it.

Readme

@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/tradecanvas in Claude Code, or npx skills add bonguynvan/tradecanvas.
  • llms.txt and llms-full.txt hold the docs in one file.

Node 20.19 or later. MIT.