Download paper or thesis
article_downloadDownload a selected article or dissertation by DOI, OpenAlex ID, or Anna's Archive hash, resolving an open PDF or TEI XML and returning the host file path.
Instructions
Get a selected work using exactly one of doi, openalex_id or hash. A DOI or W ID can be downloaded directly without a separate search. A no-DOI dissertation uses its OpenAlex W ID. Auto resolves a hosted or direct open PDF before eligible Anna's Archive DOI fallback; an AA hash selects that exact file. Explicit provider, version or location_id constrains the copy. Hosted content uses OpenAlex allowance. Verified local copies are reused. Returns the absolute path on this MCP server's host, bytes and source; share that path only when the client can access it. A success is required before claiming delivery.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "article_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | No | DOI, doi: identifier or https://doi.org/ URL. Supply exactly one of doi, openalex_id or hash | |
| hash | No | 32-character MD5 hash or Anna's Archive /md5/ page URL. Supply exactly one of doi, openalex_id or hash | |
| title | No | Optional title override for the saved filename | |
| format | No | Optional filename extension such as pdf. Inferred when omitted; does not convert the file | |
| version | No | Optional strict version: published, accepted or submitted. Unknown-version hosted PDFs cannot satisfy an explicit version | |
| artifact | No | pdf (default) or tei_xml for structured OpenAlex full text. Hosted content requests consume the OpenAlex allowance. File extensions do not convert content | |
| provider | No | auto (default), openalex or anna. Auto can use a hosted PDF, open repository or publisher PDF, then Anna's Archive. An explicit provider constrains fallback | |
| location_id | No | Exact location ID from article_details. Copy it unchanged to request only that copy | |
| openalex_id | No | OpenAlex W ID or work URL, including a dissertation without a DOI. Supply exactly one of doi, openalex_id or hash | |
| timeout_seconds | No | Total operation timeout in seconds, including retries. Defaults to 1800; maximum 86400 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Provider that supplied this result | |
| next_args | No | Arguments to replay for the next passage | |
| openalex_id | No | Canonical OpenAlex W ID, usable by article_download | |
| details_args | No | Arguments to article_details | |
| download_args | No | Arguments to article_download for this selected work or copy | |
| next_search_args | No | Provider-pinned article_search arguments for the next page |