zotero-library-mcp
v0.5.0Add papers and books to Zotero by DOI, arXiv ID, or ISBN and manage your library
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
add_paper_by_doi
Add a paper to your Zotero library by its DOI. Resolves metadata automatically via CrossRef and creates the item in Zotero. Optionally add it to a specific collection. Args: doi: The DOI of the paper (e.g. "10.1038/nature12373") collection_id: Optional Zotero collection key to add the paper to
| Parameter | Type | Description |
|---|---|---|
doi * | string | |
collection_id |
add_papers_by_dois
Add multiple papers to Zotero by their DOIs (batch, up to 50). Args: dois: List of DOIs to add collection_id: Optional Zotero collection key to add all papers to
| Parameter | Type | Description |
|---|---|---|
dois * | array | |
collection_id |
add_paper_by_arxiv_id
Add a paper to your Zotero library by its arXiv ID. Fetches metadata from the arXiv API. If the paper has a DOI, resolves it via CrossRef for richer metadata; otherwise creates a preprint entry directly. Optionally add it to a specific collection. Args: arxiv_id: The arXiv ID of the paper (e.g. "2301.07041") collection_id: Optional Zotero collection key to add the paper to
| Parameter | Type | Description |
|---|---|---|
arxiv_id * | string | |
collection_id |
add_book_by_isbn
Add a book to your Zotero library by its ISBN. Resolves metadata automatically via Open Library and creates the item in Zotero. Optionally add it to a specific collection. Args: isbn: The ISBN of the book (e.g. "9780262046824") collection_id: Optional Zotero collection key to add the book to
| Parameter | Type | Description |
|---|---|---|
isbn * | string | |
collection_id |
get_unfiled_items
Get items that are not in any collection (unfiled items). Args: limit: Maximum number of items to return (default 25)
| Parameter | Type | Description |
|---|---|---|
limit | integer |
search_library
Search your Zotero library. Args: query: Search query (searches titles, authors, tags, etc.) limit: Maximum number of results (default 10)
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
get_item_details
Get full details of a Zotero item by its key. Args: item_key: The Zotero item key
| Parameter | Type | Description |
|---|---|---|
item_key * | string |
get_bibtex
Export BibTeX entries from your Zotero library. Can export specific items, an entire collection, or your whole library. Use save_path to write directly to a .bib file instead of returning the full content (recommended for large exports to save tokens). Args: item_keys: Optional list of item keys to export. If omitted, exports collection or full library. collection_id: Optional collection key to export all items from. save_path: Optional file path to save the .bib output to (e.g. "/path/to/refs.bib").
| Parameter | Type | Description |
|---|---|---|
collection_id | ||
item_keys | ||
save_path |
get_item_fulltext
Get the full text content of a paper (e.g. from an indexed PDF attachment). Args: item_key: The Zotero item key (the parent item, not the attachment)
| Parameter | Type | Description |
|---|---|---|
item_key * | string |
delete_item
Permanently delete an item from your Zotero library. Args: item_key: The Zotero item key to delete
| Parameter | Type | Description |
|---|---|---|
item_key * | string |
get_recent_items
Get recently added items from your Zotero library. Args: limit: Maximum number of items to return (default 10)
| Parameter | Type | Description |
|---|---|---|
limit | integer |
verify_items
Verify that recently added items have valid DOIs that match CrossRef metadata. Re-resolves each item's DOI via CrossRef and compares the title. Reports items that have no DOI, DOIs that don't resolve, or title mismatches. Args: limit: Number of recent items to check (default 10)
| Parameter | Type | Description |
|---|---|---|
limit | integer |
list_collections
List all collections in your Zotero library.
add_to_collection
Add an existing Zotero item to a collection. Args: item_key: The Zotero item key (from search results) collection_id: The collection key to add it to
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | |
item_key * | string |
remove_from_collection
Remove an item from a collection without deleting it from the library. Args: item_key: The Zotero item key collection_id: The collection key to remove it from
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | |
item_key * | string |
create_collection
Create a new collection in your Zotero library. Args: name: Name for the new collection parent_collection_id: Optional parent collection key to nest under
| Parameter | Type | Description |
|---|---|---|
name * | string | |
parent_collection_id |
delete_collection
Permanently delete a collection from your Zotero library. Items in the collection are NOT deleted — they remain in your library. Args: collection_id: The collection key to delete
| Parameter | Type | Description |
|---|---|---|
collection_id * | string |
get_collection_items
Get all items in a specific collection. Args: collection_id: The collection key to browse limit: Maximum number of items to return (default 25)
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | |
limit | integer |
list_tags
List all tags in your Zotero library. Args: limit: Maximum number of tags to return (default 100)
| Parameter | Type | Description |
|---|---|---|
limit | integer |
delete_tags
Delete tags from the entire Zotero library. This removes the tags from all items. Args: tags: List of tag names to delete from the library
| Parameter | Type | Description |
|---|---|---|
tags * | array |
add_tags
Add one or more tags to a Zotero item. Optionally assign a color to all added tags. Args: item_key: The Zotero item key tags: List of tags to add color: Optional hex color code (e.g. '#FF0000') to assign to the added tags
| Parameter | Type | Description |
|---|---|---|
item_key * | string | |
tags * | array | |
color |
remove_tags
Remove one or more tags from a Zotero item. Args: item_key: The Zotero item key tags: List of tags to remove
| Parameter | Type | Description |
|---|---|---|
item_key * | string | |
tags * | array |
set_tag_color
Assign a color to a tag in the Zotero library. Colored tags appear in the tag selector and item lists. Args: tag: The tag name to colorize color: Hex color code (e.g. '#FF0000' for red, '#3366CC' for blue) position: Sort position for the colored tag (0-8, lower = higher priority)
| Parameter | Type | Description |
|---|---|---|
color * | string | |
tag * | string | |
position | integer |
rename_tag
Rename a tag across all items in the Zotero library. Args: old_name: The current tag name new_name: The new tag name to replace it with
| Parameter | Type | Description |
|---|---|---|
new_name * | string | |
old_name * | string |
add_note
Add a note to a Zotero item. The note is created as a child of the specified item. Supports HTML formatting (e.g. <b>bold</b>, <i>italic</i>, <ul><li>lists</li></ul>). Args: item_key: The parent Zotero item key to attach the note to note: The note content (plain text or HTML)
| Parameter | Type | Description |
|---|---|---|
item_key * | string | |
note * | string |
create_annotation
Highlight a text passage in a PDF attached to a Zotero item. Searches the PDF for the exact quoted text and creates a visible highlight annotation in Zotero's PDF reader. Use this to mark the source of a citation so the user can verify it. Smart overlap handling: - If the same text is already highlighted, appends the new comment to the existing annotation instead of creating a duplicate. - If the new text is a sub-passage of an existing highlight (or vice versa), the new highlight is created in a contrasting color so both…
| Parameter | Type | Description |
|---|---|---|
item_key * | string | |
quoted_text * | string | |
color | string | |
comment | string |
get_annotations
List all highlights and annotations on a paper's PDF. Args: item_key: The Zotero item key (the parent item, not the attachment)
| Parameter | Type | Description |
|---|---|---|
item_key * | string |
attach_file
Attach a local file (e.g. PDF) to an existing Zotero item. Args: item_key: The Zotero item key to attach the file to file_path: Absolute path to the file on your local machine
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
item_key * | string |
download_pdf
Download the PDF attachment of a Zotero item to a local file. Useful when Zotero's fulltext index is incomplete (e.g. for books) and you need to read the PDF directly with other tools. Args: item_key: The Zotero item key (the parent item, not the attachment) save_path: Local file path to save the PDF to (e.g. "/tmp/paper.pdf")
| Parameter | Type | Description |
|---|---|---|
item_key * | string | |
save_path * | string |