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

backtrack-mcp

v0.1.1

Published

Backtrack: describe a trading strategy in plain words, backtest it honestly on real prices, and walk it up draft → backtested → paper → live (human-approved). MCP server + dashboard for AI agents; orders go through Brakeline.

Readme

Backtrack · strategy lab for AI agents

Test the trade before you risk it. · Website · npm · works with Brakeline and Ballast

Describe a trading strategy in plain words. Backtrack turns it into auditable rules, backtests it on ~3 years of real daily prices, and walks it up draft → backtested → paper → live. Only the human can approve live. Backtrack never trades: the agent places orders through Brakeline.

  • Plain words in (English or Indonesian): "Buy NVDA when it drops 5% in a week. Sell at +8% or a 4% stop loss." Anything it can't read is reported in unparsed, never guessed.
  • Honest backtest: signals at the close, fills at the next open, stop loss assumed before take profit on the same day, gap fills, 5 bps slippage. Compared with buy & hold and SPY.
  • Promotion gate: 10+ trades, drawdown under the limit, positive return, and better return per unit of risk than simply holding. Warns when the position size exceeds the user's Brakeline cap.
  • strategy.md + risk.md written for every saved strategy.
  • Paper / live loop: todays_signals (entries), check_exits (take profit, stop loss, max hold, RSI / average exits for open positions), record_fill, paper_status.

Rules: price drop / rise over N days, RSI below / above, above / below an N-day average, average cross up, MACD cross up, volume spike. Exits: take profit, stop loss, max hold days, RSI above.

Install

claude mcp add backtrack -- npx -y backtrack-mcp
claude mcp add brakeline -- npx -y brakeline      # executes the orders, risk-checked
npx backtrack-mcp dashboard                       # strategy lab on http://localhost:6200/app
npx backtrack-mcp "Buy QQQ when it drops 3% in 2 days, take profit 4%, stop loss 4%"

Develop

npm install && npm start && npm test

Past results do not predict future returns. Not investment advice.