Skip to content
LangChain

apogeoapi mcp for LangChain

com.apogeoapi/apogeoapi-mcp

Geographic data API: 250+ countries, 150K+ cities, IP geolocation, 161 live FX rates.

client:LangChain transport:stdio runtime:npm

Install apogeoapi mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

apogeoapi mcp in other clients