AiGanak LLM Cost for LangChain
io.github.aiganak/llm-cost
LLM API prices, cost estimates, model comparisons and language token tax for GPT, Claude and Gemini.
client:LangChain
transport:stdio
runtime:npm
Install AiGanak LLM Cost in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"llm-cost": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@aiganak/llm-cost-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs