Skip to content
LangChain

clinical codes mcp for LangChain

io.github.mrfentmen/clinical-codes-mcp

Look up LOINC lab codes, ICD-10-CM diagnoses and condition names from the NIH Clinical Tables API.

client:LangChain transport:stdio runtime:npm

Install clinical codes mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

clinical codes mcp in other clients