Skip to content
LangChain

SentimentFX for LangChain

org.sentimentfx/market-sentiment

FinBERT news sentiment and price history for 42 crypto, FX, stock, ETF and commodity tickers.

client:LangChain transport:streamable-http tools:6

Install SentimentFX in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "market-sentiment": {
            "transport": "streamable_http",
            "url": "https://api.sentimentfx.org/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

SentimentFX in other clients