Anki MCP ServerServer

nailuoGG
GitHub
educationflashcardslearning

Loading subscription status...

💡 Description

A Model Context Protocol (MCP) server that allows LLMs to interact with the Anki flashcard software through AnkiConnect, enabling the creation and management of flashcards, decks, and note types.

📝 JSON Entries

{
  "mcpServers": [
    {
      "anki": {
        "args": [
          "--yes",
          "anki-mcp-server"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

create_deckcreate_note_typeget_note_infodelete_notelist_note_typescreate_notebatch_create_notesupdate_note

Features

  • Enables interaction with Anki flashcard software
  • Provides tools for managing decks, creating flashcards, and manipulating note types

💬 Example Queries

  • Create a new Anki deck called 'Programming'
  • Create an Anki card in the 'Programming' deck with: Front: What is a closure in JavaScript? Back: A closure is the combination of a function and the lexical environment within which that function was declared.
  • Create a cloze card in the 'Programming' deck with: Text: In JavaScript, {{c1::const}} declares a block-scoped variable that cannot be {{c2::reassigned}}.