Skip to content
LangChain

API Stock for LangChain

io.github.apistock/api-stock

Generate AI video, images and music. Browse models and prices; OAuth and one prepaid balance.

client:LangChain transport:streamable-http tools:8

Install API Stock in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "api-stock": {
            "transport": "streamable_http",
            "url": "https://api.api-stock.com/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

API Stock in other clients