Skip to content
LangChain

oeis mcp for LangChain

io.github.mrfentmen/oeis-mcp

Use this MCP server to the OEIS, the encyclop MCP: real tools for real work.

client:LangChain transport:stdio runtime:npm

Install oeis mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

oeis mcp in other clients