Skip to content
LangChain

ParlayAPI for LangChain

io.github.jacobiusmakes/parlayapi

Sports odds, player props and source coverage for AI assistants. Connect with your own API key.

client:LangChain transport:streamable-http runtime:pypi tools:22

Install ParlayAPI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "parlayapi": {
            "transport": "streamable_http",
            "url": "https://parlay-api.com/mcp/http",
        }
})

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

ParlayAPI in other clients