local delegate for LangChain
io.github.zahirinatzuke/local-delegate
Delegate mechanical text tasks to a local OpenAI-compatible LLM to save Claude quota.
client:LangChain
transport:stdio
runtime:pypi
Install local delegate in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"local-delegate": {
"transport": "stdio",
"command": "uvx",
"args": ["local-delegate-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs