Skip to content
LangChain

Quantral Stock Sentiment for LangChain

com.quantral/sentiment

Stock sentiment scores, monthly recaps and the mentions behind them, from sources Quantral tracks

client:LangChain transport:streamable-http

Install Quantral Stock Sentiment in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "sentiment": {
            "transport": "streamable_http",
            "url": "https://app.quantral.com/api/mcp",
        }
})

tools = await client.get_tools()

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

Quantral Stock Sentiment in other clients