# Hathitrust

> Hathitrust is a freemium MCP server for knowledge and memory. Gateway tools for looking up HathiTrust digitized-book holdings and full-view copies. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, self-hosted
- **Website:** https://pipeworx.io/packs/hathitrust
- **Repository:** https://github.com/pipeworx-io/mcp-hathitrust
- **MCP Registry name:** io.github.pipeworx-io/hathitrust
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-18

## About

The README describes this server as a bridge to HathiTrust's Bibliographic API, covering digitized-book holdings searched by OCLC, LCCN, ISSN, ISBN, HathiTrust item id or catalog record number. Each lookup returns the bibliographic record along with every scanned copy, flagged as either full-view (readable online) or limited (search-only).

The pack exposes three tools: one for identifier lookups, one that fetches a single catalog record with its full metadata, and one that checks whether a readable copy exists and returns reading URLs. Pipeworx hosts the endpoint at gateway.pipeworx.io, and the stdio npm package forwards calls to that same endpoint.

Access is anonymous at a daily cap, with a free Pipeworx account raising the limit. The README says this HathiTrust pack requires an account, so anonymous callers are refused. It is aimed at developers and researchers who want an AI client to check whether a book is available in full view.

## Features

- **Identifier-based holdings lookup:** Finds HathiTrust records and scanned copies from OCLC, LCCN, ISSN, ISBN, item id or record number.
- **Full-view availability check:** Reports whether a readable copy exists, how many copies are readable, and direct reading URLs.
- **Single record retrieval:** Fetches one catalog record with titles, identifiers, publish dates and the record URL.
- **Stdio and hosted transports:** Runs as a remote streamable-http endpoint or as a local npm stdio bridge.

## Good for

- Checking whether a book has a freely readable digitized copy before requesting it
- Pulling bibliographic metadata for a title by ISBN or OCLC number
- Building a reading list of full-view public domain scans for a research project
- Verifying catalog identifiers across library records

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http hathitrust https://gateway.pipeworx.io/hathitrust/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/hathitrust/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hathitrust": {
      "url": "https://gateway.pipeworx.io/hathitrust/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "hathitrust": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/hathitrust/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "hathitrust": {
      "serverUrl": "https://gateway.pipeworx.io/hathitrust/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hathitrust": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/hathitrust/mcp"
    }
  }
}
```

## Tools

- `lookup_by_identifier`: Records and scanned copies for one identifier.
- `get_record`: One catalog record with full bibliographic metadata.
- `check_full_view`: Whether a readable copy exists, with reading URLs.

## FAQ

### Do I need an account to use it?

The README says the HathiTrust pack is account-only, so the gateway refuses anonymous and key-only callers. The general Pipeworx allowance of 50 anonymous calls a day applies to other packs.

### Is the server affiliated with HathiTrust?

No. The README states it is an independent, unofficial integration not endorsed by the upstream provider.

### Which identifiers can I search with?

The tools accept OCLC, LCCN, ISSN, ISBN, HathiTrust item id and catalog record number.

### What does the npm package need to run?

It needs network access, since it forwards every call to the Pipeworx gateway, and it has no offline mode. A Pipeworx API key is optional.

### Is Hathitrust free?

Hathitrust has a free plan, with paid plans for more usage or features.

### How do I add Hathitrust to Claude Code?

Run this command in your terminal: claude mcp add --transport http hathitrust https://gateway.pipeworx.io/hathitrust/mcp

### What are the best alternatives to Hathitrust?

The closest alternatives to Hathitrust are Harvard Art, Smithsonian, Nypl, Trove and Digitalnz.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Harvard Art](https://ai-powered.com/mcp/harvard-art): Harvard Art is a freemium MCP server for knowledge and memory.
- [Smithsonian](https://ai-powered.com/mcp/smithsonian): Smithsonian is a freemium MCP server for knowledge and memory.
- [Nypl](https://ai-powered.com/mcp/nypl): Nypl is a freemium MCP server for knowledge and memory.
- [Trove](https://ai-powered.com/mcp/trove-3): Trove is a freemium MCP server for knowledge and memory.
- [Digitalnz](https://ai-powered.com/mcp/digitalnz): Digitalnz is a freemium MCP server for knowledge and memory.
- [Sciencebase](https://ai-powered.com/mcp/sciencebase): Sciencebase is a freemium MCP server for knowledge and memory.
- [Europeana](https://ai-powered.com/mcp/europeana): Europeana is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/hathitrust
