# 2anki

> 2anki is a freemium MCP server for productivity. Hosted MCP connector that turns text, files, URLs and photos into Anki decks. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Website:** https://2anki.net/documentation/reference/mcp
- **Repository:** https://github.com/2anki/2anki.net
- **MCP Registry name:** net.2anki/mcp
- **Categories:** productivity, files and documents
- **Listing updated:** 2026-11-14

## About

The connector runs on 2anki's own hosted server and signs in with OAuth 2.1. You approve a consent screen once, and the assistant then builds decks on your 2anki account and hands back a download link for a ready .apkg file. Access is open to every signed-in account.

Six tools cover the flow: converting text, Markdown, CSV/TSV or a URL, building a deck from structured cards (with subdecks), reading a photo of notes or a slide, previewing cards, listing your decks and checking which note types are available.

Usage counts against the same plan limits as the web app. Free accounts have a monthly card limit and a photo quota, while paid plans have no monthly card limit and photos use AI credits. Single requests are capped at 5 MB of text, 500 cards per deck and 10 MB per photo.

## Features

- **Text and URL conversion:** Turns text, Markdown, CSV/TSV or a web address into a finished deck.
- **Structured deck building:** Builds decks from explicit cards, with subdecks set per card.
- **Photo to cards:** Reads a photo of notes, a textbook page or a slide and makes cards.
- **Preview before download:** Shows a deck's cards before you download the file.
- **OAuth sign-in:** Connects once through a consent screen and can be revoked in the assistant's settings.

## Good for

- Make flashcards from lecture notes pasted into a chat
- Turn a photographed textbook page into an Anki deck
- Convert a web article into study cards
- Check what is already in your 2anki account

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://2anki.net/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://2anki.net/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://2anki.net/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://2anki.net/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://2anki.net/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://2anki.net/mcp"
    }
  }
}
```

## Tools

- `convert_to_deck`: Turn text, Markdown, CSV/TSV, or a URL into a finished deck
- `create_deck`: Build a deck from structured cards, with subdecks via a per-card deck field
- `photo_to_deck`: Turn a photo of notes, a textbook page, or a slide into cards
- `get_deck_preview`: Show a deck's cards before downloading
- `list_my_decks`: List the decks on your account
- `deck_capabilities`: Discover available note types and card options

## FAQ

### How does the connector sign in?

It uses OAuth 2.1; a sign-in and consent screen opens the first time an assistant connects.

### Are there size limits?

Requests are capped at 5 MB of text, 500 cards per deck and 10 MB per photo.

### Do free accounts have limits?

Yes, a monthly card limit and a photo quota; paid plans have no monthly card limit.

### What do I get back?

A download link to a ready .apkg deck.

### Is 2anki free?

2anki has a free plan, with paid plans for more usage or features.

### How do I add 2anki to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://2anki.net/mcp

### What are the best alternatives to 2anki?

The closest alternatives to 2anki are Ha MCP, Concord MCP, note1, ASTra and CalderFlow.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CalderFlow](https://ai-powered.com/mcp/calderflow): CalderFlow is a free MCP server for design and media.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [nicemails](https://ai-powered.com/mcp/nicemails): nicemails is a freemium MCP server for communication.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/2anki
