AnkiWeb
- Rating
- 1 (👍 1 · 👎 0)
- Updated
- 2026-08-25
- Anki versions
- <=26.08
- Description language
- en
AnkiWeb addon 677438639
Provides keyboard-first medical flashcard search with typo recovery, alias matching, exact Anki filters, optional local semantic search, deck picking, previews, safe bulk actions, and privacy-focused local processing.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 24.11 | 26.08 | 2026-08-25 |
Loading…
Filters huge medical tag trees, applies AnKing/Malleus yield filters, promotes cards to personal decks, shows deck card-state bars, and adds keyboard shortcuts.
Adds ranked natural-language search to Anki Browser, using rarity-weighted matching, synonym cleanup, bounded feedback, native filters, note grouping, and score cutoffs.
Converts UWorld, AMBOSS, and COMLEX question IDs into Anki tag search queries, with clipboard auto-load, shortcuts, file import, and custom tags.
Searches Anki notes by meaning with keyword, embedding, or hybrid retrieval, then generates cited AI answers using local or cloud providers.
Builds guided Anki filtered decks from topic tags and source decks, plus recovery, time-based sessions, context, notes, resume, debrief, and cleanup tools.
Lets Anki users interactively pick web-search images for flashcards, batch-process notes, and choose Bing, DuckDuckGo, or API-based Google Images providers.
Fast, forgiving medical search for Anki Desktop—with native filters, local semantic search, and safe card actions.
Created by Saleh Mostafa with MedBrevia.
Distribution: the public beta is available from AnkiWeb. Install it with add-on code 677438639. The frozen release archive is also available through GitHub Releases.

Open the palette with Command-K on macOS or Ctrl-K on Windows/Linux, type naturally, and press Return to open the result in Anki's Browser. In Anki's Browser, click the green magnifier-plus at the left edge of the main search field to open that visible query in Smart Search. In Smart Search, right-click the query field and choose Search in Anki Browser to send the current query back to Anki's native Browser.
buproprion can find bupropion.deck:, tag:, note:, is:, flag:, prop:,
rated:, field searches, Boolean groups, and wildcards are delegated to
Anki.| Mode | Best for | Network/model required |
|---|---|---|
| Smart | Typos, medical aliases, phrases, and everyday retrieval | No |
| Exact | Standard Anki Browser syntax: separate terms are ANDed; quotes preserve a phrase | No |
| Semantic | Finding cards by clinical meaning | One explicit local setup |
Smart/Exact and Semantic use separate local indexes. Smart and Exact remain usable while Semantic prepares.

Every collection change uses Anki's supported, undoable operations and creates
one clean Undo step per action. Smart Search never writes directly to
collection.anki2.


Search, typo recovery, alias expansion, indexing, and semantic inference run on the user's computer.
Anki may check AnkiWeb for compatible add-on updates. Public installations also offer Check & Update in the About tab; it uses Anki's native updater and never sends card content or search queries.
When the user explicitly starts Semantic setup, the add-on downloads pinned model/tokenizer files over HTTPS and verifies their SHA-256 digests. Ordinary request metadata such as an IP address and user-agent can be visible to the download host; no Anki content or query is included.
Semantic inference and vector-index arithmetic run in a local, short-lived worker process. Card text, embeddings, and validated result records travel only through local operating-system pipes; the worker does not open a network service. Exiting it lets macOS reclaim NumPy, the model, and the native inference libraries instead of retaining them inside Anki.
The local full-text index contains searchable copies of note/card content and metadata. The vector index contains embeddings derived from note text. Treat both with the same privacy as the Anki profile.
Read the complete privacy notice, data-source record,
and third-party notices. The intended hosted notice is
https://medbrevia.com/legal/smart-search-privacy.
See Known limitations for the practical boundaries around indexes, sync, ranking, and collection operations.
The live listing is https://ankiweb.net/shared/info/677438639. Installation by
that numeric code was verified in a fresh disposable Anki base: the installed
folder was 677438639, Smart and Exact search worked, the inline preview
rendered both front and answer, and Semantic remained opt-in without downloading
a model.
The exact signed-off .ankiaddon remains available from
GitHub Releases.
In Anki, choose Tools → Add-ons → Install from file…, select the archive,
and restart.
If you previously installed a manually shared development build, remove or disable that copy before installing the AnkiWeb version. Loading both the named development folder and AnkiWeb's numeric folder would register the add-on twice. Local indexes are disposable and may be rebuilt safely.
Clone the repository, then run the validation and package builder:
python3 -m pip install -r scripts/requirements-test.txt
python3 -m unittest discover -s tests -t . -p 'test_*.py' -v
python3 scripts/build_addon.py
The builder:
The add-on reads exact changed notes and compact metadata manifests through Anki while Anki owns the collection connection. External SQLite work, text processing, spelling vocabulary construction, model and vector operations, profile initialization, and cleanup run outside Anki's graphical interface thread.
Collection and media sync establish a synchronous embargo before Anki queues host work. Every queued Smart Search collection operation checks that embargo again before it runs, and the gate opens only after all nested sync activity and Anki's deferred reset finish. If Anki reports a PyO3-wrapped Rust backend panic, Smart Search converts it to one normal restart message, cancels its optional work, and makes no more collection calls in that Anki process.
Reviewing has an explicit background-work embargo: card answers schedule no
search maintenance, and pending edit/sync/index work resumes only after the
reviewer closes and the interface has settled. An explicitly submitted
Semantic query remains available in the foreground; it is bounded by an
end-to-end timeout and cannot silently leave the interface in Searching….
All native Semantic work is isolated in a pinned standalone Python 3.13 worker with one ONNX thread, single-sequence inference, bounded authenticated messages, and a 256 MiB macOS process-memory ceiling. The worker starts only for Semantic work and exits afterward, allowing the operating system to reclaim NumPy, the model, ONNX Runtime, and Tokenizers memory. While the visible palette remains in Semantic mode, a 90-second idle lease avoids reloading the helper between adjacent searches. Closing the palette reaps it immediately; switching modes leaves the existing idle timer to unload it. Anki receives only validated plain vectors and result records and imports none of those native packages.
Adds, edits, and deletes normally refresh only affected notes. Operations for which Anki does not expose stable affected IDs—such as sync, imports, native bulk edits, undo/redo, and structural deck/note-type changes—schedule a compact manifest audit, then hydrate only the affected notes in bounded batches.
Indexes are disposable and profile-scoped under user_files/. They are not
added to collection.anki2 and are not synced by Smart Search.
These components improve retrieval; they do not verify that a card is current or medically correct. Search results are not medical advice.
Exact versions, transforms, licenses, checksums, limitations, and required NLM attribution are recorded in DATA_SOURCES.md and THIRD_PARTY_NOTICES.md.
product@medbrevia.comUse synthetic or fully redacted examples. Never attach an Anki collection, profile folder, search database, vector index, patient information, credentials, or identifiable card content to a public issue.
Original add-on code and documentation are available under the MIT License. Third-party components retain their own licenses and notices.
Smart Search is an independent Anki add-on and is not affiliated with or endorsed by Anki or AnkiWeb.