← Back to Zotero Assistant
Install Zotero Assistant
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add -e "ZOTERO_API_KEY=${ZOTERO_API_KEY}" -e "ZOTERO_LIBRARY_ID=${ZOTERO_LIBRARY_ID}" zotero-assistant -- npx -y @upascal/zotero-assistant-mcpRequired:
ZOTERO_API_KEYZOTERO_LIBRARY_IDEnvironment Variables
Set these before running Zotero Assistant.
VariableDescriptionRequired
ZOTERO_API_KEYYour Zotero API keyYesZOTERO_LIBRARY_IDYour numeric user library IDYesAvailable Tools (15)
Once configured, Zotero Assistant gives your AI agent access to:
list_groupsList Zotero groups the user belongs tosearch_itemsSearch by text, tags, type, collection, or date rangequerygroup_idget_collection_itemsList items in a specific collectioncollection_idgroup_idlist_collectionsList all collections (folders)group_idcreate_collectionCreate a new collectionnamegroup_idlist_tagsList tags with item countsgroup_idget_library_statsLibrary overview with totals and top tagsgroup_idget_itemFull metadata and children for a single itemitem_keygroup_idread_attachmentRead attachment contentattachment_keygroup_idget_noteRead note contentnote_keygroup_idsave_itemCreate an item with metadata and optional attachmentmetadatagroup_idattachAttach a file to an existing itemitem_keyfile_datagroup_idcreate_noteCreate a note on an existing itemitem_keycontentgroup_idupdate_itemUpdate metadata, tags, or collectionsitem_keyupdatesgroup_idtrash_itemMove a note or attachment to trashitem_keygroup_idTry It Out
After setup, try these prompts with your AI agent:
→Search my library for papers about climate change published in the last year.
→List all collections in my library and tell me which one has the most items.
→Read the PDF attachment for the item with key ABC12345 and summarize the main findings.
→Create a new note for the paper 'The Future of AI' with my thoughts on the methodology.
→Move the attachment with key XYZ98765 to the trash.
Keep this setup from going cold
Save the docs, env vars, and workflow around Zotero Assistant in Conare so Claude Code, Codex, and Cursor remember it next time.