Semantic search

AnkiWeb addon 1311966390

Enables natural-language semantic card search via Voyage AI embeddings, optional Claude reranking and smart search, plus duplicate finding, card actions, and clinical vignette/guideline review modes.
AI-generated summary; may contain mistakes.

aiduplicatessearch

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
8 (πŸ‘ 8 Β· πŸ‘Ž 0)
Updated
2026-04-05
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-04-05 (210 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-04-05
History across monthly snapshots

Loading…

Similar addons

Anki Semantic Search

Enables semantic and keyword search across selected Anki notes, generating cited AI answers through local or cloud providers.

aisearch

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 3 Anki 25.09.2~ Updated 2026-06-15
AnkiVec

Generates local Ollama vector embeddings for Anki cards, stored in ChromaDB, enabling semantic natural-language searches via "vec:" queries that can combine with keyword filters.

aisearch

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 23.09~ Updated 2025-11-20
Easy Search

Enables offline AI semantic and keyword hybrid card search on local CPU, with a browser semantic: prefix, a search dialog for previewing and suspending cards, and automatic model download.

aisearch

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-05-30
Smart Search

Adds a local AI panel in Anki's Browser that turns plain-English requests into Anki searches, expands synonyms, and finds matching cards privately.

aisearch

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.2~ Updated 2026-06-27
AttendingAI

Grades written Anki answers using an LLM, retrieves supporting material via semantic RAG, offers tutor explanations, analytics, batch assessment, and optional interval suggestions.

aischedulingreview-flowstatisticsquiz

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.02.6~ Updated 2026-01-10

Description

NOTE: everytime you update Anki you need to reinstall numpy otherwise it will try to compute the index by doing the actual math and kill your ram

Semantic Search – Anki Add-on

The semantic search add on gives you a browse feature that understands meaning rather than just matching keywords. After a one-time indexing step (which embeds all your cards using Voyage AI's voyage-4-large model β€” an embedding model that converts each card's content into a 1024-dimensional vector capturing its meaning), you can search your entire collection using natural language... i.e. searching "signs of adhesive capsulitis on exam" will surface cards about restricted passive and active ROM even if they never use those exact words. Results are ranked by cosine similarity and are ranked by relevance score.

Optionally, if you add an Anthropic API key, you can rerank the top 50 results through Claude Haiku, which actually reads each card in context and re-orders them with greater understanding.

If you're still not getting good results with the basic search function, you can click the "smart search" button. This does a bunch of other hardcore things you can find the technical details on below, but basically it should find what you need! It does requrie an Anthropic API though.

There's also other buttons on each card that enable quick actions:

  • to search the deck for potential "meaning" duplicates.
  • to unsuspend/suspend a card
  • to jump to edit function
  • a "schedule" button which randomly sets the due date of the card within a week, in case you find a new card you want to pop up conveniently in your reviews soon
Image 11 Image 12 Image 13 Image 14

The add-on also includes two Claude-powered bonus modes: a Vignette mode where you paste a question bank practice question and Claude extracts the core clinical concepts into an optimised search query and finds relevant cards, and a Guideline Review mode where you paste a new study abstract or UpToDate section etc and the add-on automatically identifies which of your existing cards may be outdated or incomplete β€” surfacing them with specific suggested amendments. Suspended cards are visually flagged in results and can be unsuspended in one click, making it useful for finding relevant cards to add to your active queue. All card operations (unsuspend, open in editor) work directly from the results panel without leaving the search dialog.

Setup (do this once)

1. Install numpy

First, you need numpy installed on Anki's python. On Mac, you can run ~/Library/Application\ Support/AnkiProgramFiles/.venv/bin/pip install numpy in Terminal.

2. Get a Voyage AI API key

  • Go to https://voyageai.com β†’ Sign up (free)
  • Dashboard β†’ API Keys β†’ Create new key
  • You get $10 free credit β€” enough to embed ~8 million cards

4. Enter your API key

Anki β†’ Tools β†’ Semantic Search Settings β†’ paste key β†’ Save

5. Build the index

Click "βš™ Build Index" in the widget on the home screen.

  • Runs in the background β€” you can keep using Anki
  • 200k cards takes ~10-15 minutes and costs ~$1.50
  • Progress bar shows current status
  • Subsequent runs only re-embed new/changed cards (very fast, ~free)

6. Search

  • Press Ctrl+Shift+F (or click "πŸ” Search" button)
  • Type a clinical concept, question, or phrase
  • Results show relevance %, card front, card back preview, deck
  • Click any result to open it in the card browser

Storage

Embeddings are stored in user_files/embeddings.db (SQLite). Approximate size: ~400MB for 200k cards (float16 compression).

Change log

26/03

Regular quick search button still there.. but added a new "smart search" button that may take a few more seconds but should be even more accurate. it requires an Anthropic API too. Here's how it works:

Step 1 β€” Claude generates two things from your query:

A hypothetical Anki card β€” what a perfect card on this topic would look like, written in flashcard style (e.g. "Front: Adhesive capsulitis exam findings | Back: Globally restricted ROM in all planes, especially ER; no crepitus...") 2 paraphrases of your query using different medical terminology (eponyms, mechanisms, abbreviations, etc.)

Step 2 β€” Voyage embeds all of them:

The hypothetical card is embedded as a document β€” the same way your real cards were indexed. This is the key insight of HyDE: a document-to-document comparison is more accurate than query-to-document, because the hypothetical card lives in the same vector space as your real cards. The original query + 2 paraphrases are embedded as queries (3 in one batch call)

Step 3 β€” 4 independent searches run against your embedding matrix, one per vector.

Step 4 β€” Reciprocal Rank Fusion merges the results. Each card's final score is Ξ£ 1/(60 + rank) summed across every list it appears in. A card that ranks #4 in the HyDE search, #7 in the original query, and #3 in a paraphrase scores much higher than one that only appeared in one list. Cards that consistently surface across multiple angles of the same concept float to the top.

The practical effect: it catches cards where your query language and your card language don't overlap β€” e.g. you search "heart attack workup" and it finds cards phrased around "STEMI", "troponin kinetics", and "Killip classification" that a single keyword-style or even single-vector search might rank poorly.