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

torchleet-mcp

v0.1.0

Published

MCP server for TorchLeet — AI-guided PyTorch interview prep

Readme

TorchLeet MCP Server

An MCP (Model Context Protocol) server that turns any AI assistant into an interactive PyTorch interview coach using the TorchLeet problem set.

90 real PyTorch problems from ML/AI interviews at Google, Meta, Anthropic, and more — with progressive hints, learning paths, and company-specific prep plans.

Quick Start

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "torchleet": {
      "command": "npx",
      "args": ["-y", "torchleet-mcp"],
      "env": {
        "TORCHLEET_ROOT": "/path/to/your/TorchLeet/clone"
      }
    }
  }
}

Claude Code

claude mcp add torchleet -- npx -y torchleet-mcp

Set TORCHLEET_ROOT in your environment to enable notebook-based hints:

export TORCHLEET_ROOT=/path/to/your/TorchLeet/clone

Cursor / VS Code

Add to your MCP settings following your editor's MCP configuration format, using npx -y torchleet-mcp as the command.

What It Does

Tools

| Tool | Description | |------|-------------| | list_questions | Browse and filter questions by set, difficulty, company, category, or learning track | | get_question | Get full details for a question including Colab links | | get_learning_path | Structured learning paths: LLM path, basics, or advanced | | get_hint | Progressive hints (3 levels) — never reveals the full solution | | check_solution | Verification checklist for submitted code (does not execute) | | get_company_prep | Prioritized study plan for a specific company | | get_prerequisites | Find what to learn before tackling a hard problem |

Prompts

| Prompt | Description | |--------|-------------| | torchleet-tutor | Interactive study mode with Socratic questioning | | torchleet-interview-prep | Simulates a technical interview at a specific company | | torchleet-review | Code review focused on PyTorch best practices | | torchleet-explain | Deep-dive concept explanations with math and intuition |

Resources

| Resource | Description | |----------|-------------| | torchleet://questions | Full question catalog as JSON |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | TORCHLEET_ROOT | No | Path to your TorchLeet repo clone. Enables notebook-based hints with problem statements, function signatures, and TODO guidance. Without it, the server still works using built-in descriptions. |

Example Usage

After adding the MCP server, try these in your AI assistant:

  • "I'm preparing for an Anthropic interview, help me study"
  • "Show me the LLM learning path"
  • "Give me a hint for v3-14 (DPO Loss)"
  • "List all expert-level questions"
  • "What should I learn before tackling FlashAttention?"

Select the torchleet-tutor prompt for the best guided learning experience.

Development

git clone https://github.com/Exorust/TorchLeet.git
cd TorchLeet/mcp-server
npm install
npm run build

Test locally:

TORCHLEET_ROOT=.. node dist/src/index.js

License

MIT