{"_id":"pubmed_mcp_server2","_rev":"14-3449d7efdfd5dc8b784afb62f0ac217e","name":"pubmed_mcp_server2","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.0":{"name":"pubmed_mcp_server2","version":"1.0.0","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.0.0","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"2c54934f37ea0c663cfd012dafbfa0fdead9b443","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.0.0.tgz","fileCount":11,"integrity":"sha512-ujn0AXc9k5akQ4BZlKe+lu5LDQEHjZa4f2AKl7/2ZfKgZ4BssTXiZNl/6GGNzX94tGQbYM8o4sufmxV4UaisQg==","signatures":[{"sig":"MEUCIQDeE7o8znf9lMNlw2iU3pHvFVct6Pe+si4npBwaetZxbAIgKvLEhhB2mamyN8W3IqfpUETZunVQG3lt9pbBfYw0hIo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124968},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ea688c0ad2f3a6a8f526569712386d620e363ea5","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"10.9.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.0.0_1753440817716_0.46891375096060406","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"pubmed_mcp_server2","version":"1.0.1","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.0.1","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"e96430f31832e0ca59b6425f784a0fb7b954dfbc","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.0.1.tgz","fileCount":11,"integrity":"sha512-VPIEkUCOKgk3xk4WzsaGval0JDHgjkEDZrn2rtVomTBrV4i6Jhr2JcF7hyM/4l0vFo+OX2A0NaByqMQG4Pa0cA==","signatures":[{"sig":"MEUCICYM7JrTknFf5ttqD8FfaUnKiDrTyCW923BydpctSwhWAiEAi3rN5ycLk6gI2zvJUwc3FalCh1HW2BZRrphL4pX+3i4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143473},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ea688c0ad2f3a6a8f526569712386d620e363ea5","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"10.9.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.0.1_1753772670057_0.5535816029866638","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"pubmed_mcp_server2","version":"1.0.2","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.0.2","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"42775c1b57d6294c6194913d28d11a0ba143f96a","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.0.2.tgz","fileCount":11,"integrity":"sha512-HLcsqlABD9UfjJOzoB9VAJGjwroGM0OdbpgRtwXGOrPkzP6NPkp64B9sqqJANmAyVavIj7BGxSWxxjukVpoA/A==","signatures":[{"sig":"MEUCIGiCT4rQqtrU+Yo+I0MSDRGPFOXKXU1FVzymECV/G4rwAiEAk2mNHd8s6nAvcLRIWEXLKwojr2PihNDHfTBk07UK5RI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":171586},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ea688c0ad2f3a6a8f526569712386d620e363ea5","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"10.9.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.0.2_1753779952778_0.8410671854427727","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"pubmed_mcp_server2","version":"1.1.0","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.1.0","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"d027575cff050390783e90c895f8ac3b2ad755a5","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.1.0.tgz","fileCount":11,"integrity":"sha512-ejc/D2+rVX0GgDAKLfDw7v2RTIGIyDE6aO62/ldgHmMACgQkV2bdARTCL10ER69ua0WshtcPQCCBUk656eW0cA==","signatures":[{"sig":"MEUCIQDaM7gTU3bsPiiKOQXQSkT8DMYhQC8NUHA90HefonV1FAIgX05cuzUhSXBQAJg63Guq7B0rGzGYZpfpAYS7UDlDmdo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221733},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"90da66807f1f3fb91ef03bd17ecdaf643a441075","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.5.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.1.0_1764587356982_0.41756017687591496","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"pubmed_mcp_server2","version":"1.1.1","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.1.1","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"28de9dee77945f793a3c29efcd57e5737544d0ce","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.1.1.tgz","fileCount":11,"integrity":"sha512-uK4+8G3SgplO1foJ26DXUqtthHDKloI4DxdQVtULNn1H2N63yjncGirVDwCcneRRJUEZNsJd5HWrow+wSUB6SQ==","signatures":[{"sig":"MEUCIBLJYNFsl0gj80mXrhgGW7QhRYGs8J/AAsoL8ib5qaafAiEA/6v8cknH/B96AhortHexyiKI0Jq2FjrxBfmttTJSehU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":197440},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"90da66807f1f3fb91ef03bd17ecdaf643a441075","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.5.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.1.1_1764588778971_0.37690978423683275","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"pubmed_mcp_server2","version":"1.1.2","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.1.2","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"35aa1c607265c15ecb524ca36a51a87aab381a22","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.1.2.tgz","fileCount":11,"integrity":"sha512-9e04RMel9TG4vg/UBTTWZRWVujp8bZAzsKF70K0mENqlqPUxPSfKUCYBOMqJWTD2FpSBZRkx9IbCRV6hnViFlg==","signatures":[{"sig":"MEUCIQC7WouXt7vBTSzHn0ASzOYY3Ii5NNy3VNOznmDKc6V5PwIgWAtrat+y0T6tQiyD7lai9hYWIVzt+ufLpXXJgLbfSBg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198935},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"90da66807f1f3fb91ef03bd17ecdaf643a441075","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.5.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.1.2_1764589991715_0.8243931279582624","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"pubmed_mcp_server2","version":"1.1.3","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@1.1.3","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/YOUR_USERNAME/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"fc0b44783eca832124c77081f59bd670258c2f38","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-1.1.3.tgz","fileCount":11,"integrity":"sha512-48SwuSHoaXOyadAftxph8iwAKQt0UPbenxfY5UbOhthtxZQK1OMQjXn4b/dMPieeB379rM6YnmWQmbrDSBBXLw==","signatures":[{"sig":"MEUCIGj+oAR4cGzqGoYbkH/2NDk6F7hAz5+Vqk77uqp8+X6EAiEAo92HjYPmzcW1jVRfiKHvC5jMukvRtGu3evLhgK3E3jg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184880},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"90da66807f1f3fb91ef03bd17ecdaf643a441075","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_USERNAME/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.5.2","description":"Advanced Model Context Protocol server for PubMed database access with MeSH optimization and citation analysis","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^3.22.0","xml2js":"^0.6.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@types/xml2js":"^0.4.14"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_1.1.3_1764590421321_0.843402998224855","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"pubmed_mcp_server2","version":"2.0.0","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.0.0","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa061580/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa061580/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"9c29369470668466a77536ecbe563f6c9a1c03dd","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.0.0.tgz","fileCount":19,"integrity":"sha512-skJOrRoCjHVaQ4YEeAJ0cD9URMqTUjXtgTzM2xEtuZdQ9AOo3/OPBjRcwC0YJ1hp3Y5bZbvtJg300uMxRarsQw==","signatures":[{"sig":"MEQCIFecypS/XjSIVqZOXgjRodN6T7XhyW+FVqdSlvZ53kbeAiB2QPTK0A2iCmFy5Rp0mgzyPFHuN+c8dA5cB5Dm9vfbGA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124774},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"e78093bb07fef52a64b733714c418d723380df8b","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa061580/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.0.0_1779103852783_0.9729797934612037","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"pubmed_mcp_server2","version":"2.0.1","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.0.1","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa061580/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa061580/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"bd18eb1eb52c9876e4e5eed1f91699f91c53d409","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.0.1.tgz","fileCount":19,"integrity":"sha512-CDnPv7t0pHMrwXCkrOJUczrXYLJOgzH97Muwquw7uS9Z3VPcVXB2R8OFc4uJschXnA3KsRzqfenIa6m9J7XokA==","signatures":[{"sig":"MEYCIQCvN6Tda0iFJwDS2ERFYn+YQf69E2oSqgG5VV5Pa7Y+nwIhAPSv+In1Qtb3ToOUhdJ0YOSC3CfagwlSYNGjaEuteNig","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131187},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2f7853ff783318f932fd704e2ec753aa772020ba","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa061580/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.0.1_1780618313589_0.5354210787489606","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"pubmed_mcp_server2","version":"2.0.2","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.0.2","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"0f19b40f462e0607b81aa8c868a8ffa762f2e16a","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.0.2.tgz","fileCount":19,"integrity":"sha512-ddQFuXn4XUAtIUFl1Id9mwhZ/EdCsSoZVb0xjE5fOBWuQEe3OHmD1FYtHdqMUf8sYRlc169C/mqHtjG85FSRhQ==","signatures":[{"sig":"MEUCIQDnILmWWO0GSCm15o3UUAbV1XLx43F6/IN5rCaDLr90TAIgUzisuMtjjTi7UvCoZeX9wluZUh3iaSRwfFCFwBoqk3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD34tZKahV7eoB61ILM2xm5tDZRZLwE+pxVgCRfisHq3QIgHgMyyhiWV12t5dfWDDv01pe/Q9Chi0EnLk2rJsZXNXg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133081},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"f521f17396b1528ea9140319a4c7ceb7bcdc12a2","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.0.2_1791712016581_0.8022295199726388","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"pubmed_mcp_server2","version":"2.0.3","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.0.3","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"888e0d17d1e2c0009cb770f12b18c77653315b2e","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.0.3.tgz","fileCount":19,"integrity":"sha512-LEInJ6HxMi7P56pH7f0oZXUgQh2wEy+KxYZ9f1Mo8kGgzygwogxPS+Vg81wWM4xG4u61cS+ZUyjhr4LsUK6Ifw==","signatures":[{"sig":"MEUCIQD7JrcyO2CvnAzEe1j55meAuYN5qgZ/JATq5V0oBCkfwwIgY1VaZ/PDW7nNJHcwRsf++SiVyNKVkNIi/LV70Vl3Yv0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFPd58AA8fQjZQJGGwkRzXuf3u7EmssmCX2dqmckwkOsAiEAoQhs9TL7e+DfSuP0If+hMeOt/TmIvede/IIfkCfJ6Qg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136683},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"94d28331112a0925f2d4ac1531a03a4fd145c2c6","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.0.3_1791723468653_0.9548402843988211","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"pubmed_mcp_server2","version":"2.0.4","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.0.4","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"7f11a86fdfb800c7969cdfeb6b35c6b054aaf7ab","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.0.4.tgz","fileCount":19,"integrity":"sha512-hZk0R53dzmvGz6as/UxpOWw5z4Fm6i/6/L2Z2A4tPvb/V4qonTEjMP1JDYk+xUalwcyydfjV7nOEjZE+/Cx+RA==","signatures":[{"sig":"MEYCIQCdU/m1n+JSeSb7uBfzFoYon+z1Kg5JU7q30d+imvmvXAIhAObLADY/keYGc6ZkAo8fvxRo3OWRvgZJTc8okkEwJJtr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCRWkE2CUVkBRSK61hLeUoP9ZQ2l1DK985o6qTR+hgJPgIgCXUwb9PYZQcPggcWo1PbOGX3RVvsS5D7QdkOtNed5LQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147601},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ce2252c63f52984ed1c6aa7d2fd857e153b30b54","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.0.4_1791725771553_0.8774047538667371","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"pubmed_mcp_server2","version":"2.1.0","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"author":{"name":"Claude"},"license":"MIT","_id":"pubmed_mcp_server2@2.1.0","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"bin":{"pubmed-mcp-server":"dist/index.js"},"dist":{"shasum":"3ed7af6ba02b1c59758dc65bfc970090c4d175d1","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.1.0.tgz","fileCount":19,"integrity":"sha512-c62QDfry4+54WW8Pbsia9F8G6HmjoWM9ygqXd7NgjiOowluF4uO6KA4qppgDMqBeQgRdzrZiXP+37hisFqrIzA==","signatures":[{"sig":"MEYCIQCQYJ6FMz8d2dbJ27mEP3P7qbWI7VFUFACm5PnyRJpwDgIhAOoinThuBT2RyqEI65kf4pHbDTVfxGoDcnyY2Y30GLn3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAVh4PXUl+6d3utKlPC61gXqs59ICIOBX8znykOajoukAiAminPKM84dRCk0EaAPM2g5o1HG0UQE1FbZwYYU6pWTJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152038},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d47cd025f08e53535a5e5d48c5a275fa239a20ff","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.12.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"_nodeVersion":"24.15.0","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pubmed_mcp_server2_2.1.0_1793532504757_0.2272775509489947","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"_id":"pubmed_mcp_server2@2.1.1","bin":{"pubmed-mcp-server":"dist/index.js"},"bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"dist":{"shasum":"f82a0c016a1c1550c1fca021f3930c80c74a3407","tarball":"https://registry.npmjs.org/pubmed_mcp_server2/-/pubmed_mcp_server2-2.1.1.tgz","fileCount":19,"integrity":"sha512-wfIOh71E5pycNz1awyxWZSIuGwEI4ndcOg4TgzoD++N6U+0+ag431OvBigtAHHQy4Wcge2TNep2vTfkgTgNbOA==","signatures":[{"sig":"MEUCIHW3BymvCH61iqJUz+qPJteae/2aTxbcZDlIjAhAOIyuAiEA46hZ9fdmxxkm9LLgM+P3DXZS8obWLkH+bgdkJkT4Qc4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCI/DhC/G/2ZmLa5tmHfIo4nVfv353vvVtQRukJ5/JEgAIhANLZpR4hzACQd9ixTVOApsekbRPb48MkfO1EZIh8lr+n"}],"unpackedSize":154127},"main":"dist/index.js","name":"pubmed_mcp_server2","type":"module","types":"./dist/index.d.ts","author":{"name":"Claude"},"engines":{"node":">=18.0.0"},"gitHead":"6fb1ab2fc00e5c42592edd554f878c1314dc0172","license":"MIT","scripts":{"dev":"tsc && node dist/index.js","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","clean":"rm -rf dist","start":"node dist/index.js","prebuild":"npm run clean","prepublishOnly":"npm run build"},"version":"2.1.1","_npmUser":{"name":"masa0615","email":"misawaanny@gmail.com"},"homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"_npmVersion":"11.19.1","description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","directories":{},"maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"_nodeVersion":"24.22.1","dependencies":{"he":"^1.2.0","zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/he":"^1.2.3","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pubmed_mcp_server2_2.1.1_1794661058484_0.6631304792601355"}}},"time":{"created":"2025-07-25T10:53:37.714Z","modified":"2026-11-14T12:57:38.779Z","1.0.0":"2025-07-25T10:53:37.930Z","1.0.1":"2025-07-29T07:04:30.220Z","1.0.2":"2025-07-29T09:05:52.992Z","1.1.0":"2025-12-01T11:09:17.183Z","1.1.1":"2025-12-01T11:32:59.154Z","1.1.2":"2025-12-01T11:53:11.915Z","1.1.3":"2025-12-01T12:00:21.523Z","2.0.0":"2026-05-18T11:30:52.943Z","2.0.1":"2026-06-05T00:11:53.738Z","2.0.2":"2026-10-11T09:46:56.659Z","2.0.3":"2026-10-11T12:57:48.748Z","2.0.4":"2026-10-11T13:36:11.638Z","2.1.0":"2026-11-01T11:28:24.851Z","2.1.1":"2026-11-14T12:57:38.611Z"},"bugs":{"url":"https://github.com/masa-med-ai/pubmed_mcp_server2/issues"},"author":{"name":"Claude"},"license":"MIT","homepage":"https://github.com/masa-med-ai/pubmed_mcp_server2#readme","keywords":["mcp","model-context-protocol","pubmed","ncbi","biomedical","research","mesh","citation-analysis","literature-search","claude","ai-tools","medical-research","bibliography","ris-export"],"repository":{"url":"git+https://github.com/masa-med-ai/pubmed_mcp_server2.git","type":"git"},"description":"Local stdio MCP server for PubMed with 10 tools: search, fetch, fetch_batch, get_full_text, count, find_similar_articles, export_to_ris, get_citation_counts, convert_ids, batch_process","maintainers":[{"name":"masa0615","email":"misawaanny@gmail.com"}],"readme":"# PubMed MCP Server v2.1.1\n\nA local **Model Context Protocol (MCP)** server that exposes the NCBI PubMed / PubMed Central / iCite APIs to MCP-compatible clients (Claude Desktop, MCP Inspector, etc.) over **stdio**.\n\nThis version (`2.0.0`) is a complete rewrite of the tool layer to provide **feature parity with the remote OAuth-protected sibling project [`pubmed-mcp-remote-Oauth-`](https://github.com/masa061580/pubmed-mcp-remote-Oauth-)** — all 10 PubMed tools are identical in name, schema, and behavior (the remote server additionally exposes two tools for managing per-user NCBI API keys, which a single-user local server doesn't need). The local build simply drops OAuth and runs on stdio so it can be wired into Claude Desktop without authentication.\n\n---\n\n## 🐛 What's new in v2.1.1\n\nPatch release — an unexpanded `NCBI_API_KEY` placeholder no longer breaks every call.\n\n- **Placeholder API keys are ignored.** Some MCP hosts pass a config value such as `${NCBI_API_KEY:-}` to the server as literal text instead of expanding it. The server sent that text as `api_key`, and NCBI rejected every request with HTTP 400 (`API key invalid`). A key that is blank or contains `$`, `{` or `}` is now treated as no key: the server logs one line to stderr and runs at the keyless rate limit (3 requests/sec).\n\n---\n\n## ✨ What's new in v2.1.0\n\nMinor release — `get_citation_counts` returns impact metrics, and large iCite requests work.\n\n- **`get_citation_counts` returns iCite metrics.** With the default `icite` source, each item now includes `year`, `relative_citation_ratio`, `nih_percentile`, `citations_per_year`, `is_clinical`, `is_research_article`, and `provisional`. `relative_citation_ratio` and `citations_per_year` are rounded to two decimals. Set `include_references: true` to add the PMIDs each paper references. Existing fields are unchanged, and `batch_process` citations return the same fields.\n- **Fixed HTTP 413 on large iCite requests.** All PMIDs went into one GET URL, so about 400 or more PMIDs failed even though the tool accepts up to 1,000. Requests are now sent in chunks of 200.\n\n---\n\n## 🐛 What's new in v2.0.4\n\nPatch release — `convert_ids` handles articles outside PMC, and query errors are reported.\n\n- **`convert_ids` now resolves PMIDs and DOIs of articles that are not in PMC.** The NCBI ID Converter only knows PMC articles, so DOI → PMID failed with `Identifier not found in PMC` for most journal articles (for example, Gastroenterology or Annals of Internal Medicine papers). Unresolved PMIDs/DOIs are now looked up in PubMed itself, matching DOIs exactly; these results carry `note: \"Resolved via PubMed (not in PMC)\"`. Requests for a PMCID of such an article fail with `Not in PMC (no PMCID)`, and IDs found in neither source fail with `Not found in PMC or PubMed`.\n- **`count` and `search` now return PubMed query errors in `warnings`.** The previous code read misspelled ESearch keys and ignored `errorlist`, so `warnings` was always empty and an invalid query (for example, `pmc[sb]` instead of `\"pubmed pmc\"[sb]`) looked like a genuine zero-hit search. `warnings` now lists `Phrase not found`, `Field not found`, `Phrase ignored`, and `Quoted phrase not found` entries. `search` previously had no `warnings` field.\n- **Clarified `free_full_text`.** The tool description now states that this filter also matches articles that are free only on the publisher site (no PMCID, so `get_full_text` cannot retrieve them), and that `\"pubmed pmc\"[sb]` restricts results to PMC-hosted articles.\n\n---\n\n## 🐛 What's new in v2.0.3\n\nPatch release — fixes `publication_types` parsing and adds support for NCBI Bookshelf records.\n\n- **The first element of `publication_types` no longer contains a raw XML tag.** The publication-type regex also matched the enclosing `<PublicationTypeList>` element, so the first entry came back as `<PublicationType UI=\"D016428\">Journal Article` instead of `Journal Article`. Exact-match checks (for example, detecting `Retracted Publication` or `Randomized Controlled Trial`) could fail on that entry. Affects `search` (`output_mode: \"full\"`), `fetch_batch`, and `batch_process` (abstract operation).\n- **NCBI Bookshelf records are no longer silently dropped.** PubMed returns book records (for example, HTA reports such as CADTH Health Technology Reviews) as `<PubmedBookArticle>` rather than `<PubmedArticle>`. They were skipped, so `fetch` reported \"No abstract found\" and `fetch_batch` returned fewer items than requested. They are now parsed: the title falls back to the book title, and `journal` to the collection title, the book title (for chapters), or the publisher. For book chapters, `authors` are the chapter authors; a book's editors are never reported as authors. `year` is the book's publication year, which for continuously updated books such as GeneReviews can be much older than the chapter.\n\n---\n\n## 🐛 What's new in v2.0.2\n\nPatch release — completes the author-list cap introduced in v2.0.1.\n\n- **`batch_process` now caps long author lists too.** In v2.0.1 the cap (first 10 names + `\"et al.\"` when an article has more than 30 authors) applied to `fetch`, `fetch_batch`, and `search` (full mode), but the `abstract` operation of `batch_process` still returned every author. It now applies the same cap, matching the remote OAuth server.\n\n---\n\n## 🐛 What's new in v2.0.1\n\nPatch release — bug fix and a safeguard for consortium papers.\n\n- **Fixed a hang on papers with huge collaborator lists.** Fetching articles such as PMID `25176015` (the PARADIGM-HF trial, with 12 authors plus **1,184 `<Investigator>` collaborators**) could peg a CPU core for minutes and freeze the MCP server. The author-parsing regex suffered **catastrophic backtracking (ReDoS)** on the group-author element that has no `<LastName>`/`<ForeName>`. Author parsing is now scoped to the `<AuthorList>` block and processes each `<Author>` element in isolation — the same article now parses in ~4 ms and correctly returns 12 authors (plus the `<CollectiveName>` group author), excluding the 1,184 investigators.\n- **Long author lists are capped.** When an article lists **more than 30 authors**, `fetch`, `fetch_batch`, and `search` (full mode) now return the **first 10 names followed by `\"et al.\"`** to keep the JSON compact. Articles with 30 or fewer authors are returned in full, unchanged.\n\n---\n\n## ✨ What's new in v2.0.0\n\n| | v1.0.2 (legacy) | **v2.0.0 (this release)** |\n|---|---|---|\n| Tools | 8 tools (`search_pubmed`, `get_full_abstract`, …) | **10 tools** with new schema (see below) |\n| Output format | Markdown-formatted strings | Structured **JSON** for every tool (token-efficient, parser-friendly) |\n| Search | Single sort, no filters | `output_mode` (minimal/compact/full), pagination, structured filters (date range, publication types, languages, humans-only, has-abstract, free full text) |\n| Full text | Whole-article dump | Section-aware extraction (abstract / introduction / methods / results / discussion / conclusions / references) |\n| Citations | `elink` only | **iCite** by default (counts include non-PubMed citations) + `elink` mode for citing-PMIDs |\n| ID conversion | — | **New** `convert_ids` (PMID ↔ PMCID ↔ DOI) |\n| Bulk fetch | — | **New** `fetch_batch` |\n| Count-only query | — | **New** `count` tool for fast query refinement |\n| HTML entities | Raw | Decoded via `he` |\n| 429 handling | — | Exponential-backoff retry (1s/2s/4s) |\n| Module structure | Single `pubmed-api.ts` | Split into `pubmed-client.ts` (transport) / `tools.ts` (MCP) / `ris-exporter.ts` |\n\n**Breaking change**: tool names and response shapes have changed. If you were using v1.x, update your client prompts to the new names.\n\n---\n\n## 🔧 Tools (10)\n\nAll tools return JSON in `content[0].text`.\n\n| # | Tool | Purpose |\n|---|---|---|\n| 1 | **`search`** | PubMed search with MeSH support, pagination (`retmax`/`retstart`), sort (`relevance`/`pub_date`/`first_author`), `output_mode` (minimal/compact/full), and structured `filters`. Returns `warnings` for query errors (unknown phrase/field tag). Note: `free_full_text` also matches publisher-hosted free articles; add `\"pubmed pmc\"[sb]` to restrict to PMC |\n| 2 | **`fetch`** | Single-PMID abstract (OpenAI MCP–compliant document shape) |\n| 3 | **`fetch_batch`** | Multiple-PMID abstracts in one call; optional `include_abstract` flag |\n| 4 | **`get_full_text`** | PMC full text via JATS XML; section filter `[abstract, introduction, methods, results, discussion, conclusions, references, all]`; max 20 PMCIDs |\n| 5 | **`count`** | Result count only — fast query refinement; returns `warnings` for query errors |\n| 6 | **`find_similar_articles`** | NCBI `elink pubmed_pubmed` similarity |\n| 7 | **`export_to_ris`** | Compact RIS for EndNote/Zotero/Mendeley (citation manager auto-fetches full metadata via PMID) |\n| 8 | **`get_citation_counts`** | iCite (default, counts, RCR and other metrics; `include_references` adds referenced PMIDs) or `elink` (PubMed-internal, with citing PMIDs) |\n| 9 | **`convert_ids`** | PMID ↔ PMCID ↔ DOI via NCBI ID Converter API, with PubMed fallback for articles not in PMC |\n| 10 | **`batch_process`** | Run any subset of `[abstract, citations, similar, ris_export, full_text]` against the same PMID set with bounded concurrency |\n\nFor exact input/output schemas, run `tools/list` via MCP Inspector or check `src/tools.ts`.\n\n---\n\n## 📋 Prerequisites\n\n- **Node.js ≥ 18** (uses global `fetch` and `AbortSignal.timeout`)\n- npm\n- *(optional)* an [NCBI API key](https://www.ncbi.nlm.nih.gov/account/settings/) — raises the rate limit from 3 req/s to 10 req/s\n\n---\n\n## 🔑 Getting an NCBI API key (optional but recommended)\n\nWithout a key, NCBI limits you to **3 requests/sec**. With a free personal key, the limit goes up to **10 requests/sec** — noticeable when running `batch_process` or large `search` paginations.\n\n1. Create / sign in to an NCBI account: <https://account.ncbi.nlm.nih.gov/>\n2. Open **Account settings** (top-right menu → *Account settings*) → scroll to **API Key Management** at the bottom of the page.\n   - Direct link: <https://account.ncbi.nlm.nih.gov/settings/> (look for \"API Key Management\")\n3. Click **Create an API Key**. A 36-character hex string is generated immediately.\n4. Copy that string and put it in the `NCBI_API_KEY` env var in your `claude_desktop_config.json` (see the Claude Desktop section below).\n\nThe key is tied to your NCBI account; revoke or rotate it any time from the same page. Don't commit it to git or share it — it's effectively your identity on the E-utilities API.\n\n> 📚 Official policy: <https://support.nlm.nih.gov/kbArticle/?pn=KA-05317>\n\n---\n\n## 🚀 Installation\n\n### Easiest: MCP Bundle (.mcpb) for Claude Desktop\n\nDownload [`pubmed-mcp-server.mcpb`](https://github.com/masa-med-ai/pubmed_mcp_server2/raw/main/pubmed-mcp-server.mcpb) from this repo and **double-click it** (or drag it onto Claude Desktop → Settings → Extensions). Claude Desktop installs the server with all dependencies bundled — no Node.js setup, no config-file editing. You can optionally enter an NCBI API key in the extension settings to raise the rate limit from 3 to 10 requests/sec.\n\nTo rebuild the bundle from source:\n\n```bash\nnpm install && npm run build\nnpm prune --omit=dev\nnpx -y @anthropic-ai/mcpb pack . pubmed-mcp-server.mcpb\n```\n\n### Via npm\n\nThe server is published on npm as [`pubmed_mcp_server2`](https://www.npmjs.com/package/pubmed_mcp_server2). For Claude Desktop you don't need to install anything manually — `npx -y pubmed_mcp_server2` will fetch and run it.\n\nIf you'd rather build from source (development):\n\n```bash\ngit clone https://github.com/masa-med-ai/pubmed_mcp_server2.git\ncd pubmed_mcp_server2\nnpm install\nnpm run build      # produces dist/index.js\n```\n\n### Smoke test (optional)\n\n```bash\n# From a clone:\n( echo '{\"jsonrpc\":\"2.0\",\"id\":0,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"test\",\"version\":\"1.0\"}}}'\n  echo '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'\n  echo '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}'\n  sleep 1\n) | node dist/index.js\n\n# Or directly from npm:\nnpx -y pubmed_mcp_server2\n```\n\nThe server should list all 10 tools.\n\n---\n\n## 🖥️ Claude Desktop configuration\n\nEdit (create if missing):\n\n- **macOS** — `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows** — `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n### Recommended (via npm)\n\n```json\n{\n  \"mcpServers\": {\n    \"pubmed\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"pubmed_mcp_server2\"],\n      \"env\": {\n        \"NCBI_API_KEY\": \"\"\n      }\n    }\n  }\n}\n```\n\n### Alternative (from a local clone)\n\n```json\n{\n  \"mcpServers\": {\n    \"pubmed\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"/ABSOLUTE/PATH/TO/pubmed_mcp_server2/dist/index.js\"\n      ],\n      \"env\": {\n        \"NCBI_API_KEY\": \"\"\n      }\n    }\n  }\n}\n```\n\nNotes:\n- Set `NCBI_API_KEY` to your key, or remove the env block entirely if you don't have one. With a key the rate limit goes from 3 req/s → 10 req/s.\n- **Windows users**: if `npx` is not on PATH inside Claude Desktop, use the full path to `npx.cmd` (e.g. `C:\\\\Program Files\\\\nodejs\\\\npx.cmd`).\n- **macOS + nvm**: if Claude Desktop can't find `npx`, replace `\"command\": \"npx\"` with the absolute path (e.g. `/Users/you/.nvm/versions/node/v20.x.x/bin/npx`). Claude Desktop's PATH may not include nvm shims.\n- For the local-clone variant, use the **absolute path** to `dist/index.js` and run `npm run build` first.\n- **Fully quit and relaunch** Claude Desktop after editing (Cmd+Q on macOS).\n\n### Logs\n\n```bash\ntail -f \"$HOME/Library/Logs/Claude/mcp-server-pubmed.log\"\n```\n\n---\n\n## 💻 Claude Code configuration\n\n```bash\nclaude mcp add pubmed -- npx -y pubmed_mcp_server2\n\n# With an NCBI API key:\nclaude mcp add pubmed -e NCBI_API_KEY=your_key -- npx -y pubmed_mcp_server2\n```\n\nAdd `--scope user` to make it available in every project. Run `/mcp` inside Claude Code to confirm the server is connected.\n\n---\n\n## 🛠️ MCP Inspector\n\n```bash\n# Run the published package directly:\nnpx @modelcontextprotocol/inspector npx -y pubmed_mcp_server2\n\n# Or inspect a local build:\nnpx @modelcontextprotocol/inspector node /ABSOLUTE/PATH/TO/dist/index.js\n```\n\n---\n\n## 📦 Project structure\n\n```\nsrc/\n├── index.ts          # stdio entry point — registers tools, connects transport\n├── tools.ts          # 10 MCP tool definitions (zod schemas + handlers)\n├── pubmed-client.ts  # NCBI E-utilities / iCite / ID-Converter client (XML parsing, 429 retry, timeouts)\n└── ris-exporter.ts   # Minimal RIS format generator\n```\n\nThe server is **stateless** — every request creates fresh state. Safe for concurrent invocations.\n\n---\n\n## 🤝 Sibling project\n\nA remote, OAuth-protected variant deployed on Cloudflare Workers lives at:\n👉 [masa061580/pubmed-mcp-remote-Oauth-](https://github.com/masa061580/pubmed-mcp-remote-Oauth-)\n\nBoth servers expose the **same 10 tools**. The remote variant doesn't yet return the iCite metrics or `include_references` of `get_citation_counts`; the other schemas are identical, so client prompts/workflows are portable between them.\n\n---\n\n## 📚 NCBI Compliance\n\nThis server respects NCBI E-utilities guidelines:\n- Sends `tool` and `email` parameters on every request\n- Honors rate limits (3 req/s without key, 10 req/s with key)\n- Uses POST for large ID lists (`efetch`)\n- Retries 429 with exponential backoff (max 3 attempts)\n- 30s `AbortSignal.timeout` on every fetch\n\nPlease supply your own `NCBI_API_KEY` for production use and update `email`/`tool` in `src/pubmed-client.ts` to identify your deployment.\n\n---\n\n## 📝 License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}