stn 03 · rec 2026 · alero, home health operations
An MCP Server That Tested a Platform's Assumptions
Built an MCP server that gives Claude guarded, read-only access to a home-health EHR across six offices, then answered 28 of the platform team's questions from the records. Three of the platform's working assumptions did not hold.
sec 01 · brief
The problem
Alero's platform automates office work for a home-health agency with six offices in Florida. It sends physician orders for signature, pulls documents, plans visits from the plan of care and copies records out of the agency's EHR. Several of those features rest on what staff had said about how the EHR files its records.
Checking those accounts against the records was slow work. The EHR shows one office and one record at a time, so a question such as "are visit types different in each office?" needs every office read side by side. Its account is shared with the production robot, so a probe at that scale runs against the live tenant.
The question was whether the platform stands on the records it reads. When the platform team's questions about the agency's records are answered from the records themselves, do the assumptions the platform's features were built on hold?
sec 02 · approach
What I built
I answered each question by handing it to Claude through an MCP server I built over the EHR, and recording the answer as a case. The MCP server gives Claude one tool per read, across all six offices, and refuses anything that could change the shared tenant. Each case keeps the question in the requester's words, the tools it called and the counts it found.
I chose Claude over a set of reports because the questions arrived one at a time and did not repeat. A fixed report answers the question it was built for, while Claude with the MCP tools can join a roster, an order queue and a plan of care in the session the question arrives. The guard and the case record are what make those answers safe to get and possible to check later.
sec 03 · method
Method
01
Give Claude one MCP tool per read
This stage settles how much of the record Claude can reach. The MCP server exposes 35 tools over the EHR's 10 surfaces, 33 of them read-only, and they call 64 of the 106 operations in the read catalogue. A check compares the tools against the catalogue, and a tool that names an operation the recon never declared fails it.
02
Refuse every write before the network
This stage settles whether a model can be let onto a tenant the production robot shares. The transport refuses a request before it is sent unless it is a declared read: a denylist catches the routes that write over GET, and an allowlist admits only the read POSTs the catalogue declares. The 2 write tools stay off unless four conditions hold, run as a dry run first and need a person to confirm. Neither has sent a write.
03
Strip identifiers from every result
This stage settles what patient data reaches the model. Results carry the clinical fields a question needs, while SSN, MBI, HICN and Medicare numbers are stripped unless the caller asks for them. A file is saved to disk under its key and never returned in a result, and a result is capped at 40,000 characters.
04
One login per office
This stage settles whether a question can span the agency. Each of the 6 offices is its own login, saved once and reused, and every tool takes the office it reads. A question across the agency becomes the same reads repeated per office.
05
One case per question
This stage settles whether an answer can be checked after the session ends. Each question opens a case that records the requester's words, the offices read, the tools and scripts it ran and the counts it found. 28 cases were opened between 2026-10-13 and 2026-11-12.
sec 04 · legend
Instruments
legend · tools per surface
legend · guards
legend · delivery
sec 05 · readings
Results
questions answered as cases
28
2026-10-13 → 2026-11-12
tool calls recorded
1,187
28 cases
cases reading all six offices
9 of 28
offices
tools
35
33 read-only · 2 writes
catalogue operations a tool reads
64 of 106
read catalogue
writes sent by the write tools
0
2 write tools
plate 01
What was assumed, what the records hold
| assumed | the records | count |
|---|---|---|
| visit types differ per agency | one key per visit label everywhere | 6 offices · 4 clinics |
| documents belong to the episode | no document shared across episodes | 0 of 4,611 keys |
| order tasks reach the queues | unmarked tasks never do | 0 of 189 in a queue |
| an order stays in its queue | exported OASIS leave for good | 26 of 110 in one log |
Each row is an assumption a platform feature rested on, beside what the records showed when a case read them. This is the answer to the question: three features rested on these four assumptions, and none held as stated.
source
The case records, 2026-10-14 to 2026-11-02, one case per row.
plate 02
Counting the evaluation as a visit
week 1 · 24 plans
all weeks · 104
Share of plan weeks whose visits match the ordered frequency, with the therapy evaluation counted as a visit and without it. One premise settled by a count: the first week only matches when the evaluation counts.
source
The evaluation case, 24 plans and 104 plan weeks in one office. Shares are computed from its counts: 22 and 0 of 24, 92 and 70 of 104.
plate 03
How far each question reached
1 office
2 offices
3 offices
4 offices
5 offices
6 offices
Cases by the number of offices they read, 28 in all. Nine questions needed every office side by side, which is what one login per office makes possible.
source
The case index, 2026-11-12.
sec 07 · findings
What the data said
finding · result
Three of the platform's assumptions do not match the records
Three features rested on assumptions the records contradict. Visit types were thought to differ per agency, and each visit label carries one key in all six offices. Documents were thought to belong to the episode, and 0 of 4,611 attachment keys are shared across episodes, while recert episodes carry none of the start-of-care documents, which sit on the admission. Orders were tracked through the EHR's queues, and an order-type task leaves them when it is unmarked or exported: none of the 189 unmarked tasks is in a queue, and 26 of the 110 orders in one incident log had been exported.
finding · result
The records hold duplicates nobody had counted
103 physician NPIs are shared by 210 records, and only 2 of those records have a patient on service, so activity cannot pick the record to keep. The newest record is the right one in 65 groups and the oldest in 38, and 2 NPIs name two different people. Across offices, 5 clinicians and 29 staff in all hold logins active in two or more offices, and e-mail agrees on 277 of 300 pairs known to be the same person.
finding · result
An evaluation fills the first visit slot
A therapy evaluation counts as the first visit of the plan-of-care frequency. Counting it, week 1 matches the order in 22 of 24 plans; without it, in 0 of 24. Across whole plans, 92 of 104 weeks match with the evaluation counted and 70 without. A related question settled the same way: across 628 tasks in 83 episodes, whether a task's print view holds the document depends on its task type alone.
finding · negative result
The cases found defects in the MCP server
The questions found four defects in the MCP server itself. The staff roster was cached by the active flag alone, so a second office got the first office's roster, and it is still keyed that way. Concurrent task reads mixed attachments across tasks. The deviation list read its patient key from a tab index and returned 1 on every row, and the list cache was stamped before the read, so a read over 60 s re-ran on every page.
sec 08 · forward
Recommendations
01
Change the three features the first finding contradicts: a general visit-type table with a per-office setting for nursing, document lookups by admission, and a status check that treats an exported order as closed.
02
Merge duplicate physician records by the rule the second finding supports (in use, then configured, then more complete, then newest), and use e-mail as the key for staff across offices.
03
Count the evaluation as the first visit slot when plans are turned into visits, per the third finding.
04
Key the staff cache by office and serialise task reads before the next six-office case, per the fourth finding.
sec 09 · notes
Notes
disclosure
The organisation is Alero, named as itself. The EHR, its vendor, the agency, the platform, its orders assistant and the office names are withheld and described in generic terms. No person named in a case appears. Every count on this page is the one the case recorded. No patient data appears.
limits
- Each finding comes from one case, read on the dates that case ran. Several cases read one office only (15 of 28).
- Tool-call counts are as each case recorded them. Calls made by a case's own scripts are not all in the count.
- The catalogue check printed 7 failures on 2026-11-17: 6 operations carry no tool field and 1 breaks the per-tier token rule.
- One case is still open.
- Figures about the platform's own performance are in the cases and left off the page.