Skip to main content
Glama
sovereign-verify-mcp

sovereign-verify-mcp

by pjrpjr

sovereign-verify-mcp

pjrpjr/sovereign-verify-mcp MCP server License: MIT Python 3.10+ Zero Dependencies MCP Protocol

Zero-dependency, pure Python 3 standard-library Model Context Protocol (MCP) server exposing 8 deterministic, fail-closed verification & compliance tools over JSON-RPC 2.0 stdio (2024-11-05).

Run it in 2 seconds with zero API keys, zero pip dependencies, and zero outbound network calls:

uvx --from git+https://github.com/pjrpjr/sovereign-verify-mcp sovereign-verify-mcp

Quickstart: Client Configurations

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "sovereign-verify": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/pjrpjr/sovereign-verify-mcp",
        "sovereign-verify-mcp"
      ]
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "sovereign-verify": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/pjrpjr/sovereign-verify-mcp",
        "sovereign-verify-mcp"
      ]
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "sovereign-verify": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/pjrpjr/sovereign-verify-mcp",
        "sovereign-verify-mcp"
      ]
    }
  }
}

Antigravity (mcp_config.json)

{
  "mcpServers": {
    "sovereign-verify": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/pjrpjr/sovereign-verify-mcp",
        "sovereign-verify-mcp"
      ]
    }
  }
}

OpenAI Codex CLI (~/.codex/config.toml)

[mcp_servers.sovereign-verify]
command = "uvx"
args = ["--from", "git+https://github.com/pjrpjr/sovereign-verify-mcp", "sovereign-verify-mcp"]

Related MCP server: Enterprise MCP Server

8 Deterministic Verification Tools Exposed

All 8 tools are strictly read-only, offline, idempotent, and pure Python 3 stdlib (dependencies = []):

#

MCP Tool Name

Verification Scope & Fail-Closed Guarantees

Standalone MIT Sibling

1

compile_datadog_to_metricsql

Brace-aware AST compiler converting Datadog metric & monitor queries to VictoriaMetrics MetricsQL with zero silent drops ([RED FLAG] quarantine for anomalies(), forecast(), outliers(), logs(), events()). Supports single queries or bulk vmalert YAML output.

dd2vm

2

audit_part202_ads_txt

Passive, offline DOJ 28 CFR Part 202 (EO 14117) /ads.txt & SSP sellers.json cross-reference against publicly verifiable §202.209 corporate filings, §202.206 12-month bulk thresholds, and anti-defamation objective wording guardrails.

part202-audit-lite

3

grade_gpu_escrow

Fail-closed secondary-market NVIDIA H100/A100/H200 telemetry grader (A+/A/B/C/FAIL): checks HBM remapped-row bank exhaustion, uncorrectable SRAM/DRAM ECC, peer-relative thermal resistance $\Delta R_{th}$, NVLink lane loss, PCIe Gen/width downgrades, and escrow valuation risk.

gpu-carfax-lite

4

scrub_hipaa_safe_harbor_835

Offline HIPAA 45 CFR §164.514(b)(2) 18-identifier X12 835/837P de-identifier (17 restricted ZIP3 → 000, AGE90PLUS DOB generalization, HMAC join keys, fail-closed zero-leak self-audit) + post-June-2026 $15 / 50-item NSA-IDR batch EV & state fee-splitting compliance estimator.

nsa-safe-harbor

5

verify_45z_mass_balance

IRC §45Z (OBBBA / Notice 2026-53) North America (US/CA/MX) 100% feedstock tank mass conservation (opening + verified_na_bol - closing >= gallons * yield_min), 20 high-risk transshipment port detectors, SHA-256 Merkle doc anchoring, and in-memory OOXML 45ZCF-GREET*.xlsx hash lock.

feedlock-45z-lite

6

verify_machlog_1230_sbom

EU Machinery Regulation (EU) 2023/1230 (2027-01-20 cliff) Art. 18 PLC safety baseline diff across Siemens TIA, Beckhoff TwinSAFE, Pilz PNOZ, Rockwell L5X, and CODESYS/ROS2 exports + Annex IV & EU CRA 2024/2847 Annex VII CycloneDX/SPDX + OpenVEX v0.2.0 CVE triage.

machlog-1230-lite

7

verify_bess_dpp

EU Battery Regulation (EU) 2023/1542 Art. 77 (2027-02-18 cliff) BESS SAT external revenue meter vs OEM BMS SOH anti-tamper cross-verifier (exact Decimal trapezoidal integration across 6 OEM CSV templates) and 70-field JSON-LD Digital Battery Passport Day-1 completeness gate.

bess-passport-lite

8

audit_admt_hitl

California CPPA ADMT (2027-01-01) & EU AI Act Annex III (2027-12-02) zero-PII synthetic canary & meaningful human review verifier (override_rate, canary_catch_rate, latency percentiles, opt-out zero-webhook isolation) with Kovel privilege-safe non-accusatory wording.

humangate-admt-lite


Try on Glama

You can explore sovereign-verify-mcp directly on Glama MCP Servers before installing it locally:

pjrpjr/sovereign-verify-mcp MCP server


Security & Architecture Guarantees

  • Zero External Dependencies: 100% Python 3.10+ standard library — zero supply-chain bloat, auditable in a single file (sovereign_verify_mcp.py).

  • Zero Outbound Network Calls: Every verifier operates exclusively on caller-supplied inputs in memory (openWorldHint: false, readOnlyHint: true, destructiveHint: false).

  • Protocol Compliance: Implements MCP 2024-11-05 JSON-RPC 2.0 over stdio (newline-delimited default + automatic Content-Length framing compatibility), graceful parse error recovery (-32700), and strict stdout hygiene (zero logging leakage).

  • Wording & Privacy Guardrails: Built-in anti-defamation check on audit_part202_ads_txt, real-PII rejection + Kovel privilege-safe guardrail on audit_admt_hitl, and fail-closed zero-PHI-leak self-audit on scrub_hipaa_safe_harbor_835.


Local Verification & Testing

# Inspect exposed tools and schemas via CLI
python3 sovereign_verify_mcp.py --list-tools

# Run full subprocess stdio JSON-RPC 2.0 & 8-tool test suite (zero ResourceWarnings)
python3 -W error::ResourceWarning -m unittest test_standalone.py -v

License

MIT License — see LICENSE.

Available Tools

8 tools
audit_admt_hitlA
Read-onlyIdempotent

California CPPA ADMT (2027-01-01) & EU AI Act Annex III (2027-12-02) zero-PII synthetic canary & meaningful human review verifier. Checks pre-use notice causal precedence, opt-out zero-scoring/zero-webhook isolation, adverse explanation replay, seeded canary catch rate, override rate, and review latency percentiles with Kovel privilege-safe non-accusatory wording.

Inputs: audit_package (required).

audit_part202_ads_txtC
Read-onlyIdempotent

Offline passive DOJ 28 CFR Part 202 (EO 14117) /ads.txt & SSP sellers.json reference auditor. Cross-references exchange domains and SSP seller entries against publicly verifiable corporate filings under 28 CFR §202.209 jurisdictions with strictly objective, anti-defamation-verified wording.

Inputs: ads_txt_text (required), domain, sellers_json_map.

compile_datadog_to_metricsqlA
Read-onlyIdempotent

AST-compile Datadog metric or monitor queries into VictoriaMetrics MetricsQL with zero silent drops: proprietary ML/log functions (anomalies, forecast, outliers, logs, events) are explicitly flagged with [RED FLAG] quarantine markers. Supports single query or bulk monitors.

Inputs: query, monitors, default_window, sanitize_metric_names.

grade_gpu_escrowA
Read-onlyIdempotent

Fail-closed secondary-market NVIDIA H100/A100/H200 telemetry lemon grader (A+/A/B/C/FAIL). Audits HBM remapped-row bank exhaustion, uncorrectable SRAM/DRAM ECC, peer-relative thermal resistance R_th drift, NVLink lane bandwidth, PCIe Gen/width downgrades, and escrow valuation exposure.

Inputs: snapshot (required), node_price_usd.

scrub_hipaa_safe_harbor_835B
Read-onlyIdempotent

Offline HIPAA 45 CFR §164.514(b)(2) 18-identifier X12 835/837P de-identifier with fail-closed zero-leak self-audit (17 restricted ZIP3 -> '000', AGE90PLUS DOB generalization, HMAC join keys) and post-June-2026 $15 / 50-item NSA-IDR batch recoverable EV & state fee-splitting compliance estimator.

Inputs: raw_edi (required), salt, date_mode, reference_year, +1 more.

verify_45z_mass_balanceB
Read-onlyIdempotent

IRC §45Z (OBBBA / Notice 2026-53) North America (US/CA/MX) 100% feedstock tank mass conservation checker, high-risk transshipment port detector, external docs Merkle root anchor, and official DOE 45ZCF-GREET .xlsx cached-CI / SHA-256 workbook lock verifier.

Inputs: package (required), greet_summary, greet_xlsx_base64, expected_greet_sha256.

verify_bess_dppB
Read-onlyIdempotent

EU Battery Regulation (EU) 2023/1542 Art. 77 (2027-02-18 cliff) BESS SAT external revenue meter vs OEM BMS SOH anti-tamper cross-verifier (exact Decimal trapezoidal integration across 6 OEM CSV templates) and 70-field JSON-LD Digital Battery Passport Day-1 completeness gate.

Inputs: bms_csv (required), package (required), meter_csv (required), include_jsonld.

verify_machlog_1230_sbomC
Read-onlyIdempotent

EU Machinery Regulation (EU) 2023/1230 (2027-01-20 cliff) Article 18 substantial-modification PLC safety baseline diff (Siemens TIA, Beckhoff TwinSAFE, Pilz PNOZ, Rockwell L5X, CODESYS/ROS2), Annex IV completeness gate, and EU CRA 2024/2847 Annex VII CycloneDX/SPDX + OpenVEX CVE triage.

Inputs: package (required), sbom, exports, open_vex, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a completely different regulatory/technical domain (GPU escrow grading, Datadog→MetricsQL, ads.txt, HIPAA 835 de-ID, §45Z mass balance, machinery SBOM, BESS passport, ADMT audit), so there is essentially no overlap. An agent can select the right tool from the domain keyword alone.

    Naming Consistency4/5

    All names are snake_case and verb-first (grade_, compile_, audit_, scrub_, verify_), giving a predictable pattern. Minor deviation: verbs vary and some names embed standards/numbers and prepositions (compile_datadog_to_metricsql), but structure stays readable.

    Tool Count5/5

    Eight tools is well within the ideal 3–15 range and each maps to a distinct compliance workflow with no filler. The count is well-scoped for a multi-regulation verification suite.

    Completeness3/5

    Each tool appears self-contained for its narrow verification task, but the surface is a grab-bag of unrelated point solutions with no shared lifecycle (no list/get/export/report-retrieval or orchestration tools). Coverage per individual domain looks solid, yet the overall suite lacks connective operations.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes read-only local analysis tools for source auditing, web traffic review, binary reverse engineering, exploit scaffolding, OSINT, and reporting via JSON-RPC over stdio, enabling LLMs to orchestrate evidence-based security workflows without executing targets or sending network requests.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to perform sandboxed file-system operations, read-only SQLite querying and schema inspection, environment diagnostics, and cryptographic hashing over Stdio or HTTP using JSON-RPC.
      2
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to verify claims against evidence, generate and validate tamper-evident receipts, and pre-filter prompt-injection attempts through stdio JSON-RPC tools.
      5
      2,607 PyPI
      Apache 2.0
    • F
      license
      B
      quality
      C
      maintenance
      Enables AI agents to run read-only-by-default server security audits, query MITRE ATT&CK detection rules, manage encrypted SSH and environment vault entries, and perform static artifact triage through stdio JSON-RPC tools.
      10
      7
      -