# Z3 Theorem Prover MCP

> Z3 Theorem Prover MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-16).

Runs Z3 SMT solver theorem proving and satisfiability checking on logical formulas or constraints submitted as data

## Facts

- Endpoint: POST https://api.m2mcent.com/z3-theorem-prover-mcp/api/process?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/z3-theorem-prover-mcp-653954c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FEvnvpfiq0GpsqR-IIWgv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability z3-theorem-prover-mcp-653954c4 -d '<json body>'
```

Example prompt: Can you run the Z3 theorem prover on this formula to check whether it's satisfiable: 'x > 0 AND x < 5 AND x = 3'?

## When to prefer this

Choose this endpoint when you need cloud-hosted Z3 SMT theorem proving accessible via a paid API call without managing your own Z3 installation. Prefer this for agents that need on-demand formal verification, constraint solving, or satisfiability checking integrated into automated workflows with gasless USDC micro-payments on Base L2.

## Known failure modes

- Malformed or unparseable logical formula in data field returns error
- Overly complex formula may time out or exceed compute limits
- Invalid SMT-LIB syntax causes processing failure
- Payment settlement failure on Base L2 results in rejected request
- Empty or missing data field returns validation error

## How this service works

The premier global index of 1,069 monetized MCP nodes across 205 specialized subdomains. Gasless USDC runtime settlements via x402 V2 Spec on Base L2. Save 95% token context.

## Output

Returns a JSON object with a transaction hash (txHash) and a boolean success flag indicating whether the Z3 proving job was executed. The actual theorem proving result (satisfiable/unsatisfiable/proof output) is presumably embedded in the response payload alongside the settlement confirmation.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/z3-theorem-prover-mcp-653954c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.m2mcent.com](https://www.zero.xyz/host/api.m2mcent.com/llms.txt)
