List all existing Anki decks
Retrieves and displays all your Anki decks with card statistics including total cards, due reviews, and new cards. Use this to quickly view your available decks and their study progress before adding new cards or studying.
/plugin marketplace add jtmuller5/anki-claude-plugin/plugin install jtmuller5-anki-claude-plugin@jtmuller5/anki-claude-pluginList all Anki decks using the AnkiConnect API.
Process:
API Request Format:
Get deck names:
curl -X POST http://localhost:8765 \
-H "Content-Type: application/json" \
-d '{
"action": "deckNames",
"version": 6
}'
Get deck statistics:
curl -X POST http://localhost:8765 \
-H "Content-Type: application/json" \
-d '{
"action": "getDeckStats",
"version": 6,
"params": {
"decks": ["deck_name_here"]
}
}'
Output Format: Display decks in a formatted list showing:
Example output:
Available Anki Decks:
1. Spanish Vocabulary
- Total: 150 cards
- Due: 12 cards
- New: 5 cards
2. Computer Science
- Total: 89 cards
- Due: 3 cards
- New: 0 cards
3. Geography::Europe
- Total: 45 cards
- Due: 8 cards
- New: 2 cards
Error Handling:
Example Usage:
/list-decks