Skip to content
LangChain

Statpad for LangChain

io.github.statpad-dev/statpad-mcp

Live NFL, college football and Premier League scores, play-by-play and box scores from Statpad.

client:LangChain transport:stdio runtime:npm

Install Statpad in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "statpad-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@statpad/mcp"],
        }
})

tools = await client.get_tools()

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

Statpad in other clients