Skip to content
LangChain

gs1 for LangChain

com.yaktool/gs1

GS1 element strings, DataMatrix, eight keys, ITF-14 print specs and price-embedded in-store codes.

client:LangChain transport:stdio runtime:npm

Install gs1 in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

gs1 in other clients