1. Conduid
  2. Developer Tools
  3. Anki MCP
MCP server · Developer Tools

Anki MCP

Anki mcp server

Unclaimed last commit a year ago devtools
41Fair

Scored 5 months ago · breakdown

About Anki MCP

Anki MCP is an MCP server published by kitagry in the Developer Tools category: anki mcp server.

The repository has 1 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/kitagry/anki-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Anki MCP

Powered by Claude · Grounded in docs

I know everything about Anki MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

Anki MCP Server

A Model Context Protocol (MCP) server that enables LLM applications to interact with Anki flashcards through AnkiConnect.

Features

  • Deck Management: Get list of all available decks
  • Note Creation: Add new flashcards to any deck
  • Note Search: Find notes using Anki's search syntax

Prerequisites

  1. Anki must be running
  2. AnkiConnect plugin must be installed in Anki
    • Install from Anki: Tools > Add-ons > Browse & Install
    • Code: 2055492159
    • Restart Anki after installation

Installation

git clone https://github.com/kitagry/anki-mcp
cd anki-mcp
go build

Usage

Run the MCP server:

./anki-mcp

The server communicates via stdio and provides the following tools:

Available Tools

deck_names

Get all deck names from Anki.

Parameters:

  • anki_url (optional): AnkiConnect URL (defaults to http://localhost:8765)

add_note

Add a new flashcard to Anki.

Parameters:

  • anki_url (optional): AnkiConnect URL (defaults to http://localhost:8765)
  • deck_name (required): Name of the deck to add the note to
  • model_name (optional): Note model name (defaults to 'Basic')
  • front (required): Front content of the note
  • back (required): Back content of the note
  • tags (optional): Comma-separated tags

add_notes

Add multiple flashcards to Anki in a single operation.

Parameters:

  • anki_url (optional): AnkiConnect URL (defaults to http://localhost:8765)
  • deck_name (required): Name of the deck to add the notes to
  • model_name (optional): Note model name (defaults to 'Basic')
  • notes (required): JSON array of notes with 'front', 'back', and optional 'tags' fields

Example notes format:

[
  {
    "front": "What is the capital of Japan?",
    "back": "Tokyo",
    "tags": ["geography", "capitals"]
  },
  {
    "front": "What is 2+2?",
    "back": "4",
    "tags": ["math"]
  }
]

find_notes

Find notes in Anki using a search query.

Parameters:

  • anki_url (optional): AnkiConnect URL (defaults to http://localhost:8765)
  • query (required): Search query (e.g., 'deck:Default', 'tag:important')

Configuration

By default, the server connects to AnkiConnect at http://localhost:8765. You can specify a different URL using the anki_url parameter in each tool call.

Dependencies

  • mark3labs/mcp-go - Go implementation of Model Context Protocol
  • AnkiConnect - Anki plugin for HTTP API access

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Anki MCP

How do I install Anki MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Anki MCP safe to use with an AI agent?

Its trust score is 41 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Anki MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.