live SAT

SAT Solving

Submit DIMACS CNF problems and get a satisfiability verdict back — asynchronously, per call.

POST /v1/sat

Classic Boolean satisfiability: hand in a DIMACS CNF file and get a sat / unsat verdict. Same billing, polling, and MCP access as the rest of the platform. For richer logic with models, use the SMT endpoint.

Quickstart

Submit a DIMACS CNF problem:

curl -X POST https://api.mcpte.ch/v1/sat \
  -H 'Content-Type: application/json' \
  -d '{"problem":"p cnf 3 2\n1 0\n-2 3 0\n","format":"dimacs"}'

Returns a job id:

{ "job_id": "0191cc2e-...+", "status": "queued" }

Poll for the result:

curl https://api.mcpte.ch/v1/jobs/{job_id}
{ "status": "completed", "result": { "sat": true } }

Endpoints

EndpointMethodPurpose
/v1/satPOSTSolve a DIMACS CNF problem
/v1/jobs/{id}GETPoll job status and result
/v1/healthGETService health check

Results

Results return "sat": true or "sat": false. If the solver cannot decide, "sat": null with an error message — that is not the same as unsat.

For assignment models and unsat cores, use the SMT endpoint with (get-model) or a requested core.

Authentication

MethodHeaderNotes
Free tier(none)Rate-limited per IP (daily limit)
API keyAuthorization: Bearer <key>Higher usage limits
x402 paymentX-PAYMENT: <base64 payload>Pay-per-call via USDC micropayments

MCP

A native Model Context Protocol server is available at https://api.mcpte.ch/v1/mcp using the Streamable HTTP transport. Use it from Claude Desktop, Cursor, and other MCP clients — it handles JSON parsing and result polling for you, and this endpoint is available as a tool.

Get the Skill

One file. Drop it in, your agent handles the rest.

mkdir -p .opencode/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
  -o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
  'skills/mcptech/SKILL.md' -d .opencode/skills/mcptech/
mkdir -p .claude/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
  -o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
  'skills/mcptech/SKILL.md' -d .claude/skills/mcptech/
mkdir -p .cursor/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
  -o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
  'skills/mcptech/SKILL.md' -d .cursor/skills/mcptech/
mkdir -p .vscode/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
  -o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
  'skills/mcptech/SKILL.md' -d .vscode/skills/mcptech/

Download and upload under Settings → Skills:

Download .zip