Anki-cloud & anki-cloud-sync — source available & open-source self-hosted or cloud-based sync server with REST API and MCP/AI support

I’ve built an open-source Anki sync server that uses Google Drive as the storage backend, so your deck data never touches a third-party server — it stays in your own Drive. It also uses OAuth 2.0 for any authorization, so there are no user passwords stored anywhere.

What it does:

  • Full Anki sync protocol support (works with desktop + AnkiDroid + AnkiMobile)
  • Google Drive adapter — you own the storage
  • REST API for programmatic access to your decks
  • MCP server for AI/LLM integration (Claude, etc.)
  • Docker-based, self-hostable in minutes

The sync server implementation follows the standard Anki sync protocol, so it works as a drop-in replacement for AnkiWeb — just point the server URL in Anki’s preferences.

Early days — happy to hear feedback, bug reports, or questions about the architecture.

1 Like