Skip to content
LangChain

Medplum MCP by usefulapi for LangChain

io.usefulapi/medplum

Search and read patients, conditions, observations and prescriptions in Medplum.

client:LangChain transport:streamable-http tools:10

Install Medplum MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "medplum": {
            "transport": "streamable_http",
            "url": "https://medplum.usefulapi.io/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Medplum MCP by usefulapi in other clients