Skip to content
LangChain

Google Sheets MCP for LangChain

io.github.a1-x-tech/mcp-google-sheets

MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.

client:LangChain transport:stdio runtime:npm

Install Google Sheets MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-google-sheets": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@a1-x-tech/mcp-google-sheets"],
        }
})

tools = await client.get_tools()

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

Google Sheets MCP in other clients