Hathitrust for LangChain
io.github.pipeworx-io/hathitrust
HathiTrust Bibliographic API MCP.
client:LangChain
transport:streamable-http
Install Hathitrust in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hathitrust": {
"transport": "streamable_http",
"url": "https://gateway.pipeworx.io/hathitrust/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs