Skip to main content
Glama

add_flashcards

Add multiple flashcards to Anki decks in batch operations to streamline study material creation and organization.

Instructions

Add multiple flashcards to Anki in a single operation.

Args: cards: List of dicts with 'front' and 'back' keys deck_name: The deck to add cards to (default: 'Default') tags: Optional list of tags for all cards

Returns: List of note IDs (None for duplicates)

Example: add_flashcards([ {"front": "What is Python?", "back": "A programming language"}, {"front": "What is FastMCP?", "back": "A Python framework for MCP servers"}, ], deck_name="Programming", tags=["python", "mcp"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes
deck_nameNoDefault
tagsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hbd/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server