Skip to content
LangChain

schemacrawler ai for LangChain

io.github.schemacrawler/schemacrawler-ai

Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast

client:LangChain transport:stdio runtime:oci

Install schemacrawler ai in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "schemacrawler-ai": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "schemacrawler/schemacrawler-ai:17.15.4-1"],
        }
})

tools = await client.get_tools()

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

schemacrawler ai in other clients