Skip to content
LangChain

Historical Baseball for LangChain

io.github.pipeworx-io/historical-baseball

historical-baseball -- MLB history from Retrosheet game logs and the SABR Lahman Baseball Database…

client:LangChain transport:streamable-http tools:46

Install Historical Baseball in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "historical-baseball": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/historical-baseball/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

All 46 tools →

Historical Baseball in other clients