photon health for LangChain
io.usefulapi/photon-health
Read Photon Health patients, prescriptions, orders, pharmacies and medications; screen interactions.
client:LangChain
transport:streamable-http
tools:21
Install photon health in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"photon-health": {
"transport": "streamable_http",
"url": "https://photon-health.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
- photonhealth_list_patients
- photonhealth_get_patient
- photonhealth_list_prescriptions
- photonhealth_get_prescription
- photonhealth_list_orders
- photonhealth_get_order
- photonhealth_get_fill
- photonhealth_search_pharmacies
- photonhealth_get_pharmacy
- photonhealth_search_medications
- photonhealth_list_medication_products
- photonhealth_list_medication_packages
- photonhealth_get_medication_by_ndc
- photonhealth_search_medical_equipment
- photonhealth_list_catalogs
- photonhealth_get_catalog
- photonhealth_search_allergens
- photonhealth_list_dispense_units
- photonhealth_get_organization
- photonhealth_list_users
- photonhealth_screen_interactions