Skip to content
LangChain

diamond mcp for LangChain

io.github.jacobiusmakes/diamond-mcp

Sourced diamond and gemology tools for AI assistants, with 90 encyclopedia entries.

client:LangChain transport:streamable-http runtime:mcpb tools:11

Install diamond mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

diamond mcp in other clients