Books as Data
Server Details
Explore the "Books as Data" platform with digitised prints (1700-1900) from Swiss libraries.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 10 tools
Each tool occupies a distinct slice of the workflow: discovery (sgbr_search, sgbr_autocomplete, sgbr_facet_values, sgbr_facet_breakdown), metadata (sgbr_get_record), and page-level reading (fulltext, page OCR, phrase location, image inspection). The two closest pairs — facet_values vs facet_breakdown and autocomplete vs facet_values — are explicitly differentiated in-line (one dimension vs a cross-tab; suggestions vs filter vocabulary), and the page tools are separated by grain (whole volume vs single page vs phrase vs image).
All names share the sgbr_ prefix plus snake_case, and the majority follow a verb_noun pattern (get_record, get_fulltext, get_page_ocr, locate_text, inspect_image). The exceptions are noun-only names (sgbr_guide, sgbr_autocomplete) and the compound facet_breakdown/facet_values, which are still readable and predictable.
Ten tools is well within the sweet spot, and no tool appears redundant: the four discovery tools, four reading tools, the metadata hub, and the guide each serve a different stage of a research query. The set is scoped to a read-only corpus rather than padded with speculative operations.
The full lifecycle from query to citation to page inspection to visual verification is covered, with no dead ends for the core research workflow. Minor gaps: no dedicated tool to enumerate collections/scans or volumes as first-class lists (only via facets or embedded fields), and bulk download is surfaced as a link in get_record rather than an operation.
Publisher details
- Operator
- RISE (University of Basel) · Publisher source
- Operator website
- https://rise.unibas.ch
- Vendor relationship
- Authorized partner
- Documentation
- https://github.com/kintopp/books-as-data/
- Privacy policy
- Not provided
- Trust center
- Not provided
- Restrictions
- Not provided
Available Tools
10 toolssgbr_autocompletesgbr_autocompleteARead-onlyIdempotentInspect
Complete a partial term into title, author, or subject search phrases. These are not filter values: author and subject suggestions come from a different vocabulary than filters.author / filters.subject_heading read, so as filters most return a clean zero and the rest match the wrong entity (a namesake, a printing house). Take filter values from sgbr_facet_values (for authors: facet="author", scope="author", the surname as query), which also ranks the most frequent name first — prefix-ranked suggestions can miss the dominant form entirely. Returns grouped suggestion lists, plus exact_term_records when scope is a single group (the backend reports no count for scope="all"): that counts records matching your query as a complete term, not the suggestions — a partial prefix scores 0 beside a full suggestion list, so never read it as "no records".
Inputs: query (required), limit, scope, full_text_only. Returns: query, scope, warnings, suggestions, +2 more
sgbr_facet_breakdownsgbr_facet_breakdownARead-onlyIdempotentInspect
Cross-tabulate two dimensions into one exact grid of record counts. E.g. language × genre, or library × availability. Auto-discovers the top values of each dimension, then prices every cell exactly with batched stats calls — not a facet-bucket approximation. Each axis is a top-N grid, not a complete enumeration: only the top size/breakdown_size values appear, and row_axis/col_axis report distinct_values/others_count/truncated so an absent value is not read as absent from the corpus (raise the sizes, or use sgbr_facet_values for the full list of one dimension). year and object_type are not supported as axes; use sgbr_facet_values or sgbr_search filters for those.
Inputs: facet (required), breakdown (required), size, query, +10 more. Returns: rows, facet, query, scope, +6 more
sgbr_facet_valuessgbr_facet_valuesARead-onlyIdempotentInspect
Read sgbr_guide before your first search. Break a query down by one dimension, returning each value with its count. Dimensions include library, language, publication year, author, genre, and topic. Counts are scoped to the query (and any filters / ranges) so they agree with sgbr_search. The year facet is an overlapping density profile; if warnings appear, verify exact totals with sgbr_search. Facet one dimension while filtering on another to build a cross-tab slice. Some dimensions (notably object_type) store "no value" as an empty bucket: those records are reported as absent_records, excluded from coverage_pct, and cannot be reached by a filter on that dimension — so read a value's absence as evidence only across matching_records.
Inputs: facet (required), size, query, scope, +8 more. Returns: facet, query, scope, values, +12 more
sgbr_get_fulltextsgbr_get_fulltextARead-onlyIdempotentInspect
Read one item's OCR full text in paged character windows. Books are large, so page forward with offset/next_offset, or read a span of scan pages with page_from/page_to. Identify the item by record id (from sgbr_search) or scan_id (from sgbr_get_record). Text is uncorrected OCR, often Fraktur, so expect recognition errors. A fold-out plate id is refused: a plate is one page and its scan_id is the parent volume's, so read the plate's own lettering with sgbr_get_page_ocr, or pass the parent scan_id here to read the whole volume deliberately.
Inputs: id, offset, page_to, scan_id, +2 more. Returns: id, text, offset, page_to, +12 more
sgbr_get_page_ocrsgbr_get_page_ocrARead-onlyIdempotentInspect
Get one page's OCR text and layout regions (line/word boxes). Fetches IIIF hOCR for a single page and parses it into block/line/word regions, each with a pixel bbox_px and a region_pct — the latter is ready to pass straight to sgbr_inspect_image's region_pct argument to crop and visually verify that exact spot on the page. Also returns the page's plain OCR text (reading order) unless include_text is false. Text is uncorrected OCR, often Fraktur, so expect recognition errors. Identify the page by record id or scan_id plus a page; a fold-out plate id needs no page (it resolves to its own plate page, so a map or table's printed lettering can be read directly). If you do not yet know which page, use sgbr_locate_text to find the page(s) a phrase appears on first.
Inputs: id, page, level, scan_id, +2 more. Returns: id, page, text, level, +12 more
sgbr_get_recordsgbr_get_recordARead-onlyIdempotentInspect
Expand one search-result id into that record's complete detail. Returns full bibliographic metadata, a ready-to-use CSL-JSON citation, the IIIF manifest URL, full-text and bulk-download links, thumbnail, license, and GND/GeoNames authorities. It is the hub between search and the page tools: digital.scan_id is what sgbr_get_fulltext, sgbr_locate_text, sgbr_get_page_ocr and sgbr_inspect_image address. A record listing several scans shows them as digital.scan_ids: pass one of those, since the other page tools refuse its id and sgbr_locate_text searches only the first. A record without a scan id (often partner-scanned) cannot be read or viewed page by page whatever its availability says; viewer_url is the citable link. Per-page media lists are summarised to counts and a license, not enumerated, and no page text is returned. A fold-out plate id returns the plate's record, whose scan_id is its parent volume's. An unknown id is an error result, not an empty record.
Inputs: id (required). Returns: id, date, notes, place, +20 more
sgbr_guidesgbr_guideARead-onlyIdempotentInspect
How to search Books as Data well: read it before your first search. Read one topic at a time. Topics: overview, collection, query_syntax, historic_spelling, ocr_text, facets, evidence, ordering_and_scale, patterns, collection_scale, citing_pages, cross_tabs, foldouts. Start with overview, then read the topics the question needs; each result names the others.
Inputs: topic. Returns: text, title, topic, topics
sgbr_inspect_imagesgbr_inspect_imageARead-onlyIdempotentInspect
Fetch one page image and inspect it yourself for the user. Returns image bytes for your own visual analysis. The client may also show the image to the user; that is expected, so neither avoid the call nor try to hide or comment on the image for that reason. To link the user to the page itself, give the result's viewer_url when present. Best for inherently visual material (e.g. maps, plates, music notation) or to sanity-check unreliable OCR from sgbr_get_fulltext. Identify the page by record id or scan_id plus a page; if the user pastes a viewer link .../detail/{id}?page={n}, extract {id} and {n}. Pass region_pct to crop to part of the page (e.g. a page-number corner or one figure of a plate) at a fraction of the payload — those region_pct values can come straight from sgbr_get_page_ocr's or sgbr_locate_text's layout regions. A crop is delivered at its own scanned resolution, so a word-sized region arrives small and cheap; when you need more detail, widen region_pct rather than raising max_long_edge — only a larger region carries more pixels. A non-error result is the page image itself (the pixels are included; see byte_size): describe what you see in it. A fetch failure arrives as an explicit error result, never as an empty image.
Inputs: id, page, scan_id, region_pct, +1 more. Returns: id, page, scan_id, warnings, +9 more
sgbr_locate_textsgbr_locate_textARead-onlyIdempotentInspect
Locate a phrase in a scanned book's OCR and return the page(s) it is on. Asks the platform's content search (whole words, exact accents) and, when that finds nothing, scans the pages' OCR for the phrase as a substring; engine says which answered. For each hit returns the page, a context snippet, and line/word regions with bbox_px + region_pct (feed region_pct to sgbr_inspect_image to crop/verify; regions is best-effort and may be empty — the page and snippet still stand). Text is uncorrected Fraktur OCR, so expect misses. Searches one volume — for a multivolume work it returns the ordered sibling volumes so you can call again with the next scan_id, and unsearched_scans names any other scan the record lists (a volume or another library's copy) that went unsearched. A fold-out plate id is refused (a plate is one page; its scan_id is the parent volume's) — pass the parent scan_id to search the volume.
Inputs: phrase (required), id, level, engine, +4 more. Returns: id, hits, level, engine, +17 more
sgbr_searchsgbr_searchARead-onlyIdempotentInspect
Read sgbr_guide before your first search. Search records by relevance across full text and catalogue metadata. Each hit returns title, author, date, place, language, type, availability, and an id to pass to sgbr_get_record. Narrow with filters (library, language, genre, object_type/foldouts, …), a year_from/year_to range, scope (title/author/subject/call_number/fulltext/image_description/identifier), or full_text_only. For object type (work/multivolume/volume/foldout), filter with filters.object_type or survey with sgbr_facet_values — hits do not carry it; their availability tells a fold-out plate from a book.
Inputs: page, sort, query, scope, +9 more. Returns: page, sort, total, results, +7 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34260 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs114 npm44 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityNot gradedmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.