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

@gongrzhe/server-flashcard

v1.0.0

Published

Flashcard / Spaced Repetition MCP App Server

Readme

Flashcard MCP Server

Spaced repetition flashcard app with SM-2 algorithm, multiple decks, flip animations, and mastery tracking.

Features

  • SM-2 Spaced Repetition Algorithm - Scientifically-proven algorithm for optimal review scheduling, adjusting intervals based on card difficulty and performance
  • Multiple Decks - Pre-loaded decks covering JavaScript Fundamentals, Git Commands, and HTTP Status Codes
  • Mastery Tracking - Cards progress through learning, reviewing, and mastered states with automatic advancement based on performance
  • Flip Animations - Interactive card flip animations for engaging study experience
  • Study Statistics - Real-time tracking of reviews, streak days, ease factors, and mastery breakdown
  • Ease Factor Adjustment - Dynamic difficulty scoring that adapts to your performance on each card

Installation

npm install @gongrzhe/server-flashcard

Usage

As a CLI

npx @gongrzhe/server-flashcard

Claude Desktop Configuration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "flashcard": {
      "command": "npx",
      "args": ["-y", "@gongrzhe/server-flashcard"]
    }
  }
}

Claude Code Configuration

claude mcp add flashcard -- npx -y @gongrzhe/server-flashcard

Tools

get-flashcard-deck

Returns a built-in flashcard deck with cards for studying.

Parameters:

  • topic (optional) - Topic for the deck: 'javascript', 'git', or 'http'. Defaults to 'javascript'.

Returns:

  • Deck name and description
  • List of flashcards with front/back content and difficulty levels
  • Total card count

submit-review

Submit a review rating for a flashcard. Uses the SM-2 spaced repetition algorithm to compute the next review interval.

Parameters:

  • cardId - The ID of the card being reviewed
  • rating - Rating from 1 (Again) to 5 (Easy)
  • responseTimeMs - Time in milliseconds the user took to respond

Returns:

  • Next review date
  • Review interval in days
  • Updated ease factor
  • Current mastery level (learning, reviewing, mastered)

get-stats

Returns study statistics including mastery breakdown, average ease factor, streak, and reviews today.

Parameters:

  • deckId (optional) - Deck ID to get stats for. Defaults to all decks.

Returns:

  • Total card count
  • Breakdown by mastery level (mastered, reviewing, learning)
  • Average ease factor
  • Current streak days
  • Reviews completed today

Example Prompt

Load the JavaScript fundamentals flashcard deck and start studying

Built-in Decks

JavaScript Fundamentals

10 cards covering core JavaScript concepts including closures, prototypes, async patterns, and ES6+ features.

Git Commands

8 cards covering essential Git commands for version control, branching, merging, and collaboration.

HTTP Status Codes

10 cards covering common HTTP status codes, their meanings, and when they are used in web applications.

License

MIT