Skip to main content
Glama
Paper Download MCP Server

Paper Download MCP Server

by Oxidane-bot

Paper Download MCP Server

English | 简体中文

MCP server for downloading academic papers by DOI, arXiv ID, or URL.

What You Get

  • paper_download: Download one or more papers (1-50 per call)

  • paper_get_metadata: Get paper metadata without downloading

  • Optional PDF-to-Markdown conversion via to_markdown

Related MCP server: rust-research-mcp

Quick Start (MCP Clients)

Before configuration, make sure uvx is available:

uvx --version

Claude Code

Add as a project-scoped MCP server:

claude mcp add --transport stdio --scope project --env PAPER_DOWNLOAD_EMAIL=your-email@university.edu paper-download -- uvx paper-download-mcp

This writes .mcp.json in the current project. Equivalent config:

{
  "mcpServers": {
    "paper-download": {
      "command": "uvx",
      "args": ["paper-download-mcp"],
      "env": {
        "PAPER_DOWNLOAD_EMAIL": "your-email@university.edu"
      }
    }
  }
}

Codex

Add with CLI:

codex mcp add paper-download --env PAPER_DOWNLOAD_EMAIL=your-email@university.edu -- uvx paper-download-mcp

Equivalent ~/.codex/config.toml snippet:

[mcp_servers.paper-download]
command = "uvx"
args = ["paper-download-mcp"]

[mcp_servers.paper-download.env]
PAPER_DOWNLOAD_EMAIL = "your-email@university.edu"

Claude Desktop

Edit Claude Desktop MCP config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\\Claude\\claude_desktop_config.json

{
  "mcpServers": {
    "paper-download": {
      "command": "uvx",
      "args": ["paper-download-mcp"],
      "env": {
        "PAPER_DOWNLOAD_EMAIL": "your-email@university.edu"
      }
    }
  }
}

Restart Claude Desktop after editing the file.

Configuration

Required

  • PAPER_DOWNLOAD_EMAIL: Required for Unpaywall API usage.

Optional (Advanced)

  • PAPER_DOWNLOAD_OUTPUT_DIR: Global fallback output directory.

In most cases, you do not need PAPER_DOWNLOAD_OUTPUT_DIR. Prefer passing output_dir in the paper_download tool call when you want a specific location.

Legacy env vars are still supported for compatibility:

  • SCIHUB_CLI_EMAIL

  • SCIHUB_OUTPUT_DIR

Tools

paper_download

Download papers with configurable concurrency (default parallel=10). If parallel=1, papers are processed sequentially with a 2-second delay between items. OA-first routing uses OpenAlex and Unpaywall first; CORE is disabled by default in MCP runtime.

Parameters:

  • identifiers (required): list[str], 1-50 items

  • output_dir (optional): target directory (default uses runtime fallback: PAPER_DOWNLOAD_OUTPUT_DIR or ./downloads)

  • parallel (optional): concurrent workers, 1-50 (default 10)

  • to_markdown (optional): convert PDF to Markdown (false by default)

  • md_output_dir (optional): Markdown directory (default <output_dir>/md)

Examples:

paper_download(["10.1038/nature12373"])
paper_download(["10.1038/nature12373", "2301.00001"], output_dir="/path/to/papers")
paper_download(["10.1038/nature12373", "10.1126/science.169.3946.635"], parallel=10)
paper_download(["10.1038/nature12373"], to_markdown=true)

paper_get_metadata

Get metadata quickly (no PDF download).

Parameters:

  • identifier (required): DOI, arXiv ID, or URL

Example:

paper_get_metadata("10.1038/nature12373")

Troubleshooting

PAPER_DOWNLOAD_EMAIL environment variable is required

Set PAPER_DOWNLOAD_EMAIL in your MCP server config.

uvx: command not found

Install uv, then re-run the MCP configuration.

Download path errors

Pass a writable directory with output_dir, for example:

paper_download(["10.1038/nature12373"], output_dir="/absolute/path")

This tool can access papers from multiple sources, including Unpaywall and Sci-Hub. You are responsible for complying with copyright and local laws in your jurisdiction.

License

MIT. See LICENSE.

Available Tools

3 tools
paper_batch_downloadA
Download multiple papers sequentially (1-50 max, 2s delay).

Prioritizes open access sources (Unpaywall, arXiv, CORE) before Sci-Hub.

Args:
    identifiers: List of DOIs, arXiv IDs, or URLs
    output_dir: Save directory (default: './downloads')

Returns:
    Markdown summary with statistics, successes, and failures

Examples:
    paper_batch_download(["10.1038/nature12373", "2301.00001"])
    paper_batch_download(dois, "/papers")

Inputs: identifiers (required), output_dir. Returns: result

paper_downloadA
Download academic paper by DOI, arXiv ID, or URL.

Prioritizes open access sources (Unpaywall, arXiv, CORE) before Sci-Hub.
Sources: Unpaywall (OA), arXiv (OA), CORE (OA), Sci-Hub (last resort)

Args:
    identifier: DOI, arXiv ID, or URL
    output_dir: Save directory (default: './downloads')

Returns:
    Markdown with file path, metadata, source, or error message

Examples:
    paper_download("10.1038/nature12373")  # DOI
    paper_download("2301.00001")  # arXiv ID
    paper_download("https://arxiv.org/abs/2301.00001")  # URL

Inputs: identifier (required), output_dir. Returns: result

paper_metadataA
Get paper metadata without downloading (fast, <1s).

Sources: Unpaywall, Crossref, arXiv APIs
Returns: title, authors, year, journal, OA status, available sources

Args:
    identifier: DOI, arXiv ID, or URL

Returns:
    JSON with metadata fields

Examples:
    paper_metadata("10.1038/nature12373")  # DOI
    paper_metadata("2301.00001")  # arXiv ID

Inputs: identifier (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity: paper_batch_download handles multiple papers sequentially, paper_download handles single paper downloads, and paper_metadata retrieves metadata without downloading. The descriptions clearly differentiate between batch processing, single downloads, and metadata-only operations.

    Naming Consistency5/5

    All three tools follow a perfect verb_noun pattern with consistent snake_case naming: paper_batch_download, paper_download, and paper_metadata. The naming convention is predictable and readable throughout the entire tool set.

    Tool Count3/5

    With only 3 tools, the set feels somewhat thin for a paper download server that could benefit from additional operations like search, citation management, or format conversion. While the core functionality is covered, the scope could be expanded to provide more comprehensive paper management capabilities.

    Completeness4/5

    The tool set covers the essential operations for paper downloading and metadata retrieval well, with clear separation between batch and single operations. A minor gap exists in search functionality (finding papers by keyword/topic) and citation-related operations, but the core download workflow is complete and agents can work effectively with what's provided.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      An MCP server for searching and downloading academic papers from multiple sources including arXiv, PubMed, bioRxiv, and Sci-Hub, designed for seamless integration with large language models like Claude Desktop.
      57
      3,100 PyPI
      3,203
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for academic research that enables paper search across 14 sources, PDF download with multi-provider fallback, metadata extraction, and bibliography generation.
      2
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for searching, downloading, and reading academic papers from multiple sources such as arXiv, Google Scholar, and Elsevier.
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for downloading academic papers from DOI or title, resolving references, and generating citations. Supports batch downloads, multiple mirrors, and optional Unpaywall integration.
      11
      3
      MIT