Skip to content
LangChain

codeweave for LangChain

io.github.semihkayan/codeweave

Save tokens while coding — your AI agent gets structured code context, not file dumps.

client:LangChain transport:stdio runtime:npm

Install codeweave in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

codeweave in other clients