EDI 834 MCP
This MCP server lets Claude validate, compare, summarize and explain HIPAA X12 834 benefit enrollment files locally, with optional source-system fix guidance.
Validate an 834 file against the 005010X220A1 standard and carrier companion-guide profiles, returning rule IDs, severities, segment positions, plain-English messages and fixes.
Compare two files (e.g. last week vs this week) to catch added/missing members, dropped coverages, terminations and tier or plan changes.
Summarize a file without PII: sender, payer, file type, member counts, actions, coverage lines and tiers.
Explain any 834 code or list a whole code table (relationship, maintenance type, coverage level, etc.).
Get Workday guidance: step-by-step Cloud Connect for Benefits 834 V2 setup, and pick the right transmission service from carrier requirements.
See where to fix issues by setting
platformtoworkday_ccb_834_v2oremployee_navigator.Show the default profile baseline that carrier profiles can override.
Stay private: runs locally, reads only inside
EDI_834_DIR, masks PII by default, and is read-only.
Validates, compares, and summarizes HIPAA X12 834 benefit enrollment files exported from ADP, helping catch enrollment errors before carrier submission.
Supports HIPAA X12 834 benefit enrollment files from SAP SuccessFactors, enabling validation, comparison, and summary of benefit enrollments before they reach carriers.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EDI 834 MCP Validate outbound/acme_health_20260105.edi against the Acme profile"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EDI 834 MCP
Catch benefit enrollment errors before they reach the carrier.
Try the validator in your browser: no install, no account. Your file is checked on your own device and never uploaded.
U.S. employers send employee health, dental, vision and other benefit enrollments to insurance carriers as HIPAA X12 834 files. When a file has errors, the carrier rejects records or enrolls people wrongly. Workers often find out at the pharmacy or the doctor's office that their coverage is missing.
This MCP server lets Claude check 834 files the way an experienced benefits integration analyst would, locally, on your machine:
Validate a file against the 005010X220A1 standard and your carrier's companion-guide rules: 74 rules, each with a plain-English message and a fix.
Compare this week's file with last week's to catch dropped dependents, unintended terminations and tier changes before the carrier processes them.
Summarize what a file will do: adds, changes, terminations, coverage lines and tiers.
Explain any 834 code (relationship, maintenance type, coverage level...).
It works with 834 files from any system: Workday, Employee Navigator, ADP, UKG, Oracle, SAP SuccessFactors or in-house payroll. For Workday and Employee Navigator, it also tells you where in that system to fix each problem, and for Workday it guides the connector setup.
Privacy by design
834 files contain names, Social Security numbers, birth dates and addresses.
Runs locally. No network calls. Files never leave your machine.
One folder only. The server reads files only inside the folder you set in
EDI_834_DIR. Paths outside it are refused.Masked by default. Results identify members as
Member #12 (subscriber …1234, Child). Names appear only if you ask withshow_pii. SSNs and birth dates are never returned.Read-only. The server never edits or sends files.
See SECURITY.md.
Related MCP server: EDI MCP Server
Tools
Tool | What it does |
| Envelope, segment, element-length, header, member, address and coverage checks with rule IDs, severities, segment positions and fixes. Accepts a carrier profile. |
| Differences between two files, with full-file awareness: anyone missing from a replacement file is flagged as a potential termination. |
| Counts by action, coverage line and tier, plus sender, payer, file type and date. No PII. |
| Meaning of any code, or a whole code table. |
| Step-by-step setup of Workday's Cloud Connect for Benefits: ANSI X12 834 V2 connector, with pitfalls. |
| Picks the right 834 V2 transmission service from the carrier's requirements. |
| The baseline settings a carrier profile can override. |
The full rule list is in docs/rules.md.
Web UI
Prefer a screen to a chat? The same validator runs as a web page. Use it online at https://hmzarshad-sys.github.io/edi-834-mcp/, or run it yourself:

npm run ui # opens on http://localhost:8834Drop in an 834 file to validate it, compare two files, or look up a code. Every member record is listed with what the file says about it (relationship, change type, coverages and dates) and whether it is correct or has issues. The File tab shows every segment with its loop, highlights the ones with problems and explains each element; you can edit the file, validate your changes, fix count and control-number errors automatically, and download the corrected file or a JSON export. It works with 834 files from any system. Pick Workday CCB 834 V2 or Employee Navigator as the source system to also see where in that system to fix each finding. The page validates files in your browser: the local server only serves the page and never receives your files.
To get one self-contained HTML file you can open offline or share with your team:
npm run build:ui # writes dist/edi-834-validator.htmlInstall
Requires Node.js 18+.
git clone https://github.com/hmzarshad-sys/edi-834-mcp.git
cd edi-834-mcp
npm install
npm testClaude Code
claude mcp add edi-834 -e EDI_834_DIR="/path/to/your/834/files" -- node /absolute/path/to/edi-834-mcp/src/index.mjsClaude Desktop
Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"edi-834": {
"command": "node",
"args": ["/absolute/path/to/edi-834-mcp/src/index.mjs"],
"env": { "EDI_834_DIR": "/path/to/your/834/files" }
}
}
}Restart Claude Desktop after saving.
Use it
"Validate outbound/acme_health_20260105.edi"
"Compare last week's Acme file with this week's. Did anyone lose coverage?"
"Summarize the dental file we're sending Friday"
"What does coverage level E1D mean?"
Example finding:
{
"severity": "error",
"rule": "TERM-NO-END",
"segment": { "position": 41, "id": "HD" },
"message": "Member #7 (subscriber …4821, Self), Health: termination (HD01=024) without a benefit end date (DTP*349).",
"fix": "Send DTP*349 with the last day of coverage; without it the carrier cannot terminate correctly."
}Workday: Cloud Connect for Benefits 834 V2
If your files come from Workday's Cloud Connect for Benefits: ANSI X12 834 V2 template:
Set up the connector.
"Walk me through setting up the Workday 834 V2 connector for Acme Health"
workday_834_setup_guidecovers the ISU and security group, the integration system, the transmission service, attributes, maps (INS02, DMG03, HD03, HD05), field attributes, population eligibility, overrides and delivery.Pick the transmission service.
"Acme wants a full file every week and terminations reported once. Which service?"
Test with the Debug Service. Launch for a few test workers, download the output from the integration event into
EDI_834_DIR, then:"Validate acme_test.edi as a Workday 834 V2 file with profile profiles/acme.json"
With
platform: "workday_ccb_834_v2", each finding says where to fix it:{ "rule": "HD05", "message": "Member #3 (subscriber …4821, Self), Health: HD05 coverage level \"EE+DP\" is not valid.", "where_to_fix": { "where": "Configure Integration Maps > Loop2300_HD05 (after Maintain Health Care Coverage Targets)", "how": "Map every coverage target to the carrier's code. If a target is missing from the map list, run Maintain Health Care Coverage Targets first." } }Compare runs with
compare_834before every send, especially with full-file services.
The full guide and fix table: docs/workday-ccb-834-v2.md.
Employee Navigator
If your files come from Employee Navigator's 834 EDI configuration, validate with platform: "employee_navigator":
"Validate acme_full.edi as an Employee Navigator file"
Each finding says where to fix it: the Setup, Plans or Fields step of the 834 EDI file, or the employee's or dependent's record.
Employee Navigator sends full files only, so a file that is not a full file is flagged (HDR-FILE-TYPE). Anyone left out of a full file may be terminated, so run
compare_834before every send.
The fix table: docs/employee-navigator.md.
Adding a source system
Each system lives in its own file under src/ (see src/employee-navigator.mjs) and is registered in src/platforms.mjs. A system adds a fix location for every validator rule and, optionally, validation defaults. The MCP tool and the web UI pick it up automatically, and npm test fails if any rule has no fix location. Contributions for UKG, ADP, Oracle and SAP SuccessFactors are welcome from people who use them.
How the 834 is structured
docs/834-structure.md maps every loop and segment of the 834 (heading, member, name, disability and coverage loops) to the rules that check it.
Carrier profiles
Carriers publish companion guides that tighten the standard. Put their rules in a JSON file inside EDI_834_DIR and pass profile_path:
{
"name": "Acme Health companion guide v3",
"allowed_insurance_lines": ["HLT", "DEN", "VIS"],
"allowed_coverage_levels": ["EMP", "ESP", "ECH", "FAM"],
"require_group_number": true,
"require_ssn": true,
"max_retro_days": 60,
"max_future_days": 120,
"dependent_age_limit": 26,
"expected_file_type": "full"
}expected_file_type ("full" or "change") flags a file whose BGN08 says otherwise.
"Validate acme_20260105.edi with profile profiles/acme.json"
See examples/carrier-profile.example.json.
Limits
Checks the 834 structure and the business rules above. It is not a full SNIP Level 1–7 certification engine, and a clean result does not replace carrier acceptance testing.
Code lists cover the standard 005010X220A1 values most employers use; carrier-specific codes are reported as warnings or information, not errors.
Loop detection is built for employer-to-carrier enrollment files (one INS per member, HD loops for coverage).
Contributing
Issues and pull requests are welcome, especially:
carrier companion-guide rules that would make good profile options
real-world errors the validator missed (please describe the pattern; never attach real files)
Run npm test before opening a PR. Every rule needs a test that fires on bad input and stays silent on a clean file.
License
MIT. Copyright (c) 2026 Humza Arshad. See LICENSE.
X12 and ASC X12 are trademarks of the Accredited Standards Committee X12. Workday is a trademark of Workday, Inc. Employee Navigator is a trademark of its owner. This project is not affiliated with or endorsed by X12, Workday or Employee Navigator.
Available Tools
7 toolschoose_workday_834_serviceB
Pick the right CCB ANSI X12 834 V2 transmission service from what the carrier requires (change file or full file, and how terminations must be reported). Exactly one service may be enabled.
Inputs: file_type (required), history_days, terminate_by, terminations.
compare_834A
Compare two 834 files for the same group (e.g. last week's and this week's) and report what changed: members added or missing, coverages added, terminated or missing, tier and plan changes, begin-date and demographic changes. When the new file is a full file (BGN08 RX or 4), members or coverages missing from it are flagged as potential unintended terminations — the most common cause of coverage gaps.
Inputs: new_file (required), old_file (required), show_pii.
explain_834_codeB
Explain an 834 code, or list a whole code table. Tables: relationship, maintenance_type, maintenance_reason, benefit_status, employment_status, insurance_line, coverage_level, date_qualifier, bgn_purpose, bgn_action, gender, id_qualifier.
Inputs: table (required), code.
get_default_profileB
Show the baseline validation settings that a carrier profile can override.
Inputs: no named parameters.
summarize_834A
Summarize an 834 file without PII: sender/receiver, file date, full vs change file, sponsor and payer, member/subscriber/dependent counts, actions (adds, changes, terminations) and coverage lines and tiers.
Inputs: content, file_path.
validate_834A
Validate a HIPAA X12 005010X220A1 (834) benefit enrollment file before it goes to a carrier. Checks the envelope (ISA/GS/ST counts and control numbers), header (BGN, sponsor, payer), every member (relationship, maintenance codes, subscriber ID, SSN structure, birth date, age limits) and every coverage (insurance line, coverage tier, begin/end dates, retro and future dates, terminations without end dates, employee-only tiers with dependents enrolled). Each finding has a rule ID, severity, segment position, plain-English message and fix. Names, SSNs and birth dates are never included unless show_pii=true. Pass a carrier profile (inline or profile_path) to apply companion-guide rules. Set platform="workday_ccb_834_v2" for files from Workday Cloud Connect for Benefits 834 V2: each finding then says where in Workday to fix it (map, attribute, service, security or data).
Inputs: content, profile, platform, show_pii, +3 more.
workday_834_setup_guideA
Step-by-step setup of Workday's "Cloud Connect for Benefits: ANSI X12 834 V2" connector: ISU and security group, creating the integration system, choosing the transmission service, integration attributes, maps, field attributes, population eligibility and overrides, delivery, and the test loop with validate_834 and compare_834. Each section lists common pitfalls.
Inputs: section.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: validation, summarization, comparison, code explanation, setup guidance, service selection, and baseline profile inspection. The Workday-related tools are complementary rather than overlapping, so an agent can select the right one without confusion.
Most names follow a readable snake_case verb_noun pattern, often with the 834 domain marker. The main deviation is workday_834_setup_guide, which is noun-led rather than verb-led, but overall the naming remains predictable and clear.
Seven tools is well-scoped for an EDI 834 validation and Workday setup assistant. Each tool covers a meaningful workflow step without redundant or filler operations.
The surface covers core validation, inspection, comparison, code lookup, and Workday setup guidance well. A minor gap is profile management: agents can inspect default settings and pass profiles, but there is no tool to create, list, or edit carrier profiles.
Maintenance
Related MCP Connectors
Validiert E-Rechnungen (ZUGFeRD/Factur-X, XRechnung) gegen EN 16931 mit Korrekturvorschlägen.
Check ISO 20022 messages (pacs.008, pain.001, camt.053, seev.031) against schema and rules.
Validate XRechnung, Peppol BIS 3 and EN 16931 invoices with KoSIT; explain rules; check auto-repair
Validate XML and e-invoices; write XRechnung, Peppol, ZUGFeRD, KSeF, FatturaPA, Facturae, e-SLOG
Related MCP Servers
- AlicenseAqualityDmaintenanceLet AI agents read, validate and acknowledge EDI documents. Parses raw X12 and EDIFACT interchanges into structured JSON, validates envelope integrity, produces plain-language summaries, and generates 997 Functional Acknowledgments.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to parse, validate, summarize, and convert X12 EDI documents (such as 850 purchase orders and 810 invoices) into structured JSON through callable MCP tools.-
- AlicenseNot gradedqualityDmaintenanceEnables healthcare systems to parse HL7 v2 messages, convert them to FHIR R4 Bundles, validate FHIR resources, and detect/govern PHI with HIPAA, EU MDR, and GDPR compliance evidence for AI governance.MIT
- FlicenseBqualityBmaintenanceEnables local inspection of synthetic ACH files by parsing fixed-width records, validating structure and control totals, explaining findings, masking sensitive fields, repairing derived controls, and generating deterministic test files. All work happens on-device with no bank or network transmission.1086 PyPI-