Quark-Protocol (QXP v1.0)
Quark-Protocol (QXP/1.0 · v1.0.0)
Apache-2.0 Open Protocol, 30 Pure-Static Task/Domain Adapters, 5 Free Offline Compliance & Trade SaaS Killers, Pure-Stdlib CLI/MCP Server & LH-100 Constitutional CI Gate.
UPL & Non-Advisory Disclaimer: Quark-Protocol (
QXP/1.0) and its offlinekillers/utilities provide informational pre-audit checks and declarative engineering parameters only. Nothing in this repository constitutes legal, tax, customs-broker, accounting, medical, or regulatory advice. Regulated sign-offs and statutory filings require independent licensed professionals.Trademark & Independence Notice: Independent alternative; not affiliated with or endorsed by Zonos, FOSSA, Castellum.AI, Avalara, or OneTrust.
Kill Your $500/mo Compliance & Trade SaaS Bill
All 5 offline verifiers in killers/ run 100% locally on Python 3.12+ standard library only (zero API keys, zero network calls, zero third-party runtime dependencies, deterministic SHA-256 verification receipts, ~9.6 ms combined runtime across all 5 sample payloads — see benchmarks/BENCHMARK_REPORT.md). When you need live government/carrier feeds, hardware-attested receipts, or zero-custody escrow clearing, upgrade via --upgrade-live to the Sovereign Live Gateway.
Incumbent SaaS Category | Public 2026 Incumbent Pricing (Verified / Market) |
| Sovereign Live Gateway ( |
Zonos ( |
|
| Live |
FOSSA ( | Free cap at |
| Continuous registry drift monitoring + |
Castellum.AI ( | Custom enterprise quote |
| Real-time |
Avalara Cross-Border ( | Custom quote ( |
|
|
OneTrust Data Mapping ( | Custom quote ( |
| Confidential enclave ( |
(Pricing notes: Zonos and FOSSA caps/rates reflect public pricing pages; annual enterprise ranges for FOSSA, Avalara, and OneTrust reflect public enterprise market estimates; Castellum.AI uses custom enterprise quoting.)
Related MCP server: ComplyEdge TrustLint
1-Line Install & Quickstart (v1.0.0)
Requires Python 3.12+ (pure stdlib; dependencies = [] in pyproject.toml):
curl -fsSL https://raw.githubusercontent.com/pjrpjr/quark-protocol/main/install.sh | shOr run directly from a cloned checkout (or install editable/wheel via pip install .):
git clone https://github.com/pjrpjr/quark-protocol.git
cd quark-protocol
# Health check, constitutional verification & 5-killer benchmark harness
python3 -E -s -B -W error -m quark_cli doctor
python3 -E -s -B -W error -m quark_cli lh100 spec/tda/
python3 -E -s -B -W error -m quark_cli check --strict
python3 -E -s -B -W error examples/verify_all_5_killers.py
# Run all 5 offline compliance & trade SaaS killers
python3 -E -s -B -W error -m quark_cli kill dutyslice killers/dutyslice/sample_input.json --pretty
python3 -E -s -B -W error -m quark_cli kill cleansbom killers/cleansbom/sample_input.json --pretty
python3 -E -s -B -W error -m quark_cli kill clearscreen killers/clearscreen/sample_input.json --pretty
python3 -E -s -B -W error -m quark_cli kill tariffguard killers/tariffguard/sample_input.json --pretty
python3 -E -s -B -W error -m quark_cli kill privacysbom killers/privacysbom/sample_input.json --pretty
# Append --upgrade-live on any killer to attach Sovereign Live Gateway & $49 Crucible routes
python3 -E -s -B -W error -m quark_cli kill dutyslice killers/dutyslice/sample_input.json --upgrade-live --pretty
# Preview cost compression & TDA candidates for any incumbent SaaS (local, zero custody)
python3 -E -s -B -W error -m quark_cli crucible-preview Zonos --monthly-usd 500 --category customs --pretty
# Inspect Proof Graph outcome-trust architecture, Open Protocols & gateway routes (--live fetches live JSON)
python3 -E -s -B -W error -m quark_cli proof-graph
python3 -E -s -B -W error -m quark_cli protocols
python3 -E -s -B -W error -m quark_cli route
python3 -E -s -B -W error -m quark_cli mcpBenchmarks & Sovereign Live Gateway (/proof-graph, /protocols, $49 /crucible)
Local Benchmark & Pricing Report:
benchmarks/BENCHMARK_REPORT.md(~9.6 mscombined latency across all 5 killers,294 msfullLH-100scan across 30 static TDAs,0raw PII echoed).MCP Registry & Discovery Descriptors:
server.json&glama.json.
Configured via spec/gateway_endpoints.json and overridable with QUARK_GATEWAY_URL, QUARK_MCP_URL, or QUARK_CRUCIBLE_URL:
Live MCP Endpoint:
https://raf.fastmesh.dev/mcpAgent Discovery (
llms.txt):https://raf.fastmesh.dev/llms.txtSaaS Slaughter Bounty Crucible (
$49):https://raf.fastmesh.dev/crucible(API:/v1/crucible/bounties)Reality Proof Graph Explorer:
https://raf.fastmesh.dev/proof-graph(JSON:https://raf.fastmesh.dev/v1/proof-graph)Open Protocols Console (
M-RCP-07,M-RCP-35,V2-OP-10):https://raf.fastmesh.dev/protocols
Protocol Architecture (QXP/1.0)
16 Frozen Meta-Quark Axioms (
spec/mq16.json): Four immutable families (MQ-01..16) covering sovereign charters & hard wait clocks (Q1), zero-custody clearing & escrow (Q2), hardware truth & decoupled sign-off (Q3), and shared physical/orbital/logistics capacity (Q4).30 Pure-Static TDAs (
spec/tda/): Covering all 4 generations of the36-RAF V2.0closed catalytic network (Gen 0$13,600+Gen 1$22,700+Gen 2$18,200+Gen 3$13,600=$68,100, supporting 17 Wave-1 orthogonal cores$65,000for$133,100total,SCC = 17/17 = 100%).Three Non-Waivable Pillars:
V2-OP-05:$0third-party platform custody (Bank-as-Record FBO/ licensedMoR/Base USDC x402).V2-OP-09: Physical read-only hardware binary signing (0PLC/equipment writeback).V2-OP-14: Objective-receiptEscrow.com/DACAlockboxes.(Ablating all three pillars collapses
SCC -> 1andR_0 -> 0.19within Day 10–14.)
20% Source-Split Maintainer Royalties (
ROYALTY_PROTOCOL.md): Contributors of activeLH-100-verifiedTDApacks earn20%source-split revenue ($0platform custody,IRS IRIS1042-S/W-8BEN-Ecompliant).Open Trust & Witness Protocols:
docs/QXP_V1_SPEC.md— CompleteQXP/1.0architecture, wait clocks,VULN-01..07disclosures &H-1..H-6circuit breakers.docs/TIER_A_BLIND_REVIEW_PROTOCOL.md—M-RCP-35outcome-decoupled licensed human sign-off (5%golden traps,15%blind overlap).docs/PHONE_AS_ORACLE_C2PA_SPEC.md—V2-OP-10hardwareC2PAsmartphone witnessing ($5–$50per receipt).spec/retired_2026_blacklist.json— Machine-readableLH-100gate blocking retired 2026 portals (IRS FIRE,Lemon Squeezy,Mercury Treasuryin Wave 0/1, activeSection 321reliance,19 CFR 177.9) and executable glue keys.
Contributing & License
See
CONTRIBUTING.mdand.github/PULL_REQUEST_TEMPLATE.mdbefore submitting aTDAPR.Released under the Apache License 2.0.
Available Tools
7 toolsquark_cleansbomC
Parse SPDX/CycloneDX JSON, evaluate SPDX license expressions, and classify M&A copyleft contagion risk (independent alternative to FOSSA).
Inputs: payload, upgrade_live.
quark_clearscreenC
Normalize Unicode names, run deterministic fuzzy watchlist matching, validate IRS EIN/TIN and ISO 17442 LEI checksums (independent alternative to Castellum.AI).
Inputs: payload, upgrade_live.
quark_dutysliceC
Compute US post-de-minimis / EU EUR 3 per HS line customs, VAT, MPF, HMF, and Form 5106 checks (independent alternative to Zonos).
Inputs: payload, upgrade_live.
quark_lh100_validateC
Run the LH-100 Anti-Second-Gen-Glue & Constitutional PR Gate on a TDA JSON payload or repository path.
Inputs: tda, path.
quark_privacysbomB
Scan PII/PHI inventories with Luhn PAN detection, 18 HIPAA Safe Harbor checks, and GDPR Ch.V transfer checks without echoing raw PII (independent alternative to OneTrust Data Mapping).
Inputs: payload, upgrade_live.
quark_tariffguardB
Validate HTS-10/HS-6 codes, flag Section 301/232 and 19 CFR 177.9 traps, and verify CTH/CTSH/RVC Rules of Origin (independent alternative to Avalara Cross-Border).
Inputs: payload, upgrade_live.
quark_tda_lookupB
Look up static QXP/1.0 TDA packs under spec/tda/ by tda_id, generation, or v2_op.
Inputs: v2_op, tda_id, generation, include_details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Several tools overlap by domain: dutyslice and tariffguard both concern customs/trade compliance, cleansbom and privacysbom both involve SBOM-style inventories, and lh100_validate and tda_lookup both target TDA payloads. The descriptions do distinguish them, but the proprietary terminology and paired domains create avoidable misselection risk.
All tools share the quark_ prefix and lowercase snake_case style, which helps. However, the suffixes mix patterns: concatenated verb-noun forms like cleansbom, noun compounds like tariffguard, and explicit verb_noun forms like tda_lookup and lh100_validate.
Seven tools is a reasonable size for a focused compliance-validation server. The surface is compact, though the breadth of domains means each tool carries substantial responsibility.
The set covers several clearly named compliance checks, but the TDA side appears incomplete: tda_lookup only retrieves static packs, while lh100_validate validates a narrow LH-100 gate. There is no general TDA creation, editing, listing, or validation lifecycle, and other proprietary protocol operations may be missing.
Maintenance
Related MCP Connectors
Deterministic OpenAPI 3.x SemVer diff, SPF 10-lookup flattener & WCAG 2.2 / EN 301 549 MCP server.
EU AI Act risk classifier, TARIC code validator, and 3-way freight reconciliation MCP server.
Free MCP server of security & dev API tools -- supply-chain, CVE, DNS, WHOIS, OFAC, Cosmos SDK.
Capability-routed CLI/MCP: signed provenance exports, WCAG-validated themes, sovereign deploy modes.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.1561 npm15Apache 2.0

ComplyEdge TrustLintofficial
AlicenseAqualityBmaintenanceOffline MCP server that checks and scans your own AI prompts and outputs against a local compliance rule corpus. Returns rule ID, severity, citation, and remediation per finding — no API key, Apache 2.0.33Apache 2.0- AlicenseNot gradedqualityBmaintenanceStandalone Python 3.11 MCP stdio server exposing 31 read-only B2B regulatory compliance, KYB/AML sanctions, GLEIF LEI, US SEC EDGAR, openFDA, NHTSA, CISA KEV, ICANN RDAP, and Brazil fiscal audit tools.1MIT

TCO Audit MCPofficial
AlicenseNot gradedqualityCmaintenanceZero-dependency Python 3 MCP server for 36-month B2B SaaS TCO calculations (Zapier, Make, n8n, Railway, CRMs) and live SEO / llms.txt readiness audits.MIT