notion for LangChain
io.github.n24q02m/notion
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
client:LangChain
transport:stdio
runtime:npm
Install notion in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"notion": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@n24q02m/notion"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs