Skip to content
LangChain

scicompute for LangChain

io.github.cloudcorprecords/scicompute

Scientific computation: named tensors, matrix algebra and vector operations, fully local.

client:LangChain transport:stdio runtime:npm

Install scicompute in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "scicompute": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/scicompute"],
        }
})

tools = await client.get_tools()

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

scicompute in other clients