Skip to content
LangChain

IP Country & Network Lookup (DB-IP Lite) for LangChain

io.github.pcp183/ip-geo

IPv4/IPv6 to country and ASN/organisation (DB-IP Lite, CC BY 4.0), batch of 50. x402.

client:LangChain transport:streamable-http tools:1

Install IP Country & Network Lookup (DB-IP Lite) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ip-geo": {
            "transport": "streamable_http",
            "url": "https://ip-geo-production.up.railway.app/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

IP Country & Network Lookup (DB-IP Lite) in other clients