Skip to content
LangChain

sqlike mcp for LangChain

io.github.orifisher2/sqlike-mcp

SQL static analysis & query-equivalence for Postgres, MySQL, SQLite, and SQL Server

client:LangChain transport:stdio runtime:npm

Install sqlike mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

sqlike mcp in other clients