Skip to content
Kanato Masayoshi
Back to profile & projects

Hospital AI infrastructure

EHR-MCP

EHR-MCP is shared infrastructure developed at Keio University Hospital for LLMs and AI agents to retrieve information from electronic health records. I led its launch, development, implementation, and evaluation. I now work with the team to continue developing and improving EHR-MCP and expand its use across the hospital.

Award from the Japan Association for Medical InformaticsBest Practice Award · 2025

Figure 1 from the EHR-MCP paper. SQL connects the hospital data warehouse to EHR-MCP; MCP connects EHR-MCP to the client. The client sends a prompt and available tools to the LLM, which selects a tool, retrieves data, and interprets the response.
EHR-MCP system overview

EHR-MCP connects hospital data to LLMs and AI agents. The diagram shows a client retrieving information through shared MCP tools, from tool selection to response interpretation.

Background and approach

Clinical AI applications need a way to retrieve patient-specific information, such as test results and medication histories, when needed. EHR-MCP provides tools for retrieving information from the hospital database through the Model Context Protocol (MCP). Applications share these tools, so new applications can use the same connection to clinical data.

Evaluating information retrieval

As one part of evaluating the infrastructure, I implemented MCP tools connected to the hospital database and assessed six information retrieval tasks based on infection control workflows. This retrospective study compared results from eight patients’ records with reference answers prepared by physicians. I reported the implementation and evaluation as first author in a 2025 preprint.

Performance was strong on simple retrieval tasks, but errors remained in tasks requiring interpretation of temporal relationships or multiple steps. Analyzing tool selection, argument specification, and interpretation of retrieved information separately helped identify areas for improvement.

This retrospective evaluation was conducted using an actual hospital system. Effects on patient outcomes and time spent on clinical tasks remain to be evaluated.

Conference presentations

Discuss related research or development