openemr-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENFDA_SOURCE | No | Source for FDA data: 'mock' or 'live'. | mock |
| SYMPTOM_SOURCE | No | Source for symptom lookup: 'mock' or 'infermedica'. | mock |
| OPENEMR_DB_HOST | No | MySQL host when OPENEMR_DATA_SOURCE=db. | |
| OPENEMR_DB_NAME | No | MySQL database name when OPENEMR_DATA_SOURCE=db. | |
| OPENEMR_DB_PORT | No | MySQL port when OPENEMR_DATA_SOURCE=db. | 3306 |
| OPENEMR_DB_USER | No | MySQL user when OPENEMR_DATA_SOURCE=db. | |
| OPENFDA_API_KEY | No | Optional API key for higher rate limits when OPENFDA_SOURCE=live. | |
| INFERMEDICA_APP_ID | No | Infermedica Application ID (required if SYMPTOM_SOURCE=infermedica). | |
| OPENEMR_OAUTH_SITE | No | OpenEMR OAuth site identifier (usually 'default') when OPENEMR_DATA_SOURCE=api. | |
| INFERMEDICA_APP_KEY | No | Infermedica Application Key (required if SYMPTOM_SOURCE=infermedica). | |
| OPENEMR_DATA_SOURCE | No | Patient and clinical data source. Options: 'mock' (default), 'db' (MySQL), or 'api' (FHIR R4). | mock |
| OPENEMR_DB_PASSWORD | No | MySQL password when OPENEMR_DATA_SOURCE=db. | |
| OPENEMR_API_BASE_URL | No | OpenEMR FHIR API base URL (e.g., https://your-openemr/apis/default) when OPENEMR_DATA_SOURCE=api. | |
| OPENEMR_OAUTH_PASSWORD | No | OAuth password when OPENEMR_DATA_SOURCE=api. | |
| OPENEMR_OAUTH_USERNAME | No | OAuth username when OPENEMR_DATA_SOURCE=api. | |
| DRUG_INTERACTION_SOURCE | No | Source for drug interactions: 'mock', 'openfda', or 'rxnorm' (deprecated). | mock |
| OPENEMR_OAUTH_CLIENT_ID | No | OAuth Client ID when OPENEMR_DATA_SOURCE=api. | |
| OPENEMR_OAUTH_CLIENT_SECRET | No | OAuth Client Secret when OPENEMR_DATA_SOURCE=api. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| openemr_patient_searchA | Search OpenEMR patients by name. Returns matching patient records with ID, DOB, sex, and city. |
| openemr_appointment_listB | List upcoming appointments for a patient. |
| openemr_medication_listC | Return the current medication list for a patient. |
| openemr_drug_interaction_checkB | Check a list of medications for known drug-drug interactions. Returns severity-classified interactions. |
| openemr_provider_searchB | Search for healthcare providers by specialty and/or location. |
| openemr_fda_adverse_eventsB | Query FDA FAERS database for adverse event reports on a drug. |
| openemr_fda_drug_labelB | Retrieve official FDA drug label including boxed warnings, contraindications, and indications. |
| openemr_symptom_lookupA | Look up possible conditions for a list of symptoms. Returns ranked conditions with urgency level and medical disclaimer. |
| openemr_drug_safety_flag_createB | Create a drug safety flag for a patient (adverse event, recall, warning, contraindication, or custom note). |
| openemr_drug_safety_flag_listA | List all drug safety flags for a patient, optionally filtered by status. |
| openemr_drug_safety_flag_updateB | Update a drug safety flag's severity, description, or status. |
| openemr_drug_safety_flag_deleteB | Delete a drug safety flag by ID. |
| openemr_lab_trendsA | Return longitudinal lab trajectories for a patient (A1c, LDL, eGFR). |
| openemr_vital_trendsB | Return longitudinal vital sign trajectories for a patient (weight, BP systolic/diastolic). |
| openemr_questionnaire_trendsB | Return longitudinal questionnaire score trajectories for a patient (PHQ-9 depression screening). |
| openemr_health_trajectoryA | Aggregate all metric trajectories (labs, vitals, questionnaires) and compute clinical drift alerts for a patient. |
| openemr_visit_prepA | Generate a pre-visit clinical brief for a patient: top risks, medication safety, care gaps, and suggested agenda. Evidence-linked, no hallucination. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shruti-jn/openemr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server