npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@xbghc/zotero-mcp

v1.0.3

Published

Zotero MCP Server for managing reference library

Readme

@xbghc/zotero-mcp

Zotero MCP Server - 通过 MCP 协议管理 Zotero 文献库。

功能

  • 查询文献: 搜索、获取详情、获取全文、按分组/标签过滤
  • 创建文献: 手动创建或通过 DOI/ISBN/PMID 自动获取元数据
  • 管理文献: 更新、删除、添加标签、添加到分组、下载附件
  • 导出引用: 支持 BibTeX、RIS、CSL JSON 等格式

快速开始

1. 获取 Zotero API Key

  1. 登录 zotero.org
  2. 进入 Settings → Security
  3. 记下你的 User ID
  4. 点击 "Create new private key" 生成 API Key

2. 配置 Claude Code

~/.claude/settings.json 中添加:

{
  "mcpServers": {
    "zotero": {
      "command": "npx",
      "args": ["@xbghc/zotero-mcp"],
      "env": {
        "ZOTERO_API_KEY": "your-api-key",
        "ZOTERO_USER_ID": "your-user-id"
      }
    }
  }
}

配置完成后重启 Claude Code 即可使用。

可选配置

Translation Server(DOI 自动获取)

create_item_by_identifier 工具需要 Translation Server 支持。

git clone --recurse-submodules https://github.com/zotero/translation-server.git
cd translation-server
npm install
npm start

服务运行在 http://localhost:1969,然后在 env 中添加:

"TRANSLATION_SERVER_URL": "http://localhost:1969"

环境变量

| 变量 | 必需 | 说明 | |------|------|------| | ZOTERO_API_KEY | 是 | Zotero API 密钥 | | ZOTERO_USER_ID | 是 | 用户 ID | | ZOTERO_GROUP_ID | 否 | 群组 ID(访问群组库时使用) | | TRANSLATION_SERVER_URL | 否 | Translation Server 地址 | | ZOTERO_MCP_CACHE_DIR | 否 | 附件缓存目录 |

开发

npm install
npm run build
npm test

License

MIT