Skip to content
LangChain

ipwhois mcp for LangChain

io.github.mrfentmen/ipwhois-mcp

IP address lookup with location and network details. No key required.

client:LangChain transport:stdio runtime:npm

Install ipwhois mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

ipwhois mcp in other clients