Module read

Source
Expand description

Read-only MCP tools — pure SQLite, sub-millisecond.

These are the tools that benefit from the Rust rewrite. Each one reads directly from zotero.sqlite and better-bibtex.migrated, bypassing the BBT JSON-RPC bottleneck entirely.

§Citekey resolution pattern

Most tools accept a citekey parameter. Resolution:

  1. Look up citekey in bbt.migrated → get item_key
  2. Look up item_key in zotero.sqlite → get full item

Both are SQLite reads, total ~0.1ms.

Functions§

zotero_get_collection_items
zotero_get_collections
zotero_get_item
zotero_get_notes
zotero_get_pdf_path
zotero_get_recent
zotero_list_attachments
zotero_search
zotero_status