Get z-library download URL
zlib_get_download_urlGet a temporary direct download URL for a book by providing its id and hash from a search result. Use it immediately, as the link expires and consumes one daily download credit.
Instructions
Get a direct download URL for one book. Requires the "id" and "hash" from a zlib_search result. The link is short-lived and tied to the session that fetched it — use it right away, never cache or reuse it. Fetching a link consumes one unit of the account's daily download allowance (see zlib_limits). This server cannot save files to disk: set the ZLIB_DOWNLOAD_DIR environment variable in the MCP client config to a directory you want downloads written to, then restart the server to enable zlib_download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | The "hash" field from the same zlib_search result. Must match the book_id. | |
| book_id | Yes | The "id" field from a zlib_search result. |