mcp-local-reference
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIGURE_DPI | No | Resolution for cropped figures | 300 |
| MCP_DATA_DIR | No | Path for the vector index and other data | ~/.mcp-local-reference |
| ZOTERO_DATA_DIR | No | Path to your Zotero data directory | ~/Zotero |
| MIN_FIGURE_PIXELS | No | Minimum pixel area to count as a figure | 10000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_referencesA | Search your Zotero library for references. |
| get_referenceA | Get full metadata for a Zotero reference. |
| list_collectionsA | List every Zotero collection (folder) as a nested tree. |
| get_collection_itemsB | Get references inside a Zotero collection. |
| format_citationC | Format a reference as a Harvard (Cite Them Right) citation. |
| index_libraryA | Index your Zotero library into a vector store for semantic search. Reads all references, embeds title + abstract + tags + authors, and stores them in a local ChromaDB database. Run this once after setup, or again whenever you add new references to Zotero. |
| get_pdf_textB | Extract text from a reference's PDF attachment. |
| list_figuresA | Detect figures and images embedded in a reference's PDF. |
| crop_figureA | Crop a rectangular region from a PDF page and return it as an image. |
| read_local_pdfA | Extract text from any PDF file on the local machine. |
| list_local_figuresA | Detect figures and images in any local PDF file. |
| crop_local_figureA | Crop a rectangular region from any local PDF page as an image. |
| suggest_tags_contextA | Gather everything Claude needs to suggest tags for one Zotero item. |
| apply_tagsA | Add tags to a Zotero item via the Web API (append-only merge). |
| remove_tagsA | Remove tags from a Zotero item via the Web API. |
| create_collectionA | Create a new Zotero collection (folder). |
| rename_collectionB | Rename an existing Zotero collection. |
| reparent_collectionB | Move a collection under a different parent. |
| delete_collectionA | Delete a collection. Items inside are NOT deleted — they lose membership in this collection. Sub-collections become orphans. Dry-run lists both blast surfaces before any write. |
| add_items_to_collectionA | Add items to a Zotero collection (set-union per item). |
| remove_items_from_collectionB | Remove items from a collection (set-difference per item). |
| suggest_collection_placementA | Gather context for advising where an item should be filed. Returns the item's title and abstract (or first-page PDF snippet when the abstract is empty), the full collection tree, the item's current memberships, and a per-collection item count so well-populated folders can be preferred over thinly-used ones. Read-only — no writes. |
| add_reference_by_doiA | Add a reference to Zotero by DOI. |
| add_reference_by_arxivA | Add a reference to Zotero by arXiv ID. |
| add_reference_by_isbnA | Add a reference to Zotero by ISBN. |
| delete_itemA | Delete a single item from Zotero via the Web API. |
| index_pdfsA | Build a passage-level index of your PDF attachments for RAG search. |
| search_passagesA | Search PDF passages for the natural-language query. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 28 tools
Most tools have clearly distinct purposes, and the parallel Zotero-vs-local PDF triples (get_pdf_text/read_local_pdf, list_figures/list_local_figures, crop_figure/crop_local_figure) are explicitly distinguished in their descriptions. Remaining ambiguities are mild: search_references vs search_passages (metadata vs full-text) and index_library vs index_pdfs require careful reading, though the descriptions resolve them.
Nearly all tools follow a verb_noun snake_case pattern (list_collections, create_collection, add_items_to_collection, delete_item) and related operations mirror each other cleanly, e.g. apply_tags/remove_tags and add_items_to_collection/remove_items_from_collection. Minor deviations exist where synonymous verbs are used for equivalent actions (get_pdf_text vs read_local_pdf) and the suggest_* family mixes context-gathering with action verbs.
At 28 tools this sits above the comfortable range and feels heavy, especially since six of them are near-duplicate PDF tools split only by storage location and three add_reference_by_* variants could arguably collapse into one resolver. The domain is genuinely broad (library search, collections, tags, PDFs, RAG, imports), so most tools do earn a place, but the surface is borderline bloated.
Coverage is strong: read/search items, three import paths, delete, full collection CRUD with membership management, tag add/remove with dry-run, citation formatting, PDF text/figure extraction, and passage-level RAG search. Notable gaps remain — there is no tool to update an item's metadata, add a manual (non-DOI/arXiv/ISBN) reference, manage notes/annotations, or read/manage attachments beyond PDF text.