AgentCost for LangChain
tech.agentcost/mcp
Live prices, cost estimates and retirement dates for 4,100+ LLMs. Remote, no key needed.
client:LangChain
transport:streamable-http
tools:8
Install AgentCost in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://agentcost.tech/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs