DunkAPI for LangChain
io.github.noahowsh/dunkapi
NBA, WNBA and college basketball data: play-by-play, shot locations, box scores, odds. REST and MCP.
client:LangChain
transport:streamable-http
tools:18
Install DunkAPI in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"dunkapi": {
"transport": "streamable_http",
"url": "https://mcp.dunkapi.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs