Skip to content
LangChain

jiheng for LangChain

io.github.cqqooq123/jiheng

Exact math execution layer for AI agents: fractions, finance, units, dates. 19 packs.

client:LangChain transport:stdio runtime:pypi

Install jiheng in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

jiheng in other clients