Skip to content
LangChain

codebase-synapse for LangChain

io.github.iwiels/codebase-synapse

Indexes codebase into a local knowledge graph with 40+ AI tools and codebase-guard.

client:LangChain transport:stdio runtime:npm

Install codebase-synapse in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "codebase-synapse": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "codebase-synapse"],
        }
})

tools = await client.get_tools()

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

codebase-synapse in other clients