Skip to content
LangChain

Phone Number Validator: E.164, country and line type, offline for LangChain

io.github.bepolabs/phone-validator

E.164, country and line type, offline, as one MCP tool through Apify

client:LangChain transport:streamable-http

Install Phone Number Validator: E.164, country and line type, offline in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "phone-validator": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com?tools=bepolabs/phone-validator",
        }
})

tools = await client.get_tools()

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

Phone Number Validator: E.164, country and line type, offline in other clients