Skip to main content
Glama
welthus-mcp

welthus-mcp

Official
by welthusai

welthus-mcp

Zero-dependency Model Context Protocol (MCP) server and drop-in SKILL.md for sub-10ms deterministic verification of Python code ASTs, exact math oracles, SSRF URLs, and secret/PII hygiene.

Why Deterministic Verification Before Execution

LLM coding assistants routinely emit subtle syntax errors, unsafe shell=True subprocess calls, hallucinated arithmetic, or internal metadata URLs (169.254.169.254). welthus-mcp catches these failure modes deterministically in pure Python stdlib before code runs or leaves your machine, and emits a reproducible SHA-256 receipt on every check.

Related MCP server: Garita MCP

Install

git clone https://github.com/welthusai/welthus-mcp.git
cd welthus-mcp
pip install -e .

Run the built-in self-test:

welthus-mcp --selftest

Client Configuration (Claude Code, Cursor, Windsurf)

Add welthus-mcp to your MCP client configuration:

{
  "mcpServers": {
    "welthus": {
      "command": "welthus-mcp"
    }
  }
}

Copy SKILL.md into your agent skills directory (for example ~/.claude/skills/welthus-verify/SKILL.md) so the model automatically invokes verification before running code or reporting math results.

MCP Tools

Tool

Purpose

Typical Latency

verify_claim

Auto-detect mode (code, math, ai_output) and emit SHA-256 receipt

< 2 ms

verify_code

Python AST parse + unsafe call, shell=True, pickle, yaml.load guard

< 1 ms

verify_math

Bounded AST sandbox for exact arithmetic and equality checking

< 1 ms

verify_ai_output

SSRF URL scan, placeholder detection, bio log2FC consistency

< 1 ms

check_url_ssrf

Loopback, private CIDR, link-local metadata, IPv4-mapped IPv6 guard

< 0.2 ms

scrub_secrets

Redacts live API keys, private key headers, and email PII

< 0.2 ms

CLI Usage

welthus-mcp --verify "sum(n for n in range(1, 2501) if n % isqrt(n) == 0) == 127450"

Run Tests

pytest

License

MIT License. Copyright (c) 2026 Welthus Research (research@welthus.com).

Available Tools

6 tools
check_url_ssrfB

Check whether a URL targets loopback, link-local metadata, or private IP ranges.

Inputs: url (required).

scrub_secretsB

Detect and redact API keys, private key headers, and email PII.

Inputs: text (required).

verify_ai_outputB

Scan text for SSRF URLs, placeholder markers, and bio log2FC consistency.

Inputs: text (required).

verify_claimB

Deterministically verify Python code, math equations, or AI text outputs in <10 ms and return a cryptographic SHA-256 receipt.

Inputs: text (required), mode.

verify_codeB

Parse Python code via AST and block unsafe execution or deserialization calls.

Inputs: code (required).

verify_mathA

Verify arithmetic expressions or equality claims in a bounded AST sandbox.

Inputs: expression (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation2/5

    verify_claim explicitly covers Python code, math equations, and AI text outputs, which are exactly the domains of verify_code, verify_math, and verify_ai_output. This creates overlapping purposes and makes it unclear when an agent should use the umbrella tool versus the specialized ones. The other two tools (check_url_ssrf, scrub_secrets) are distinct.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern: verify_*, check_url_ssrf, scrub_secrets. The only minor deviation is 'check_url_ssrf' using a noun acronym, but the overall convention is uniform and predictable.

    Tool Count5/5

    Six tools is well within the 3-15 range and appropriate for a server focused on verification and security scanning. Each tool appears to serve a specific check or verification type, so no tool feels unnecessary.

    Completeness4/5

    The surface covers code, math, and text verification plus SSRF detection and secret scrubbing, which are the core needs for the stated purpose. However, the redundant verify_claim suggests a design gap in separation of concerns, and it's unclear whether the specialized verifiers also return the cryptographic receipts mentioned for verify_claim.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Audits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.
      5
      28 PyPI
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes thirty callable tools that let any MCP client audit server manifests, detect poisoned tool descriptions, config files and long-term memory, catch tool rug-pulls, check known vulnerabilities and package authenticity, and statically screen tool code for SSRF, path traversal and command injection risk. It also simulates whether a proposed agent action should auto-approve or be held for human review.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables autonomous coding agents to run deterministic pre-flight static checks on diffs and repositories, export SARIF findings, execute commands with HMAC-SHA256 signed receipts, verify receipt integrity, enforce output constraints, and synchronize safety rules across agent configs.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to audit skills, rules, and MCP configurations for prompt injection, Unicode steganography, concealed payloads, secret access, and integrity issues, and to pin and verify live stdio MCP tool schemas against a lockfile to detect post-install rug pulls.
      3
      MIT