Local Zotero MCP
An MCP server that gives an LLM read-only
access to your local Zotero library via the
desktop app's Local API.
It talks to Zotero over http://127.0.0.1:23119, so nothing leaves your
machine and no API keys are required.
Requirements
- Zotero desktop app, running, with Settings > Advanced > "Allow other applications on this computer to communicate with Zotero" enabled.
- uv installed.
Quickstart
No cloning or installing required — uvx fetches the published package
from PyPI and runs it. Add this to your Claude Desktop config
(claude_desktop_config.json):
{
"mcpServers": {
"zotero": {
"command": "uvx",
"args": ["--from", "local-zotero-mcp", "zotero-mcp"]
}
}
}
Restart Claude Desktop and the Zotero tools should be available.
uvx caches the environment after the first run, so subsequent launches are
fast; add --refresh to args if you want to force-pull the latest version.
Tools
| Tool | Description |
|---|---|
search_items |
Search the library by title/creator/year or full text |
get_item |
Get full data for an item, optionally with citation/bibliography |
get_item_children |
List an item's notes and attachments |
list_collections |
List collections |
get_collection_items |
List items in a collection |
list_tags |
List tags |
get_bibliography |
Generate a formatted bibliography for one or more items |
list_saved_searches |
List saved searches |
execute_saved_search |
Run a saved search and return matching items |
get_attachment_file_path |
Get the local file path of an attachment |
read_document |
Read the text content of a PDF or EPUB attachment |
convert_document |
Convert a PDF or EPUB attachment to TXT or PDF and save it to a location you specify |
Local development
Clone the repo and install it locally:
uv sync
Run it directly from the checkout:
uv run zotero-mcp
Point Claude Desktop at your local checkout instead of GitHub with:
{
"mcpServers": {
"zotero": {
"command": "uv",
"args": ["run", "--directory", "/path/to/Local-Zotero-MCP", "zotero-mcp"]
}
}
}
Run the tests:
uv run pytest
Tests mock the Zotero HTTP responses, so a running Zotero instance isn't required. To smoke-test against your own Zotero library:
uv run mcp dev zotero_mcp/server.py
Metadata
Release files for local-zotero-mcp 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| local_zotero_mcp-0.1.5.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| local_zotero_mcp-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / local_zotero_mcp-0.1.5.tar.gz
| Download URL | local_zotero_mcp-0.1.5.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53ef7eadc40828a441c4b35bc08007e9a39a038ddaa951cd8aa70d944db4d610
|
|
BLAKE2b-256 checksum How to use checksums |
24755549e2ccd8931739c46f7c2e6f7b76169128a4fe8161da0f09a14c0db074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / local_zotero_mcp-0.1.5-py3-none-any.whl
| Download URL | local_zotero_mcp-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37311392c8c574ecc371e79f91b5636ea74acd1d01af76e2802553a88518ba09
|
|
BLAKE2b-256 checksum How to use checksums |
c8c459cd2f8060c08bc54cbbf707da5fb3ed6037e929b3a9492748d3fdef2e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|