Skip to content
LangChain

ip2location geolocation for LangChain

com.mcparmory/ip2location-geolocation

Look up IP address location and geolocation data with country, city, timezone, and ISP details

client:LangChain transport:stdio runtime:pypi

Install ip2location geolocation in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ip2location-geolocation": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["mcparmory-ip2location-geolocation"],
        }
})

tools = await client.get_tools()

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

ip2location geolocation in other clients