DEMO: Do NOT upload PHI or real patient data. Contact Redix for production licensing.

MCP Server — AI Agent Tools

Connect any MCP-compatible AI agent to 12 healthcare data conversion tools

Model Context Protocol 12 Tools HIPAA X12 FHIR R4 HL7 v2 RMap PDF Claims
What is MCP?

The Model Context Protocol (MCP) is an open standard that lets AI agents call external tools. Instead of asking a human to upload files and click buttons, an AI agent can directly invoke conversion tools, validate data, and get structured results back — all programmatically.

You
AI Agent
MCP Server
REST API
Redix Engine

You talk to the AI in natural language. The AI calls MCP tools. MCP calls the REST API. The Redix engine does the conversion.

12 MCP Tools

Each tool is a structured function the AI agent can call with typed parameters and get structured JSON results back.

1validate_x12
Validate HIPAA X12 EDI for syntax errors, inter-segment rules, and balancing. Returns pass/fail ruling with error details.
X12 Input Auto-detect TX
2convert_x12_to_fhir
Convert HIPAA X12 EDI to FHIR R4 Bundle. Supports 837, 835, 834, 270/271, 276/277, 278.
X12 → FHIR
3convert_x12_to_rmap
Convert HIPAA X12 EDI to RMap v5 intermediate format. Structured key-value pairs for easy data access.
X12 → RMap
4convert_rmap_to_x12
Generate HIPAA X12 EDI from RMap v5 format. Create compliant EDI transactions from structured data.
RMap → X12
5convert_x12_to_database
Load HIPAA X12 into PostgreSQL session tables. Two-stage pipeline: X12 → RMap → normalized database tables.
X12 → Database
6generate_x12_from_database
Generate HIPAA X12 EDI from database records. Two-stage pipeline: Database → RMap → X12.
Database → X12
7convert_hl7_to_fhir
Convert HL7 v2.x messages (ADT, ORU, ORM, etc.) to FHIR R4 Bundle resources.
HL7 → FHIR
8convert_cda_to_fhir
Convert CDA or C-CDA clinical documents (CCD, discharge summaries, etc.) to FHIR R4 Bundle.
CDA → FHIR
9convert_fhir_to_x12
Convert FHIR R4 Bundle to HIPAA X12 278 Prior Authorization. Supports CMS PAS workflow.
FHIR → X12
10convert_fhir_to_rmap
Convert FHIR R4 Bundle to RMap v5 intermediate format for further processing or analysis.
FHIR → RMap
11generate_claim_pdf
Generate CMS-1500, UB-04, or ADA J400 PDF claim forms from HIPAA 837 files. Auto-detects claim type.
X12 → PDF
12list_supported_formats
Discovery tool. Returns all supported conversion paths, transaction types, and engine capabilities.
Discovery
How to Connect

Add the Redix MCP server to your AI client's configuration. Three popular options:

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

claude_desktop_config.json { "mcpServers": { "redix": { "command": "python3.11", "args": ["-m", "fastmcp", "run", "server.py"], "cwd": "/path/to/redix-mcp-server", "env": { "REDIX_API_BASE": "https://demo.redix.com", "REDIX_API_KEY": "your-api-key" } } } }
Claude Code

Add to your project's .mcp.json file:

.mcp.json { "mcpServers": { "redix": { "command": "python3.11", "args": ["-m", "fastmcp", "run", "server.py"], "cwd": "/path/to/redix-mcp-server", "env": { "REDIX_API_BASE": "https://demo.redix.com", "REDIX_API_KEY": "your-api-key" } } } }
MCP Inspector

Test tools interactively with the MCP Inspector web UI:

Terminal # Install dependencies pip install fastmcp httpx # Launch the inspector REDIX_API_BASE=https://demo.redix.com \ REDIX_API_KEY=your-api-key \ fastmcp dev server.py
Try a Tool

Select a tool, load a sample or paste your own data, and run the conversion — just like an AI agent would.