4,500+ servers built on MCP Fusion
Vinkius
NumVerify logo
Vinkius
LangChain logo

How to Use the NumVerify MCP in LangChain

LangChain agents chain real-time phone validation and carrier checks directly into your LLM reasoning pipelines.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

NumVerify MCP on Cursor AI Code Editor MCP Client NumVerify MCP on Claude Desktop App MCP Integration NumVerify MCP on OpenAI Agents SDK MCP Compatible NumVerify MCP on Visual Studio Code MCP Extension Client NumVerify MCP on GitHub Copilot AI Agent MCP Integration NumVerify MCP on Google Gemini AI MCP Integration NumVerify MCP on Lovable AI Development MCP Client NumVerify MCP on Mistral AI Agents MCP Compatible NumVerify MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
LangChain

Connect NumVerify MCP to LangChain

Create your Vinkius account to connect NumVerify to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Run `validate_phone` inside your LangChain chains

The `validate_phone` tool is your first line of defense against garbage signups. Your LangChain agent runs this check to verify country codes, formatting, and validity in real time. Since it runs directly inside your chain, the output flows straight to your next node without any messy manual parsing. You configure the agent to stop execution or flag a lead when a lookup fails. This prevents junk data from polluting your CRM. LangSmith traces every step, showing you exact API latency and token usage for each phone number checked.

Chain carrier lookups with LangGraph state

The `get_phone_carrier` tool retrieves the network operator name for any active number. By linking this tool with LangGraph, your agent can route SMS traffic dynamically. For example, if a number belongs to a specific carrier, your graph routes the message through the cheapest available gateway. Combine this with `get_phone_line_type` to separate landlines from mobile devices. If the tool identifies a landline, the agent skips sending an SMS entirely and routes the task to an email node instead. This saves on delivery costs by avoiding undeliverable texts.

Multi-step routing using this MCP Server

This MCP Server exposes geo-location tools that let your agent make smart routing decisions. The `get_phone_location` tool extracts the city and country details associated with the target number. Your ReAct agent uses this geographic metadata to assign the lead to a regional sales representative. You get a clean, automated pipeline that handles validation, carrier identification, and geographic routing in one run. Setting it up requires minimal boilerplate. Just pass the tools to your agent and let LangChain handle the execution order.

Setup guide

Set up NumVerify MCP in LangChain

Prerequisites

  • Python 3.10+ installed
  • langchain-mcp-adapters + langgraph packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChain BaseTool objects.

  2. 2

    Connect via HTTP transport

    Use MultiServerMCPClient with "transport": "http" pointing to your Vinkius endpoint. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Create a ReAct agent

    Pass the discovered tools to create_react_agent() from LangGraph. The agent automatically routes NumVerify tool calls through the MCP protocol.

  4. 4

    Run with any LLM

    Swap ChatOpenAI for ChatAnthropic, ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.

agent.py
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI

async with MultiServerMCPClient({
    "numverify-mcp": {
        "transport": "http",
        "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
    }
}) as client:
    tools = client.get_tools()

    agent = create_react_agent(
        ChatOpenAI(model="gpt-4o"),
        tools,
    )
    result = await agent.ainvoke({
        "messages": "List recent NumVerify transactions"
    })
    print(result["messages"][-1].content)

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by NumVerify. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about NumVerify MCP in LangChain

Install `langchain-mcp-adapters` and `langgraph` via pip. Initialize the `MultiServerMCPClient` with the server's HTTP URL, call `client.get_tools()`, and pass those tools directly to your agent constructor.
Yes, the agent calls `get_phone_line_type` to check if a number is mobile, landline, or VoIP. The agent uses this output to decide whether to trigger an SMS chain or an email sequence.
LangSmith logs every execution of `validate_phone` and `get_phone_carrier`. You can inspect the exact payload, monitor API response latency, and debug failed validation checks in your production runs.
Yes, you can register multiple servers with the client. Your LangChain agent can query a database, grab a phone number, run validation tools, and write the cleaned records back to your system in a single run.
The server sends phone numbers directly to the API endpoint to fetch carrier and location metadata. Vinkius runs this server inside an isolated, zero-trust sandbox, meaning your raw query data is never cached or stored on the hosting platform.

Start using the NumVerify MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 4 tools

We've already built the connector for NumVerify. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 4 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.