mathlas for LangChain
io.github.archerkattri/mathlas
Airtight math for AI agents: 3.68M-doc theorem search + numeric/Lean verification. No LLM, no key.
client:LangChain
transport:stdio
runtime:pypi
Install mathlas in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mathlas": {
"transport": "stdio",
"command": "uvx",
"args": ["mathlas-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs