studycards

v0.3.0
io.github.kayalie/studycards Checked 1 day ago Published 2 months ago

Flashcards for Claude: create, edit and study StudyCards decks with FSRS spaced repetition.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_decks List decks

List all of your decks (sets) with name, description and card count.

get_deck Get deck

Get a single deck by id, including its card count and (optionally) its cards.

ParameterTypeDescription
setId *stringThe deck (set) id.
includeCardsbooleanIf true, also fetch and include the deck’s cards (all of them by default).
limitintegerWith includeCards: max cards to fetch. Omit to fetch ALL cards.
offsetintegerWith includeCards: 0-based card offset. Omit to fetch ALL cards.

create_deck Create deck

Create a new deck with a name and optional description.

ParameterTypeDescription
name *stringDeck name (1–200 chars).
descriptionstringOptional description (≤2000 chars).

update_deck Update deck

Update a deck’s name and/or description.

ParameterTypeDescription
setId *stringThe deck (set) id.
descriptionstringNew description.
namestringNew name.

delete_deck Delete deck

Delete a deck and all of its cards (cascade).

ParameterTypeDescription
setId *stringThe deck (set) id to delete (cards are cascade-deleted).

list_cards List cards

List the cards of a deck in order (1-based index, plain front/back text plus frontMd/backMd Markdown source and type). Fetches ALL cards unless limit/offset are given.

ParameterTypeDescription
setId *stringThe deck (set) id.
limitintegerMax cards to return. Omit (with offset) to fetch ALL cards.
offsetinteger0-based card offset. Omit (with limit) to fetch ALL cards.

add_cards Add cards

Add one or more cards to a deck. front/back support Markdown (bold, lists, $…$ math, fenced code).

ParameterTypeDescription
cards *array1–50 cards to create.
setId *stringThe deck (set) id to add cards to.

edit_card Edit card

Edit a card’s front and/or back text (any image on the side is preserved).

ParameterTypeDescription
cardId *stringThe card id.
backstringNew back text (Markdown supported).
frontstringNew front text (Markdown supported).

delete_card Delete card

Delete a single card by id.

ParameterTypeDescription
cardId *stringThe card id to delete.

get_due_cards Get due cards

List the cards of a deck that are due now (never-reviewed or past their spaced-repetition schedule), overdue first then new. Each entry carries an `item` number — pass it back to record_review.

ParameterTypeDescription
setId *stringThe deck (set) id.
limitintegerMax cards to return (default 50).

record_review Record review

Record a review for a card (rating "correct" or "false") to advance its spaced-repetition schedule. Pass the `item` number from get_due_cards, or omit it.

ParameterTypeDescription
cardId *stringThe card id being reviewed.
rating *stringWhether the recall was correct or false.
itemintegerReview item within the card: use the `item` value from get_due_cards. Always 0.