Skip to content
LangChain

DataGraph for LangChain

io.github.team-earth/datagraph

Urban intelligence knowledge graph. Structured locality data for civic problem-solving.

client:LangChain transport:streamable-http runtime:npm tools:5

Install DataGraph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "datagraph": {
            "transport": "streamable_http",
            "url": "https://api.datagraph.city/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

DataGraph in other clients