Skip to content
LangChain

inferenceindexer mcp for LangChain

io.github.desmartin01/inferenceindexer-mcp

AI inference pricing for agents: live and historical model prices, provider comparison.

client:LangChain transport:streamable-http runtime:pypi tools:10

Install inferenceindexer mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "inferenceindexer-mcp": {
            "transport": "streamable_http",
            "url": "https://api.inferenceindexer.ai/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

inferenceindexer mcp in other clients