Skip to content
LangChain

NexusMCP — Local-First MCP Gateway & Semantic Router for LangChain

io.github.anurag6212/nexusmcp

Local MCP gateway with semantic routing, OS-keychain secrets, mcp.json UI, and PII redaction.

client:LangChain transport:stdio runtime:npm

Install NexusMCP — Local-First MCP Gateway & Semantic Router in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

NexusMCP — Local-First MCP Gateway & Semantic Router in other clients