The shteg.ai MCP Server exposes our real TypeScript clearinghouse scrubber, six-condition settlement gate, 835 ERA reconciliation waterfall, and RFC 8785 attestation verifier over standard MCP JSON-RPC 2.0. Agents propose; deterministic validators dispose.
POST /api/mcpSelect a JSON-RPC 2.0 method or edit the payload directly to test `shteg-mcp-server` against the live endpoint.
// Click "Send JSON-RPC Request" to inspect the live MCP server response.
Every tool executes pure, side-effect-free validation and reconciliation logic in conserving integer cents. No tool can mutate a signed clinical note or originate a live wire.
Evaluates the deterministic 6-condition settlement gate (note_signed_immutable, eligibility_271_fresh, coding_validation, scrubber_clear, reserve_capacity, provider_screening). Returns PASS -> GATED, DEFERRED_TO_DAY_N -> DEFERRED, or FAIL -> HALTED with firstFailed.
Runs the pre-submission X12 837P NCCI PTP, modifier-25, laterality (RT/LT/50), JW/JZ waste, MUE units-of-service, and post-operative global-period claim scrubber.
Parses a raw ANSI X12 835 Electronic Remittance Advice, classifies claim variance (PAID_IN_FULL, PARTIAL, FULL_DENIAL, PLB_TAKEBACK, AMOUNT_NOT_STATED), routes CARCs, plans PLB takebacks, and computes the conserving integer-cent waterfall split (pool -> reserve -> practice residual).
Verifies a synthetic RFC 8785 canonical JSON SHA-256 hash-chained encounter & claim attestation packet ("intact" or "tampered") fail-closed.
Validates a 10-digit NPI against the CMS ISO/IEC 7812 Luhn check-digit algorithm (prefix 80840) and mints deterministic synthetic TEST-SBX- patients and Luhn-valid sandbox NPIs.
Returns the complete Shteg.ai developer API scope allowlist (proving zero money-movement or cross-tenant scopes are issuable to API keys) and the outbound webhook event catalog.
Executes and verifies the RFC 8785 cryptographic WORM attestation chain across all 9 signed compliance & guardrail gates (G3, G4, G8, G9, Condition-6 Enrollment Strict Gate, BSA/AML + OFAC Velocity Gate, IEC 62304 / ISO 14971 / Cures Act §3060(a) Non-Device CDS Gate, and SOC 2 TSC Matrix).
Executes the 3-layer Advanced AI Society / LF Decentralized Trust Proof-of-Control validator (https://advancedaisociety.org/poc/v0.1) over the Shteg Action Interception Gateway trajectory or negative test vectors, and returns the C10 Conformance Statement and Trust-Assumption Disclosure.
Agents can read these URI resources via resources/read to ground their code generation in the ShtegDNA guardrails and scope allowlist.
The 10 machine-checked guardrails governing ShtegMed and the shteg.ai clearinghouse.
Deterministic synthetic clinic and patient specification used for sandbox API keys and MCP evaluations.
The complete resource:verb allowlist and status-only webhook envelope rules.
Point any MCP-compatible coding assistant at the HTTP JSON-RPC 2.0 endpoint or run the local stdio package from packages/mcp-server.
{
"mcpServers": {
"shteg-clearinghouse-sandbox": {
"type": "http",
"url": "https://shteg.ai/api/mcp"
}
}
}{
"mcpServers": {
"shteg-mcp": {
"command": "npx",
"args": ["-y", "@shteg/mcp-server"],
"env": {
"SHTEG_API_BASE_URL": "https://shteg.ai"
}
}
}
}curl -X POST https://shteg.ai/api/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shteg_scrub_claim_837p",
"arguments": {
"payerName": "CMS-MEDICARE",
"serviceDate": "2026-10-15",
"placeOfService": "11",
"totalCharge": 245,
"diagnosisCodes": ["H40.1132", "E11.319"],
"renderingNpi": "1999999907",
"lines": [
{ "lineNumber": 1, "cptCode": "92014", "units": 1, "charge": 165, "diagnosisPointers": [1, 2] },
{ "lineNumber": 2, "cptCode": "92133", "units": 1, "charge": 80, "diagnosisPointers": [1] }
]
}
}
}'