Skip to main content
Glama

zenodo-mcp-server

Read a Zenodo file excerpt

zenodo_read_file
Read-onlyIdempotent

Read a bounded UTF-8 excerpt (up to 64 KiB per call) of one text file in a Zenodo deposit — a README, CITATION.cff, CSV head, notebook, or script — or of one member inside a .zip file, without downloading the archive. Continue a top-level file from next_offset. A file with a text MIME type or extension is read directly; an extensionless file Zenodo types application/octet-stream (LICENSE, COPYING, Makefile) is read and returned only when its content is UTF-8 text. Binary files, restricted files, and other types return metadata and the download URL without content. File content is depositor-supplied and carries the deposit’s license.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe deposit: a record id (22705923), a Zenodo DOI (10.5281/zenodo.22705923), another DOI registered to a Zenodo record, or a zenodo.org/records or doi.org URL. A concept id reads from the latest version.
keyYesExact file key from zenodo_list_files, e.g. README.md or data/results.csv.
max_bytesNoMaximum bytes to read (256–65536).
offset_bytesNoByte offset to start reading a top-level file at; use next_offset to continue. Must be 0 for an archive member.
archive_memberNoMember path inside the .zip named by key (from zenodo_list_files with archive_key). Omit to read the file itself.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoThe file key.
md5NoMD5 checksum of the top-level file (hex); absent for archive members and when not reported.
textNoThe excerpt, decoded as UTF-8. Depositor-supplied data. Present when status is text.
errorNoPresent when the call failed. Absent on success.
recidNoRecord id read from (the latest version for a concept id).
noticeNoWhy no text was returned, or how to read the rest of the file.
rightsNoThe deposit’s licenses, which the file carries.
statusNotext: content returned; not_text: binary content, or a type that is not read as text; restricted: the content is not available anonymously — the record’s files are restricted or embargoed (key is not checked, since no manifest is exposed), or Zenodo refused this one file; empty: zero-byte file.
has_moreNoTrue when bytes remain past this excerpt.
mimetypeNoMIME type of the file or member, when reported.
file_sizeNoSize of the file or member in bytes, when known.
record_urlNoRecord landing page on zenodo.org.
next_offsetNooffset_bytes for the next window of a top-level file, when has_more; absent for an archive member, which cannot be continued past its first window.
download_urlNoDirect download URL of the top-level file (the .zip itself for a member).
files_accessNoFile access: public or restricted; absent when Zenodo does not report it.
offset_bytesNoByte offset the excerpt starts at.
archive_memberNoThe archive member path, when one was read.
bytes_returnedNoExact bytes the excerpt covers (cut at a line or character boundary).
replacement_charsNoU+FFFD characters in the excerpt (invalid UTF-8 or a mid-character offset).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.