Anki MCP Server

add_card

Create a new flashcard in Anki using HTML formatting for both the front and back of the card. Ensures proper formatting with HTML tags for line breaks, code blocks, lists, and text styling.

Instructions

Create a new flashcard in Anki for the user. Must use HTML formatting only. IMPORTANT FORMATTING RULES:

  1. Must use HTML tags for ALL formatting - NO markdown
  2. Use <br> for ALL line breaks
  3. For code blocks, use <pre> with inline CSS styling
  4. Example formatting:
    • Line breaks: <br>
    • Code: <pre style="background-color: transparent; padding: 10px; border-radius: 5px;">
    • Lists: <ol> and <li> tags
    • Bold: <strong>
    • Italic: <em>

Input Schema

NameRequiredDescriptionDefault
backYesThe back of the card. Must use HTML formatting only.
frontYesThe front of the card. Must use HTML formatting only.

Input Schema (JSON Schema)

{ "properties": { "back": { "description": "The back of the card. Must use HTML formatting only.", "type": "string" }, "front": { "description": "The front of the card. Must use HTML formatting only.", "type": "string" } }, "required": [ "front", "back" ], "type": "object" }

You must be authenticated.

Other Tools from Anki MCP Server

Related Tools

ID: 1srmm6tbie