Skip to content
LangChain

name age mcp for LangChain

io.github.mrfentmen/name-age-mcp

Estimate age and gender from a first name using Agify and Genderize. No key required.

client:LangChain transport:stdio runtime:npm

Install name age mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

name age mcp in other clients