Skip to content
LangChain

InfoByIP for LangChain

com.infobyip/infobyip

IP, ASN, MAC vendor and phone lookups, plus DNS, domain, email record and blacklist checks.

client:LangChain transport:streamable-http

Install InfoByIP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "infobyip": {
            "transport": "streamable_http",
            "url": "https://api.infobyip.com/mcp",
        }
})

tools = await client.get_tools()

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

InfoByIP in other clients