Skip to content
LangChain

ip geo mcp for LangChain

io.github.mrfentmen/ip-geo-mcp

Geolocate an IP address: country, region, city, and ISP. No key required.

client:LangChain transport:stdio runtime:npm

Install ip geo mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

ip geo mcp in other clients