EDI 834 MCP
You can validate, compare, summarize, and explain HIPAA X12 834 benefit enrollment files, plus get Workday Cloud Connect setup guidance and default carrier-profile settings.
Validate 834 files against 005010X220A1 and carrier companion-guide profiles, returning rule IDs, severities, segment positions, messages, and fixes, with optional Workday where-to-fix guidance.
Compare two 834 files to catch added/missing members and coverages, potential unintended terminations, tier/plan changes, and date/demographic changes.
Summarize 834 contents without PII: sender/receiver, file date and type, sponsor/payer, member counts, actions, coverage lines, and tiers.
Explain 834 codes or list code tables for relationships, maintenance types, coverage levels, insurance lines, and other standard values.
Walk through Workday Cloud Connect for Benefits ANSI X12 834 V2 setup and choose the correct transmission service.
Show the default validation profile settings that a carrier profile can override.
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.
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: 72 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, ADP, UKG, Oracle, SAP SuccessFactors or in-house payroll. For Workday, it also guides the connector setup and tells you where in Workday to fix each problem.
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: @validatefin/mcp
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.
Install
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.
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
}"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. This project is not affiliated with or endorsed by X12 or Workday.
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 XML and e-invoices (XSD, DTD, RelaxNG, EN 16931, Peppol, XRechnung), explain errors
Validate XRechnung, Peppol BIS 3 and EN 16931 invoices with KoSIT; explain rules; check auto-repair
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
- AlicenseNot gradedqualityDmaintenanceValidates financial documents and payment files (SEPA, UBL/Peppol, camt, ACH) entirely locally.351 npm1MIT
- FlicenseNot gradedqualityCmaintenanceEnables 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