Skip to content
LangChain

ChemGlyph for LangChain

io.github.random-orbit/chemglyph

Publication-quality chemical structure and reaction rendering for AI agents.

client:LangChain transport:stdio runtime:pypi

Install ChemGlyph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "chemglyph": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["chemglyph"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

ChemGlyph in other clients