Project Gutenberg MCP for LangChain
io.github.bobbyhouse/project-gutenberg-mcp
Read Project Gutenberg books via MCP. Search, fetch metadata, and retrieve text in passages.
client:LangChain
transport:stdio
runtime:oci
Install Project Gutenberg MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"project-gutenberg-mcp": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "roberthouse224/project-gutenberg-mcp:1.2.0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs