Skip to content
LangChain

Resale Margin Calculator for LangChain

io.github.weromon/resale-margin-mcp

Paid MCP tool for resale fees, net profit, ROI, and break-even price.

client:LangChain transport:streamable-http tools:1

Install Resale Margin Calculator in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "resale-margin-mcp": {
            "transport": "streamable_http",
            "url": "https://resale-margintest.weromonit0.workers.dev/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

Resale Margin Calculator in other clients