{"_id":"@xevos117/mcp-zotero","_rev":"14-d6150c5e809202cb03a69586d3be1700","name":"@xevos117/mcp-zotero","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.2":{"name":"@xevos117/mcp-zotero","version":"1.0.2","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.2","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"23df011c8aff7d03cd1c21b04b1faadba5ab3a30","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.2.tgz","fileCount":36,"integrity":"sha512-ITt9bmUAACDeQ8g7K9U1LiHB9S0+77deqTaLnCTdXzkmJ7Ayrrhr9ckP4b6fQ0eb2xxlD2Y4TQON0cIeVSOKTg==","signatures":[{"sig":"MEYCIQCTSMKnMWFB0nzpPe7YMtT0Jr7GFFz8wjv6jZyCWK+nrwIhANGWflqIiqfe8ctfDZy4/JKeEF8edS8Heg+m5m76ggd1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104616},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"f146c808575c3fa20f6fe1c7ef78dbc8a15dca0f","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.6.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.2_1771169502038_0.35955693350643303","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@xevos117/mcp-zotero","version":"1.0.3","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.3","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"f51af0aefacea45daa6acac0e2ce5ef50b333984","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.3.tgz","fileCount":36,"integrity":"sha512-UWyy+OAeOIbsDDQ2lHGOeLKsrbsKOEH951CEeKb3GxUlv7uWGrm/bkL/KhbPehBjEpLLwxb7TxgEn6+2lcPFJw==","signatures":[{"sig":"MEYCIQDhdP/+GL7OZRQbOUdRd581L07y9GduHGm7SuG4IWYF5QIhAMNMI2JGX/Rna+rTHqyNpw2HS4s8ZIn89xYT6QW5hy0m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104622},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"f1a44185af8df239bf6cffe739a7c76d29164c3b","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.6.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.3_1771170304940_0.22104515053139573","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@xevos117/mcp-zotero","version":"1.0.4","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.4","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"dist":{"shasum":"88d4b804023b2c7f606d2822a21a4d2b825cda79","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.4.tgz","fileCount":37,"integrity":"sha512-BChJTcxg2WMIgmw+GmmWcnj4zqmhZQH8vCTqWHhRWx0MZk7O600AkCSyHktczAAFOTkkpd+Sh7Ilg+7P9Vq+4g==","signatures":[{"sig":"MEUCIQCyg7kgbx49V6s25hOoyhkGuP+OoBmzkdeiRxG2M7s0ewIgfLqMgzX3OyPcejwcQv+lLuB9eQWG2Czw11b9IIhKYgE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127309},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"b1a99b278c14ac8733bb8764756205a7e24a886a","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.4_1771235184573_0.29079894164803877","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@xevos117/mcp-zotero","version":"1.0.5","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.5","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"4ee5a54909a28c6c5b9daae0b78b0d0d3d38bb0e","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.5.tgz","fileCount":37,"integrity":"sha512-V4mrH+L0Wkbw6OZixXOEKUSwfB9tlFibrnAZGQHoHwqrLQiFl/l0ILI7BAnTYcSK+8uTh8eEq4PnwuhGSYvCPQ==","signatures":[{"sig":"MEUCIDJb8PhRSHgt+0xCAQWzwTULdqD6spMiAxrDO0TsiijCAiEAwk3+6Y2PTu2FkFcQp86y0JMtrg7KQrrXgNp/MTwi/6g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127357},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"6dc533ee119ccaf08323254fa003681c2942de04","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.5_1771758668345_0.42988485542832544","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@xevos117/mcp-zotero","version":"1.0.6","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.6","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"7e5e452b261fb04357fd2bb4c76aa805249f358d","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.6.tgz","fileCount":41,"integrity":"sha512-PpZsWLavc/MvX2F3pj937oI8L9Tu/pLXCdXmdn8wOL50Ir7Cqw9Hc1ybDy9KnaRQdVvARaBw4s9eKAK1ysUQug==","signatures":[{"sig":"MEYCIQDLJEyc+U/JJCYoh6SYiyKffvXm9HC2EMmOheXgIDPsjQIhAJFFa79o0B+W1oD8qlum+cjMo5cnWpBQYHLiN44/PCjA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138131},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"da0206d0d9bc6c2967140a4028f33f7d74f14829","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.6_1771776371954_0.7502681869466894","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@xevos117/mcp-zotero","version":"1.0.7","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.7","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"bfd027948fba2809e90bb30abdcd186e4da33f83","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.7.tgz","fileCount":41,"integrity":"sha512-XGsGndBEytltRU50ySx8PvbWSkY2uLmxHD6FmjYNCrNzqCo5UPcEMq3JHzUMnHKBoc6UK7iWDDDkdbCVEoDctw==","signatures":[{"sig":"MEUCIE65GA5hvpFi5Y58aja1gOlf3wAiK9YJGEAg3Gaf/nlCAiEAyPSdurI8KT66VNni8mK5hkA03DtbfvEMnkn0g9vml24=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139640},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"1b617787626431c6bed232a119ab711903c90c0b","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.7_1772575875504_0.2628979924237447","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@xevos117/mcp-zotero","version":"1.0.8","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.8","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"d74b0bc4494e420903ac4089f0c794a8720d0c2e","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.8.tgz","fileCount":41,"integrity":"sha512-MS0EhpqrY1eraK0Y4LQ2JfBi+OWRJsCT+90EVzqXEwi1WtTmKxr53n8q2ZsSRyvKUptkmv0uEwnQylNubmmUgA==","signatures":[{"sig":"MEUCIQCkfVD5jSslZOQi6txutVNeHFx0ksmUKr/XJuTYzYquqQIgN++CX8A2JMxYp0eMc2poD7N0tc6oMjyjFPH2RnLtedg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143348},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"1dd68a9e388bed7e1ce4c0e022baf8425ecd82d2","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^16.4.7","fast-xml-parser":"^5.3.5","zotero-api-client":"^0.46.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.8_1772578566914_0.8331870364571032","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@xevos117/mcp-zotero","version":"1.0.9","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@1.0.9","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"ebad96fe5d2d5da5e86b6aa6902c98caabd2c04f","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-1.0.9.tgz","fileCount":41,"integrity":"sha512-KSNpn1hoz4nbWFTUKLPF0qv3vUmhUtjoDBolrtaKbvUoUq3gn4NADR3Nz0bVtwmvVTQ8Ppc1FrLsNpwvCfx4Gg==","signatures":[{"sig":"MEUCIQC9HtCrEVvrKwxcP3lU+VMBs93R8qWroz/6C8kBzZQ1kAIges9k+bu4+0YP3Wuj3IVroFyGc+9snsAvXMlNqfa/X24=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149279},"main":"build/server.js","type":"module","engines":{"node":">=18"},"gitHead":"6f40a045242304ac08b716a40a0bc5c4c5fd7ca8","scripts":{"test":"vitest run","build":"tsc","start":"node build/server.js","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"20.20.1","dependencies":{"zod":"^4.3.6","jszip":"^3.10.1","unpdf":"^1.4.0","dotenv":"^17.3.1","fast-xml-parser":"^5.5.8","zotero-api-client":"^0.48.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.0","typescript":"latest","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_1.0.9_1774201231378_0.7853344185467135","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@xevos117/mcp-zotero","version":"2.0.0","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@2.0.0","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"d13dc6e74448fe2f9b28fd37cedde27ead233e79","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.0.0.tgz","fileCount":45,"integrity":"sha512-3kGfjrzeKdhdp9HtVqWWbYa4Zjor+l0eXbDh9n/MlF3wEEqRdHwBUpu4fxGWMV8sjm9vBo0q0Aoxu1JnvnNnnA==","signatures":[{"sig":"MEUCIQDC3cPQu7CMUHoF7TBiX/8z2CHNCgtqskb0E3nWnDZmYgIgeqnrmI1amqy3Ng0+qIqfH/iHFWNkS1pMrNa96H3v+Hg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAWqvb5XF6TZnpIDnihMfSLC9stjXPR67fo8dgqltkSXAiEAgIdeAo0k4P1HkAdAnSdQQBJa2xRp3iCaaTp4ujFFO/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":156336},"main":"build/server.js","type":"module","engines":{"node":">=22"},"gitHead":"5a0f772ab256cf4e1b8b63841e5e39ceb1d7ecfb","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.19.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.6.5","jszip":"^3.10.2","unpdf":"^1.8.1","dotenv":"^18.0.6","fast-xml-parser":"^5.11.2","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.3","typescript":"^7.0.2","@types/node":"^26.6.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_2.0.0_1791643559417_0.538482543122276","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@xevos117/mcp-zotero","version":"2.0.1","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@2.0.1","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"a8b1ad36f5ea7310116aed960ea2c0f00065ae67","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.0.1.tgz","fileCount":46,"integrity":"sha512-dqtCfaoqrdcBB1DysolXRbIaIpBrmY8mdbDt2RvL5ocM3B5hPqgB+joG60p08vOkIXcSmA1hv97QQotCMtafVw==","signatures":[{"sig":"MEUCIQDaq5EM9oHCCQy6WEmHUx0yRJQEKWWvFDxrfwkLIt7soAIgevR22K7NrN5kHknv6erh2ApaW7z+8LAwucTQpMsOsFk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDPl4DDPPMre9M8rrXqqPquY4QOZWoYOfxt1/aqiNIOMQIhAKY02w5NBksGwkAeCAivhluy061vnlwDUk/+Ld+1M9Nh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158643},"main":"build/server.js","type":"module","engines":{"node":">=22"},"gitHead":"336b4364c107799efad2eb1b3482ec1973bdf423","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.19.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.6.5","jszip":"^3.10.2","unpdf":"^1.8.1","dotenv":"^18.0.6","fast-xml-parser":"^5.11.2","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.3","typescript":"^7.0.2","@types/node":"^26.6.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_2.0.1_1791756208746_0.6800605658067322","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@xevos117/mcp-zotero","version":"2.0.2","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@2.0.2","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"f1e61e82fb7c97a824cc0564069e30ffe876c056","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.0.2.tgz","fileCount":48,"integrity":"sha512-/X13Mr2vjZdqIBvdRQqVGXJgA5C2gIQv12qcNtJ6E26joK8zC5kjnBoTG7jUtZwjZMPZf1g6Po1Ijqc3Oo4ROw==","signatures":[{"sig":"MEUCIQDN6m4ytdgKNSqxsPdsdWBU39C7pq1HmpPLQVTmnaAyaQIgW4ZXP8D5lw1eIsGaz0MOMCek0VcdjlwUbrHb+MOY2pQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCclbqIvrkX4OoqcU3ct5+4mhvh+H3PEbMTbir+PUlgogIhAOUBNkFqbkn/p27Ad3F9wP1VraMbmCOVr3miIr4Mwd8g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@xevos117%2fmcp-zotero@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":177352},"main":"build/server.js","type":"module","engines":{"node":">=22"},"gitHead":"e0e5227527e1d6593a391880eb137ad3f76edf77","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:live":"npm run build && vitest run --config vitest.live.config.ts","test:watch":"vitest","prepublishOnly":"npm test && npm run build","test:live:cleanup":"node test/live/cleanup.mjs"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.21.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.6.5","jszip":"^3.10.2","unpdf":"^1.8.1","dotenv":"^18.0.6","fast-xml-parser":"^5.11.2","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","vitest":"^5.0.3","citeproc":"^2.4.63","typescript":"^7.0.2","@types/node":"^26.6.4","@anthropic-ai/claude-agent-sdk":"^0.3.296"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_2.0.2_1791793822852_0.5359298964804919","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@xevos117/mcp-zotero","version":"2.0.3","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@2.0.3","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"9974a8d02bc5c515c108ee4d6a3897d35630ba29","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.0.3.tgz","fileCount":51,"integrity":"sha512-ftMcAVjA42CAdomefiBav8cbpm3uUxuFcwa3rL8MKHOfvkHuIDwCSh0g+ck2L9cPTSxrNxGgaPRFGJuOk1YI4w==","signatures":[{"sig":"MEUCIQDrdlJkEgob4oLrjFo/RMUoRUV2fQa/MgjsqcKsCWcbuwIgcTbvlGEKCdITN1dguXZMriVmu9bzkpoljHj0gdTKvTo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDb4DAKG3IlAVY8UcOX8VUaDwbNLlKgyZZGqiiDh40E5gIgBasKf0NK6RLz7hEIWuyXQEWOs+sCXY7upy4zegbeXCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@xevos117%2fmcp-zotero@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":222067},"main":"build/server.js","type":"module","engines":{"node":">=22"},"gitHead":"bc154a96fe96d8e6098fa85cbd3e367dd3bf1450","mcpName":"io.github.Xevos117/mcp-zotero","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","bundle":"node scripts/build-mcpb.mjs","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:live":"npm run build && vitest run --config vitest.live.config.ts","test:watch":"vitest","prepublishOnly":"npm test && npm run build","test:live:cleanup":"node test/live/cleanup.mjs"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.21.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.22.0","dependencies":{"zod":"^4.6.5","jszip":"^3.10.2","unpdf":"^1.8.1","dotenv":"^18.0.6","fast-xml-parser":"^5.11.2","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","vitest":"^5.0.3","citeproc":"^2.4.63","typescript":"^7.0.2","@types/node":"^26.6.4","ajv-formats":"^3.0.1","@anthropic-ai/mcpb":"2.1.2","@anthropic-ai/claude-agent-sdk":"^0.3.296"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_2.0.3_1792609364532_0.010576464680102093","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@xevos117/mcp-zotero","version":"2.0.4","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"author":{"name":"Xevos17"},"license":"MIT","_id":"@xevos117/mcp-zotero@2.0.4","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"homepage":"https://github.com/Xevos117/mcp-zotero#readme","bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"bin":{"mcp-zotero":"build/server.js"},"dist":{"shasum":"18d250a9a800570f7af8a3a938124500bdcfd9cd","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.0.4.tgz","fileCount":51,"integrity":"sha512-wSRatfhURCmOa2KtpM7AchvKrUwyNjvOaMMnGKmZLRh8lI9VLSub8HY/3SPA/cd83R34xaHyDXlUVKdXQfQ6VQ==","signatures":[{"sig":"MEUCICzF62Y9S+NtY9pFc5ODgjEkAz+eW9O93w9Y2SYbPZJzAiEAw0wCb5We7lV58Yk/wy/o0hyTdG0x8ZnoKZBJRwYL3Ow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEqC4QKkXxy/kS7KC8S6X+N6nVs/as6knogG9znGyd4DAiEA18mNPTvmxBLADo53CjjJlydc+UUyC8FihfOqQC1WIkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@xevos117%2fmcp-zotero@2.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":226613},"main":"build/server.js","type":"module","engines":{"node":">=22"},"gitHead":"4af5f6175b1e31d1f3c2db51334058026e8c9583","mcpName":"io.github.Xevos117/mcp-zotero","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","bundle":"node scripts/build-mcpb.mjs","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:live":"npm run build && vitest run --config vitest.live.config.ts","test:watch":"vitest","prepublishOnly":"npm test && npm run build","test:live:cleanup":"node test/live/cleanup.mjs"},"_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.21.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.6.5","jszip":"^3.10.2","unpdf":"^1.8.1","dotenv":"^18.0.6","fast-xml-parser":"^5.11.2","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.1"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","vitest":"^5.0.3","citeproc":"^2.4.63","typescript":"^7.0.2","@types/node":"^26.6.4","ajv-formats":"^3.0.1","@anthropic-ai/mcpb":"2.1.2","@anthropic-ai/claude-agent-sdk":"^0.3.296"},"_npmOperationalInternal":{"tmp":"tmp/mcp-zotero_2.0.4_1792961937562_0.23787990266045855","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"_id":"@xevos117/mcp-zotero@2.1.0","bin":{"mcp-zotero":"build/server.js"},"bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"dist":{"shasum":"f63d07ec36e26bd9c863033ee1e429237480979e","tarball":"https://registry.npmjs.org/@xevos117/mcp-zotero/-/mcp-zotero-2.1.0.tgz","fileCount":78,"integrity":"sha512-GA6i488xFy273mX1r5qzUKtC3x/KSUdbIhge3RC5yeOtUOLqVPaYCEron6KK3C2uvVg9yyawUhjKU/CAmbQaMg==","signatures":[{"sig":"MEQCIF3L4mzICnQ4U7VhWiezin047DNYKZ95hP/q3AXjRucDAiAsp+oVG94gQHsXKZ2C5X64Wpt7zOvjrCGrhAeQv/709g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCfyO9N6VfUrOIQ9bLrV30a5b/EyFcZgAKmGXcrDg9TRAIgea5fHTXKgV88f+eRgeRE0gE8FFRZv6iFqCIFF8hy8XE="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@xevos117%2fmcp-zotero@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":353440},"main":"build/server.js","name":"@xevos117/mcp-zotero","type":"module","author":{"name":"Xevos17"},"engines":{"node":">=22"},"gitHead":"f419a1ba765d49d9e960e6f8f342a59088c27360","license":"MIT","mcpName":"io.github.Xevos117/mcp-zotero","scripts":{"test":"vitest run","build":"tsc","smoke":"node scripts/smoke-stdio.mjs","start":"node build/server.js","bundle":"node scripts/build-mcpb.mjs","test:e2e":"npm run build && vitest run --config vitest.e2e.config.ts","test:live":"npm run build && vitest run --config vitest.live.config.ts","test:watch":"vitest","build:skill":"node scripts/build-skill.mjs","prepublishOnly":"npm test && npm run build","test:live:cleanup":"node test/live/cleanup.mjs"},"version":"2.1.0","_npmUser":{"name":"xevos117","email":"alaricoimo@hotmail.it"},"homepage":"https://github.com/Xevos117/mcp-zotero#readme","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"_npmVersion":"11.21.0","description":"Unofficial MCP server for Zotero integration with citation management","directories":{},"maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"_nodeVersion":"24.22.2","dependencies":{"zod":"^4.6.7","jszip":"^3.10.2","unpdf":"^1.9.1","dotenv":"^18.0.9","fast-xml-parser":"^5.12.0","zotero-api-client":"^0.51.0","@modelcontextprotocol/sdk":"^1.32.2"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","vitest":"^5.1.0","esbuild":"0.28.2","citeproc":"^2.4.63","typescript":"^7.0.2","@types/node":"^26.6.6","ajv-formats":"^3.0.1","@anthropic-ai/mcpb":"2.1.2","@anthropic-ai/claude-agent-sdk":"^0.3.319"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-zotero_2.1.0_1794377735572_0.5834602959374403"}}},"time":{"created":"2026-02-15T15:31:41.948Z","modified":"2026-11-11T06:15:36.012Z","1.0.2":"2026-02-15T15:31:42.198Z","1.0.3":"2026-02-15T15:45:05.083Z","1.0.4":"2026-02-16T09:46:24.718Z","1.0.5":"2026-02-22T11:11:08.491Z","1.0.6":"2026-02-22T16:06:12.100Z","1.0.7":"2026-03-03T22:11:15.660Z","1.0.8":"2026-03-03T22:56:07.079Z","1.0.9":"2026-03-22T17:40:31.548Z","2.0.0":"2026-10-10T14:45:59.508Z","2.0.1":"2026-10-11T22:03:28.834Z","2.0.2":"2026-10-12T08:30:22.927Z","2.0.3":"2026-10-21T19:02:44.708Z","2.0.4":"2026-10-25T20:58:57.639Z","2.1.0":"2026-11-11T06:15:35.691Z"},"bugs":{"url":"https://github.com/Xevos117/mcp-zotero/issues"},"author":{"name":"Xevos17"},"license":"MIT","homepage":"https://github.com/Xevos117/mcp-zotero#readme","keywords":["mcp","model-context-protocol","zotero","zotero-api","citation","bibliography","reference-manager","claude","ai"],"repository":{"url":"git+https://github.com/Xevos117/mcp-zotero.git","type":"git"},"description":"Unofficial MCP server for Zotero integration with citation management","maintainers":[{"name":"xevos117","email":"alaricoimo@hotmail.it"}],"readme":"# MCP Zotero\n\n> **Note:** This is an unofficial community project and is not affiliated with, endorsed by, or supported by the Zotero team or the Corporation for Digital Scholarship. \"Zotero\" is a registered trademark of the Corporation for Digital Scholarship.\n\nA Model Context Protocol server for Zotero integration. It gives any LLM full access to your Zotero library: search, organize, add papers by DOI, import PDFs, read full-text content, edit items and notes, check a bibliography for retractions and duplicates, and put live Zotero citations into Word and LibreOffice documents.\n\n> Originally based on [mcp-zotero](https://github.com/kaliaboi/mcp-zotero) by Abhishek Kalia.\n> This project has since been extensively rewritten with a new architecture, 20 tools (up from 5), citation injection, PDF management, and Claude skill support.\n\n## Features\n\n- **Live citations in Word and LibreOffice.** `inject_citations` turns placeholders in an existing `.docx` or `.odt` into native Zotero citations and a bibliography, which the Zotero plugin of either app can refresh and restyle. Placeholders can be `<zcite>` tags or Pandoc markers (`[@KEY]`), with Zotero item keys or Better BibTeX citation keys ([details](#citation-placeholders)).\n- **Cited documents from Markdown.** `create_cited_document` writes a new `.docx` or `.odt` from Markdown with Pandoc-style citations, real heading styles and a bibliography.\n- **Five citation styles:** APA, IEEE, Vancouver, Harvard and Chicago.\n- **Adding references** by DOI or with full metadata (all 37 Zotero item types), with open-access PDFs attached automatically through Unpaywall.\n- **Editing:** `update_item` changes fields and creators with a version check (never overwrites a concurrent edit); `create_note` attaches a plain-text note to an item.\n- **Checking a bibliography:** `check_retractions` flags retracted papers, expressions of concern and corrections (Crossref, with Retraction Watch data); `find_duplicates` finds items with the same DOI or title, or tells which DOIs are already in the library before importing them.\n- **Safe deletion:** `delete_items` moves items to the Zotero trash by default; permanent deletion needs `permanent: true`, and every deletion is off unless `UNSAFE_OPERATIONS` allows it.\n- **Group libraries,** set for the whole server or per call.\n- **MCP prompts** for common workflows: citing a document, writing a cited document, importing references, summarizing an item into a note, checking a bibliography before submission.\n- **Claude skill** for clients without filesystem access (Claude.ai Projects, Claude Desktop): the same citation injection, run inside the sandbox.\n\n## How it works\n\nThe server is designed to be **usable by any LLM without external documentation**. On connection, it sends workflow instructions via the MCP `instructions` field, and each tool description includes cross-references and usage guidance. An LLM that has never seen this server before can discover the full workflow — from adding papers to producing a cited Word document — directly from the tool listing.\n\nFor advanced use cases (PDF upload policy, citation style guidance, source transparency), a **Claude skill** is included for Claude.ai Projects. But the skill is optional: the MCP server is fully self-documenting.\n\n## Local vs Remote LLMs\n\n| Scenario | MCP server | Skill needed? |\n|---|---|---|\n| LLM with filesystem access (Claude Code, LM Studio, etc.) | All 20 tools | No |\n| LLM without filesystem access (Claude.ai Projects, Claude Desktop) | API tools (search, add, metadata) | Yes, for citation injection |\n\nLLMs with filesystem access can use all tools directly, including `inject_citations` which reads and writes `.docx` (Word) and `.odt` (LibreOffice) files on disk.\n\nLLMs without filesystem access — including Claude Desktop, which connects to MCP but cannot generate files locally — can use the included **Claude skill** (`skills/zotero-skill-mcp-integrations/`), which runs citation injection entirely inside a sandbox. MCP tools handle all Zotero API operations; the skill handles document assembly.\n\n### Claude Skill Setup (for Claude.ai Projects and Claude Desktop)\n\n1. Download the skill `.zip` from the latest [GitHub Release](https://github.com/Xevos117/mcp-zotero/releases)\n2. Extract it and upload the folder to your Claude.ai Project as a skill\n3. The skill enables citation injection directly inside the sandbox, without requiring local filesystem access\n\n## Setup\n\nRequires **Node.js 22 or newer**.\n\nThe server is listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) as\n`io.github.Xevos117/mcp-zotero` (starting with the first release after 2.0.2), so registry-aware clients can find and install it from\nthere; the configuration below works with any MCP client.\n\n1. Get your Zotero credentials:\n\n   ```bash\n   # Create an API key at https://www.zotero.org/settings/keys\n   # (enable library read/write + file access)\n   # Then retrieve your user ID:\n   curl -H \"Zotero-API-Key: YOUR_API_KEY\" https://api.zotero.org/keys/current\n   ```\n\n2. Set environment variables:\n\n   ```bash\n   export ZOTERO_API_KEY=\"your-api-key\"\n   export ZOTERO_USER_ID=\"user-id-from-curl\"\n   export UNPAYWALL_EMAIL=\"your@email.edu\"   # Optional: enables OA PDF lookup via Unpaywall\n   export UNSAFE_OPERATIONS=\"none\"           # Optional: \"none\" | \"items\" | \"all\" (see below)\n   ```\n\n### Targeting a group library\n\nBy default the server targets your personal Zotero library (`/users/<ZOTERO_USER_ID>/...`).\nTo target a group library instead, set two additional environment variables:\n\n| Variable | Values | Required? | Default |\n|---|---|---|---|\n| `ZOTERO_LIBRARY_TYPE` | `user` \\| `group` | No | `user` |\n| `ZOTERO_LIBRARY_ID` | numeric library ID | Yes when type=`group`; otherwise falls back to `ZOTERO_USER_ID` | — |\n\nExample for a group library:\n\n```\nZOTERO_API_KEY=...\nZOTERO_USER_ID=12345               # optional for groups: used by get_user_id and per-call library_type=\"user\"\nZOTERO_LIBRARY_TYPE=group\nZOTERO_LIBRARY_ID=6178978          # the group ID\n```\n\nThe API key in `ZOTERO_API_KEY` must have access to the target group library — generate or scope keys at https://www.zotero.org/settings/keys.\n\nThe server refuses to start if `ZOTERO_LIBRARY_TYPE=group` is set without `ZOTERO_LIBRARY_ID`, or if a library ID is not numeric.\n\n\n### Per-call library override\n\nEvery tool accepts two optional args that override the env defaults for that single call:\n\n- `library_type` — `\"user\"` or `\"group\"`\n- `library_id` — numeric library ID\n\nResolution order: per-call arg > env var > implicit default (`user`, `ZOTERO_USER_ID`). `library_id` must be numeric. Overriding `library_type` to `group` on a server configured for a user library requires `library_id`; overriding to `user` on a group server without `library_id` uses `ZOTERO_USER_ID`.\n\nNote that per-call overrides let the LLM reach any library the API key can access. Scope the key to the libraries you want exposed; deletions remain gated by `UNSAFE_OPERATIONS`.\n\nThis lets a single MCP instance target multiple libraries (e.g., a staging group and a final-output group) without restarting:\n\n```jsonc\n// First call targets the staging group\n{\n  \"tool\": \"add_items\",\n  \"args\": {\n    \"items\": [...],\n    \"library_type\": \"group\",\n    \"library_id\": \"5597114\"\n  }\n}\n\n// Second call targets DART-output (different group)\n{\n  \"tool\": \"add_items\",\n  \"args\": {\n    \"items\": [...],\n    \"library_type\": \"group\",\n    \"library_id\": \"6178978\"\n  }\n}\n```\n\n## Environment Variables\n\n| Variable | Required | Description |\n|---|---|---|\n| `ZOTERO_API_KEY` | Yes | API key for Zotero Web API v3. Create one at [zotero.org/settings/keys](https://www.zotero.org/settings/keys) with library read/write and file access permissions. |\n| `ZOTERO_USER_ID` | Yes | Your Zotero numeric user ID. Retrieve it with `curl -H \"Zotero-API-Key: KEY\" https://api.zotero.org/keys/current`. |\n| `UNPAYWALL_EMAIL` | No | Email for Unpaywall API requests ([rate-limit policy](https://unpaywall.org/products/api)). Enables OA PDF lookup in `add_items_by_doi` and `find_and_attach_pdfs`. If not set, OA PDF features are silently skipped. |\n| `UNSAFE_OPERATIONS` | No | Controls destructive operations (deletion). See [Unsafe Operations](#unsafe-operations) below. Default: `none` (all deletions blocked). |\n\n### Unsafe Operations\n\nBy default, the MCP server **does not allow any deletion**. This is a safety measure to prevent an LLM from accidentally deleting items or collections from your library.\n\nTo enable deletion, set the `UNSAFE_OPERATIONS` environment variable to one of the following values:\n\n| Value | `delete_items` | `delete_collection` | Use case |\n|---|---|---|---|\n| `none` (default) | Blocked | Blocked | Safe mode — no deletions possible |\n| `items` | **Allowed** | Blocked | Allow deleting items but protect collection structure |\n| `all` | **Allowed** | **Allowed** | Full access — items and collections can be deleted |\n\n**Important notes:**\n\n- If `UNSAFE_OPERATIONS` is not set, empty, or set to an unrecognized value, it defaults to `none`.\n- The value is **case-insensitive** (e.g. `ALL`, `Items`, `NONE` all work).\n- `delete_items` **moves items to the Zotero trash by default**, so the user can restore them from the desktop client (Zotero → Trash). Pass `permanent: true` to delete them for good instead; the same `UNSAFE_OPERATIONS` setting gates both the trash and the permanent path.\n- `delete_collection` is always **permanent**: the Zotero Web API has no trash for collections, so a deleted collection cannot be restored. It removes the collection (folder) only — items inside it are **not** deleted and remain in your library.\n- The `all` value includes both item and collection deletion because managing collections inherently requires item-level access.\n\n**Configuration example:**\n\n```json\n{\n  \"mcpServers\": {\n    \"zotero\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@xevos117/mcp-zotero\"],\n      \"env\": {\n        \"ZOTERO_API_KEY\": \"YOUR_API_KEY\",\n        \"ZOTERO_USER_ID\": \"YOUR_USER_ID\",\n        \"UNSAFE_OPERATIONS\": \"items\"\n      }\n    }\n  }\n}\n```\n\n## Integration with Claude Desktop\n\n### Install as a Claude Desktop extension (one click)\n\n1. Download `mcp-zotero.mcpb` from the [latest release](https://github.com/Xevos117/mcp-zotero/releases/latest)\n   (available from the first release after 2.0.2).\n2. Open the file with Claude Desktop (macOS or Windows; e.g. double-click it) and confirm in the installation dialog.\n   The bundle itself is not platform-specific (`manifest.json` lists macOS, Windows and Linux, and CI runs it on\n   Linux), so other MCPB-compatible clients can install it too.\n3. Fill in your **Zotero API key** and **Zotero user ID** (see [Setup](#setup)). Optional settings: library type and\n   group ID (for a group library), the email for Unpaywall (open-access PDF lookup) and which deletions are allowed\n   (default: none, see [Unsafe Operations](#unsafe-operations)).\n\nThe extension bundles the server and all its dependencies, so no npm install is needed. It needs Node.js 22 or newer\n(`compatibility.runtimes.node` in the manifest): according to the MCPB documentation, Claude Desktop runs Node.js\nextensions with the runtime that ships with the app. The API key is declared as a sensitive setting (masked\ninput, stored securely by the client). Deletions stay disabled unless you change *Deletions allowed* in the\nextension settings.\n\nThe extension contains only the MCP server: the Claude skills in [`skills/`](skills/) (citation injection inside\nthe sandbox, scientific writing) are installed separately from their `.zip` files in the same release, as described\nin [Claude Skill Setup](#claude-skill-setup-for-claudeai-projects-and-claude-desktop).\n\n### Manual configuration (any MCP client)\n\nAdd to your Claude Desktop configuration (or the equivalent file of another MCP client):\n\n```json\n{\n  \"mcpServers\": {\n    \"zotero\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@xevos117/mcp-zotero\"],\n      \"env\": {\n        \"ZOTERO_API_KEY\": \"YOUR_API_KEY\",\n        \"ZOTERO_USER_ID\": \"YOUR_USER_ID\",\n        \"UNPAYWALL_EMAIL\": \"YOUR_EMAIL\"\n      }\n    }\n  }\n}\n```\n\n## Integration with Claude Code\n\n```bash\nclaude mcp add zotero -e ZOTERO_API_KEY=YOUR_API_KEY -e ZOTERO_USER_ID=YOUR_USER_ID -- npx -y @xevos117/mcp-zotero\n```\n\nAdd `-e UNPAYWALL_EMAIL=...` or `-e UNSAFE_OPERATIONS=items` as needed, and `--scope user` to make the server\navailable in every project (the default `local` scope covers only the current project). From a clone of this repository,\n`npx tsx src/server.ts` runs the server from source instead (see [Development](#development)).\n\n## Available Tools\n\n### Library browsing\n\n| Tool | Description |\n|---|---|\n| `get_collections` | List all collections (folders) with keys, names, and parent relationships |\n| `get_collection_items` | Get items in a specific collection with keys, titles, authors, dates |\n| `search_library` | Search by query, or list items sorted by field (date, title, etc.) |\n| `get_items_details` | Batch metadata retrieval for multiple items — returns all type-specific fields (bookTitle, proceedingsTitle, university, etc.), the `authors` string, the structured `creators` and each item's current `version` (needed by `update_item`); keys not in the library are listed in `not_found` |\n| `get_item_fulltext` | Get full-text content of a PDF attachment via Zotero's fulltext index |\n| `check_retractions` | Check items (by `item_keys` or `collection_key`) for retractions, expressions of concern or corrections via Crossref (Retraction Watch data). Read-only; reports a `status` per item with any notices |\n| `find_duplicates` | Find duplicate items (same DOI or normalized title/year) in the library or a collection; or, given DOIs, report which are already present (use before `add_items_by_doi`). Read-only — never merges or deletes |\n\n### Adding content\n\n| Tool | Description |\n|---|---|\n| `add_items_by_doi` | Add papers by DOI with automatic metadata resolution. Auto-attaches OA PDFs via Unpaywall |\n| `add_items` | Add items with direct metadata — supports all 37 Zotero item types (books, theses, reports, etc.), batch-capable |\n| `create_collection` | Create a new collection, optionally nested under a parent |\n| `import_pdf_to_zotero` | Download a PDF from URL, upload to Zotero storage, auto-index full text |\n| `find_and_attach_pdfs` | Batch OA PDF lookup and auto-attach via Unpaywall (by item keys or collection) |\n| `add_linked_url_attachment` | Attach a URL to an existing item or create a standalone link |\n\n### Editing content\n\n| Tool | Description |\n|---|---|\n| `update_item` | Edit an existing item's fields and/or creators. Needs the item's current `version` (from `get_items_details`); a stale version returns `version_conflict` instead of overwriting |\n| `create_note` | Attach a plain-text child note to an existing regular item (blank lines become paragraphs) |\n\n### Deleting content\n\n| Tool | Description |\n|---|---|\n| `delete_items` | Delete up to 50 items per call: moved to the Zotero trash by default (recoverable), or permanently with `permanent: true`. Requires `UNSAFE_OPERATIONS=items` or `all` |\n| `delete_collection` | Delete a collection (folder) permanently — collections have no trash. Items inside are kept. Requires `UNSAFE_OPERATIONS=all` |\n\n### Citation & documents\n\n| Tool | Description |\n|---|---|\n| `inject_citations` | Inject live Zotero citations into a Word (`.docx`) or LibreOffice (`.odt`) document (native fields in Word, reference marks in LibreOffice; format from the extension or the `format` argument). Recognizes two placeholder styles automatically: `<zcite keys=\"ITEMKEY\"/>` tags, or — when the document has no `<zcite>` — Pandoc markers (`[@KEY]`, `[@K1; @K2]`, `[see @KEY, p. 12]`, `-@KEY`, inline `@KEY`), where `KEY` is a Zotero key or a case-sensitive Better BibTeX citation key (resolved via the item's `citationKey` field or a `Citation Key:` line in Extra). Prefer the bracketed `[@KEY]` form: an inline `@word` that doesn't resolve (a handle or code) is kept as text with a warning, while an unknown key in `[@…]` is an error. Supports APA, IEEE, Vancouver, Harvard, Chicago. Output is saved in the same folder as the input file with a `_cited` suffix (e.g. `paper.docx` → `paper_cited.docx`, `paper.odt` → `paper_cited.odt`) |\n| `create_cited_document` | Create a new `.docx` or `.odt` from Markdown (headings, bold/italic, one-level lists) with pandoc-style citations (`[@KEY]`, `[@K1; @K2]`, `[see @KEY, p. 12]`, `-@KEY`) turned into native Zotero citations and a bibliography. Never overwrites an existing file |\n| `get_user_id` | Returns the configured Zotero user ID |\n\n### Citation placeholders\n\n`inject_citations` (and the skill's `inject.js`) recognizes the placeholder style by itself, so there is no argument to set:\n\n| The document contains | What happens |\n|---|---|\n| `<zcite keys=\"ITEMKEY\"/>` tags | The tags become Zotero citations. Any Pandoc markers in the same document are left alone and reported in a warning |\n| Only Pandoc markers | `[@KEY]`, `[@K1; @K2]`, `[see @KEY, p. 12]`, `-@KEY` (year only) and inline `@KEY` become Zotero citations |\n| Neither | The copy is written unchanged, with a warning |\n\n- `KEY` is a Zotero item key (8 characters) or a **Better BibTeX citation key** such as `rossi2020`, found through the item's citation key field or a `Citation Key:` line in Extra. Citation keys are case-sensitive.\n- Prefer the bracketed form `[@KEY]`. An unknown or ambiguous key inside brackets is an error and nothing is written. An inline `@word` that doesn't resolve (a social handle, `@media`, a code decorator) stays text with a warning. Word may split an inline `@KEY` across formatting runs; the bracketed form is always recognized.\n- A document with both styles: run `inject_citations` on the `_cited` output again to convert the Pandoc markers too. The second run adds the citations without a second bibliography; Zotero → Refresh updates the existing one.\n- Footnotes and comments are not scanned, in either style.\n\n### After injection\n\nOpen the `_cited` file in Word or LibreOffice with the [Zotero plugin](https://www.zotero.org/support/word_processor_integration) installed and use Zotero → Refresh: the plugin formats the citations and the bibliography in the chosen style, and from then on you can add, edit or restyle citations from the plugin as usual. The document stays in its format: a `.docx` keeps Word fields, an `.odt` keeps LibreOffice reference marks.\n\n### Prompts\n\nUser-initiated MCP prompts (`prompts/list`, `prompts/get`) that walk a client through a workflow in terms of the tools above:\n\n| Prompt | Description |\n|---|---|\n| `cite_word_document` | Turn the placeholders in an existing `.docx`/`.odt` into Zotero citations (`inject_citations`) |\n| `write_cited_document` | Draft a cited document from scratch and save it (`create_cited_document`) |\n| `import_references` | Import references by DOI: skip those already in the library (`find_duplicates`), add the rest (`add_items_by_doi`), check them for retractions (`check_retractions`) and attach open-access PDFs (`find_and_attach_pdfs`) |\n| `note_from_item` | Read an item and attach a summary note (`create_note`) |\n| `check_bibliography` | Check a collection for retracted items (`check_retractions`) and duplicates (`find_duplicates`) before handing it in |\n\n## Development\n\n```bash\nnpm install\nnpm run build          # Compile TypeScript\nnpm test               # Unit and per-tool tests (vitest, fetch faked, ~1900 tests)\nnpm run test:e2e       # Built server over stdio against a local fake Zotero API\nnpm run smoke          # Quick stdio smoke test of the built server (user + group library)\nnpm run bundle         # Claude Desktop extension: dist/mcp-zotero.mcpb (production dependencies only)\nnpm run smoke -- --bundle dist/mcp-zotero.mcpb   # smoke test of the unpacked bundle, started from its manifest\nnpx tsx src/server.ts  # Run directly without building\n```\n\n### Testing\n\n| Layer | Command | Runs on | What it covers |\n|---|---|---|---|\n| Unit / per tool | `npm test` | every PR (Node 22, 24, 26) | every tool through a real MCP client, Zotero faked at the `fetch` level; produced `.docx` files are validated against the official CSL schemas and rendered with citeproc-js ([test/helpers/docx-validate.ts](test/helpers/docx-validate.ts)) |\n| E2E + smoke | `npm run test:e2e`, `npm run smoke` | every PR | the compiled server over stdio, user and group libraries |\n| Live | `npm run test:live` ([workflow](.github/workflows/claude-agent-smoke.yml), shared with the agent smoke test) | PRs from this repository, `main`, weekly (Friday), manual runs | the real Zotero Web API on a dedicated test account ([test/live](test/live)); skipped unless `ZOTERO_TEST_API_KEY` is set |\n| Agent smoke | [workflow](.github/workflows/claude-agent-smoke.yml), after the live suite passed | PRs from this repository, manual runs (e.g. on `main` after a merge) | a Claude Code agent uses the server like a user, following the versioned skill [`.claude/skills/test-mcp-zotero`](.claude/skills/test-mcp-zotero/SKILL.md): `inject_citations` ⇄ `inject.js` parity in every style, fixed edge cases and up to 5 exploratory scenarios on what the PR changes. The workflow sets up the MCP server, the tool set and guard hooks (Bash allowlist, delete policy, audit log); local runs use the same pieces ([test/live/agent/README.md](test/live/agent/README.md)). The verdict comes from [test/live/verify-claims.mjs](test/live/verify-claims.mjs), not from the agent; each run writes a Job Summary (verdict, scenarios, exploratory findings, friction, turns/cost/duration) and keeps one comment on the PR up to date, both scrubbed of anything that identifies the test account |\n| Word | manual | every release | [test/WORD_CHECKLIST.md](test/WORD_CHECKLIST.md): open an injected document in Word with the Zotero plugin |\n\nEvery test case is listed in [test/TEST_CASES.md](test/TEST_CASES.md).\n\n**Live tests locally** use only `ZOTERO_TEST_*` variables, never your `ZOTERO_API_KEY`:\n\n```bash\nZOTERO_TEST_API_KEY=... ZOTERO_TEST_USER_ID=... UNPAYWALL_EMAIL=you@example.org npm run test:live\n```\n\nAgainst a personal library add `ZOTERO_LIVE_SAFE_MODE=1`: the suite only creates items and collections\nnamed `mzt-<runId>…` and tagged `mzt-run:<runId>`, deletes only those, and skips collection deletion and\ngroup writes. A dedicated test account is marked by a collection named `__mzt_disposable__`.\n\n**Dependencies** are updated monthly by a Claude Code agent ([workflow](.github/workflows/deps-update.yml),\nskill [`.claude/skills/deps-update`](.claude/skills/deps-update/SKILL.md)); patch-only PRs are auto-merged after\nall required checks pass, anything else waits for review. GitHub Actions versions are updated by Dependabot.\n\n### CI setup (repository owner)\n\n| Environment | Secrets | Variables |\n|---|---|---|\n| `zotero-live` (live tests, agent smoke) | `ZOTERO_TEST_API_KEY`, `ZOTERO_TEST_USER_ID`, `ZOTERO_TEST_USERNAME`, `ZOTERO_TEST_GROUP_ID` (optional), `UNPAYWALL_EMAIL` | `ANTHROPIC_FEDERATION_RULE_ID`, `ANTHROPIC_ORGANIZATION_ID`, `ANTHROPIC_SERVICE_ACCOUNT_ID`, `ANTHROPIC_WORKSPACE_ID` |\n| `claude-deps` (dependency agent) | — | the same four `ANTHROPIC_*` variables (the federation rule may differ) |\n\nThe agents authenticate to the Claude API with Anthropic Workload Identity Federation (GitHub OIDC, no\nAPI key). Recommended: one federation rule per environment, as narrow as possible:\n\n| Rule for | subject (exact, no `*`) | claims (exact string pairs) | condition (CEL) |\n|---|---|---|---|\n| `zotero-live` | `repo:Xevos117/mcp-zotero:environment:zotero-live` | `repository_id: 1152178663`, `repository_owner_id: 86290818` | `claims.job_workflow_ref.startsWith(\"Xevos117/mcp-zotero/.github/workflows/claude-agent-smoke.yml@\")` (PR runs use the PR ref) |\n| `claude-deps` | `repo:Xevos117/mcp-zotero:environment:claude-deps` | `repository_id: 1152178663`, `repository_owner_id: 86290818`, `job_workflow_ref: Xevos117/mcp-zotero/.github/workflows/deps-update.yml@refs/heads/main` | — |\n\nClaims are exact-match string pairs (only `subject_prefix` supports a trailing `*`), so a prefix such as\n\"this workflow on any ref\" must be written as a CEL `condition`, as above; an exact `job_workflow_ref`\n(claude-deps, main only) can be a plain claim.\n\nAudience `https://api.anthropic.com`. The subject is an exact match unless it ends with `*`; jobs that use\nan environment get the OIDC subject `repo:Xevos117/mcp-zotero:environment:<environment>`, so a rule\nwritten for a branch or PR subject never matches. Numeric ids (not names) keep a renamed or re-created\nrepository/account from matching.\n\nTrade-off for `zotero-live`: the \"any ref\" condition is needed for the agent smoke test to run on pull\nrequests, but it also accepts a modified copy of that workflow file pushed to any branch of this repository\n(only people with write access can push). Pinning it to the exact claim\n`job_workflow_ref: Xevos117/mcp-zotero/.github/workflows/claude-agent-smoke.yml@refs/heads/main` closes that\ngap but disables the agent smoke test on PRs (it would then run only on manual runs from `main`).\n\nOther owner settings:\n\n- The Zotero test account needs a collection named `__mzt_disposable__`.\n- Repository settings: \"Allow auto-merge\", and \"Allow GitHub Actions to create and approve pull requests\"\n  (the dependency workflow opens its PR with `GITHUB_TOKEN`). Keep the ruleset at **0 required approvals**:\n  auto-merge of the dependency PR relies on it, and it is also what makes the second setting acceptable. That\n  setting is a conscious trade-off: it lets workflows open PRs (needed) and approve them (not used by any\n  workflow here); if approvals are ever required, it would let a workflow approve its own PR, so revisit it\n  together with any approval requirement.\n- No GitHub App is used by any workflow (the agents authenticate to Anthropic with Workload Identity\n  Federation and use only `GITHUB_TOKEN` on GitHub, read-only for the agents). If the Claude GitHub App is\n  installed on this repository, uninstall it.\n- Set a monthly spend limit on the Anthropic workspace used by the federation rules: it is the real cap on\n  agent costs.\n- Residual risk: the agent smoke job that holds the OIDC token also runs the MCP server built from the PR's\n  code (that is what it tests). It runs only for same-repository PRs by the owner or a bot, the token is\n  bound to the `zotero-live` environment and the workspace spend limit caps any misuse.\n- Required checks after the stack merges: `test (node 22)`, `test (node 24)`, `test (node 26)`,\n  `live-tests`, `agent-smoke`.\n\n### Releasing\n\n1. Update `CHANGELOG.md` (move `Unreleased` to the new version) and the version in `package.json`, in\n   `server.json` (`version` and `packages[0].version`) and in `manifest.json` (`npm test` fails if they differ).\n2. Make sure CI, live tests and the agent smoke test are green on `main`.\n3. Run the manual [Word checklist](test/WORD_CHECKLIST.md) on a document injected by the release candidate\n   and record the results in its log.\n4. Before the first release that ships the Claude Desktop extension (and whenever `manifest.json` or the Node.js\n   requirement changes): build it with `npm run bundle`, install `dist/mcp-zotero.mcpb` once in a real Claude\n   Desktop (macOS or Windows), fill in a test key and user ID, and check that the 20 tools appear and\n   `get_collections` answers.\n5. Publish the GitHub release: the [release workflow](.github/workflows/release.yml) runs the tests, publishes\n   to npm, publishes `server.json` to the [MCP Registry](https://registry.modelcontextprotocol.io) and attaches\n   the skill zips and the Claude Desktop extension (`mcp-zotero.mcpb`). The release tag must be the version\n   (e.g. `2.0.3`): the registry and bundle jobs check out the tag and fail if `package.json` differs.\n6. If only the `mcp-registry` job fails, use **Re-run failed jobs** on the run: **Re-run all jobs** stops at the\n   npm publish (the version already exists) and so never reaches the registry.\n\n### Debug with MCP Inspector\n\n```bash\nnpx @modelcontextprotocol/inspector npx tsx src/server.ts\n```\n\n## License\n\nMIT - see [LICENSE](LICENSE) for details.\n","readmeFilename":"README.md"}