Skip to content
MCP server

Hathitrust

Gateway tools for looking up HathiTrust digitized-book holdings and full-view copies

Install
Pricing
Freemium
Platforms
API, CLI, self-hosted
Runs
Locally or Remotely
Version
0.2.1
Listing updated
today

Similar MCP servers

About Hathitrust

Hathitrust is a freemium MCP server for knowledge and memory. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://gateway.pipeworx.io/hathitrust/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hathitrust": {
      "url": "https://gateway.pipeworx.io/hathitrust/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Freemium

Free daily allowance on a Pipeworx account; paid credits for higher use.

Prices change. Check pipeworx.io before you buy.

Hathitrust 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.

How AIPoweredBot checks servers