doiget

io.github.QAtlasHub由 GitHub 帳號 QAtlasHub 發布v0.9.0更新於 Oct 24, 2026

OA-first paper fetcher: DOIs/arXiv IDs to local PDFs + metadata via Open Access APIs.

概覽

AI 產生的概覽

本機 stdio MCP 伺服器兼命令列工具,透過開放取用 API 將 DOI 與 arXiv ID 轉為本機 PDF 與中繼資料。

可以做什麼
依 DOI 或 arXiv ID 抓取論文與中繼資料到本機儲存,來源為 Crossref、Unpaywall、arXiv 等開放取用管道,並可從參考文獻清單檔案批次抓取。檢視已抓取的內容,並查詢目前執行中二進位檔的版本與安裝管道。在不下載 PDF 的情況下驗證參考文獻能否解析,以及離線檢查 .bib 檔案的結構問題。沿引用關係圖擴充檢索結果。
適用情境
適合在文獻回顧、參考文獻核對或書目維護時,讓助理把論文下載到本機資料庫,並且希望檢索只走官方開放取用管道而非付費牆內容。
執行需求
以本機程序在使用者機器上執行(僅桌面端)。可透過預先編譯的簽章二進位檔、Claude Desktop 的 .mcpb 擴充、npm 套件 doiget-cli、Homebrew、Nix 安裝,或以 cargo install doiget-cli 從原始碼編譯(需要 C/C++ 建置工具鏈)。抓取與驗證需要網路存取;儲存根目錄可用 DOIGET_STORE_ROOT 指定,預設為 ./papers。
安裝前請注意
會將 PDF 與中繼資料寫入本機儲存目錄。機構或個人訂閱憑證為選用,且僅在以對應功能編譯的版本中可用;預設二進位檔只抓取開放取用內容。使用者須自行確保有權存取所請求的內容,並遵守各來源的服務條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 doiget,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

doiget

A single-binary CLI + stdio MCP server that turns DOIs and arXiv ids into local PDFs through official, OA-first APIs.

[crates.io] [downloads] [MSRV] [docs.rs] [CI] [codecov] [issues] [License: MIT]

[docs (stable)] [docs (dev/next)] [API (docs.rs)]

Docs: stable = the Zola site (built from main); dev = rustdoc built from next; API = docs.rs (latest published release).

Status: Shipping on crates.io (doiget-core, doiget-cli, doiget-mcp), with sigstore-signed binaries + an SBOM attached to the GitHub Release. Tier 1 + Tier 2 sources, the stdio MCP server, citation-graph expansion, and gated TDM sources are all implemented. Releases are cut by a single signed git tag through the tag-driven pipeline (see ADR-0025); release-plz was retired. See CHANGELOG.md for history and docs/PHASES.md for the phase plan.

Posture

doiget is a general-purpose automation tool for retrieving papers via official publisher APIs. By design, doiget only attempts retrieval through:

  1. Public Open Access sources (default — Crossref, Unpaywall, arXiv).
  2. Credentials the user has personally configured for their own institutional or personal subscriptions (opt-in, compile-time gated).

doiget does not work around any access control mechanism, redistribute papers, host content, operate as a SaaS, or bundle any publisher API keys.

Users are responsible for ensuring they have the right to access the content they request and for compliance with each source's Terms of Service.

See docs/LEGAL.md and docs/SCOPE.md.

Documentation

ReaderEntry point
CLI userThis README, then doiget --help, then docs/CONFIG.md and docs/ERRORS.md for non-trivial flags / exit codes
Agent / MCP host integratordocs/MCP_TOOLS.md + docs/INTEGRATION/README.md
Library user (Rust)docs/PUBLIC_API.md + crates.io rustdoc
ContributorCONTRIBUTING.md → docs/ARCHITECTURE.md → docs/DECISIONS/
Publisher legal teamdocs/LEGAL.md + CONTACT.md
Security researcherdocs/SECURITY.md + docs/PROVENANCE_LOG.md + docs/CAPABILITY.md
Moving a BiblioFetch.jl storedocs/MIGRATION.md + docs/STORE.md + docs/SAFEKEY.md

Architecture: docs/ARCHITECTURE.md Threat model: docs/SECURITY.md Permanent non-goals: docs/SCOPE.md Phase plan: docs/PHASES.md ADRs: docs/DECISIONS/

Installation

doiget ships a single self-contained binary — the Linux build is fully static (musl), so it runs on old glibc / HPC boxes too. Every channel installs the same checksum-verified binary from the signed GitHub Release.

Recommended: use a prebuilt binary (no Rust toolchain, no compiler). The shell / PowerShell installers below download the signed release binary directly. cargo install (further down) instead compiles from source and therefore needs a working C/C++ build toolchain — see that section for the per-platform requirements.

Shell installer (Linux / macOS)

sh
curl -fsSL https://raw.githubusercontent.com/QAtlasHub/doiget/main/scripts/install.sh | sh

Installs to ~/.local/bin (override with DOIGET_INSTALL_DIR); pin a version with DOIGET_VERSION=0.6.0. The script verifies the published SHA-256 sidecar before installing.

PowerShell installer (Windows)

powershell
irm https://raw.githubusercontent.com/QAtlasHub/doiget/main/scripts/install.ps1 | iex

Upgrading. Re-run the installer. It says which version it replaced and leaves a doiget.install.json beside the binary. doiget never checks for updates by itself (ADR-0015). To see which binary is actually running, including the one an MCP config names by path, use doiget capabilities (build) or the doiget_health tool. Both report the version, the channel, the install method and that method's update command. doiget version --check compares with the latest release when you ask. A Claude Desktop .mcpb extension is never updated automatically; install the new .mcpb from the latest release.

From crates.io (Rust toolchain — compiles from source)

The published crate is doiget-cli (it produces the doiget binary). cargo install doiget does not work — there is no crate by that bare name:

sh
cargo install doiget-cli   # installs the `doiget` binary

Because this compiles from source, you need a C/C++ build toolchain (a linker is mandatory — cargo install cannot link a binary without one):

  • Linux: gcc/clang + make (e.g. build-essential).
  • macOS: Xcode Command Line Tools (xcode-select --install).
  • Windows: either the Visual Studio Build Tools with the "Desktop development with C++" workload (provides link.exe), or a MinGW-w64 toolchain used via the GNU target (rustup toolchain install stable-x86_64-pc-windows-gnu + cargo +stable-x86_64-pc-windows-gnu install doiget-cli).

If you don't have (or don't want) a build toolchain, use one of the prebuilt installers above — they need no compiler.

npm / npx — one line in an agent config

sh
npx -y doiget-cli serve      # MCP server, no install stepnpm install -g doiget-cli    # or put `doiget` on PATH

The package is doiget-cli and the command it installs is doiget — the same shape as cargo install doiget-cli, which is where the name comes from. npm refuses the unscoped name doiget as too similar to the unrelated giget, and matching the crate turned out to be the better answer regardless: one name for the tool on both registries.

The npm packages carry the same signed release binaries as optionalDependencies — npm resolves the one matching your platform, and there is no postinstall download, so this works under --ignore-scripts and through a corporate registry mirror. npm view doiget version tells you what is published; the packages ship from tagged releases, so a very new commit may be ahead of them.

Homebrew

sh
brew tap QAtlasHub/doiget https://github.com/QAtlasHub/doigetbrew install doiget

The tap lives in this repository rather than a separate homebrew-doiget, which is why the tap line carries an explicit URL. A dedicated tap repo would shorten it to brew tap QAtlasHub/doiget; the formula would move across unchanged.

Formula/doiget.rb installs the same signed release binary the GitHub Release publishes, pinned by the sha256 from that release's own .sha256 asset — the file the shell installer verifies against, so the two channels cannot disagree about what they installed. It is generated by scripts/update-homebrew-formula.sh, never hand-edited, and CI fails if the committed formula is not what the generator produces.

The formula tracks the latest stable release, so it can trail a very new tag by one commit; brew info doiget shows which version it pins.

Claude Code plugin

/plugin marketplace add QAtlasHub/doiget/plugin install doiget@doiget

Reads .claude-plugin/ from this repository's default branch. The plugin's .mcp.json runs npx -y doiget-cli serve, so it needs nothing installed beforehand — npm fetches the wrapper and the one matching platform binary on first run. Until this it ran a bare doiget, which meant the plugin worked only for people who had already installed doiget some other way; that is why it was self-hosted rather than submitted to the Anthropic plugin directory, and why it is now submittable.

Channel status

ChannelStatus
Shell / PowerShell installershipping
GitHub Release binaries (signed, SBOM)shipping
cargo install doiget-clishipping (needs a C linker)
cargo binstall doiget-climetadata ships from 0.9.0: fetches the release binary instead of compiling (Linux x86_64, macOS, Windows x86_64). It does not check the .sha256 sidecars or cosign bundles; the shell installers do
.mcpb Claude Desktop extensionshipping since 0.8.4
MCP Registrylisted
npm / npxdoiget-cli (installs the doiget command); see below for what is published
Claude Code pluginself-hosted marketplace, as above
HomebrewFormula/doiget.rb in this repo; see above for the tap line
Nixnix profile install github:QAtlasHub/doiget builds packages.doiget from source. The flake could not build before 0.9.0: it pinned Rust 1.86 below what the dependencies require, and its version string was stale. The nix workflow now builds it when the flake or lockfile changes, and weekly
.debnot built — low value; most Linux users take the binary or Nix
Dockernot planned — see below

Docker was ranked second in #501 on the grounds that a container is "the only architecture the Tier-3 features can legally be used in". That premise does not hold: ADR-0002 decides that the default published binary contains no TDM source code at all, and an image built from the published binary would ship oa-only,citation like every other prebuilt channel. The architecture the sentence describes is real, and it is served by building from source with --features tdm-<publisher>, which is not a distribution channel. What remains is "a shape enterprises can pin and scan" — worth something, but doiget is a single statically-linked binary, so a container solves no dependency problem here and the existing .sha256 plus cosign bundle already give a pinnable, verifiable artefact.

npm was the one channel whose pipeline was written and whose packages did not exist. npm Trusted Publishing cannot perform a package's first publish — the setting lives under a package's Settings, and there is no Settings page for a package that has never been published — so the release job, which carries no token by design, cannot create them. scripts/bootstrap-npm.sh does the once-only placeholder publish that unblocks it; CONTRIBUTING.md has the runbook.

As of 2026-08-27 the four per-platform packages are published as 0.0.0 placeholders. npm points latest at a package's first publish whatever --tag says, so those placeholders are deprecated — that notice is the only warning until a release moves latest to a real version.

#247 was closed as completed while four of its five channels did not exist; the remaining ones are tracked in #501. Every release asset is cosign-keyless signed (<asset>.cosign.bundle) for optional verification.

Quick start

sh
# Fetch a paper by DOI (Open Access only by default)doiget fetch 10.1103/PhysRevLett.130.200601
# Fetch by arXiv iddoiget fetch arXiv:2401.12345
# Batch fetchdoiget batch refs.txt
# Verify a bibliography's references resolve (no PDF download) — CI gatedoiget verify docs/references.bib --strict
# Lint a .bib for structural issues (no network): missing fields,# blank fields, $$-display-math titles. Read-only and math-aware.doiget lint docs/references.bib
# Inspect what was fetcheddoiget info 10.1103/PhysRevLett.130.200601
# Run as MCP server (stdio)doiget serve

Default features fetch only Open Access PDFs through Crossref / Unpaywall / arXiv. Institutional TDM access (Springer OA, APS Harvest, Elsevier ScienceDirect TDM) is not in the default published binary; it must be opted in at build time per publisher. See docs/SOURCES.md.

Stores written by BiblioFetch.jl

doiget's store format (TOML metadata + PDF files under a configurable store root, docs/STORE.md) began as a format shared with BiblioFetch.jl. That contract is retired (ADR-0060), and the format did not change: point doiget at an existing store (DOIGET_STORE_ROOT=~/papers) and it reads it, preserving the [bibliofetch] table it does not own. doiget defaults to ./papers (ADR-0036).

License

MIT for the doiget source code and binaries (see LICENSE).

The license under which doiget retrieves papers is separate and is determined by each paper's own license, the publisher's API Terms of Service, and the user's own access rights. doiget does not relicense fetched content.

Contact

Takedown requests, security disclosures, and other formal correspondence: CONTACT.md.

來源:README.md,提交 ec4c5e9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.9.0最新Oct 1, 2026
  2. v0.8.13Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分