AxiomCode Verify an artefact
Type ReferenceAudience Developers, agent buildersRole packs DevelopersVersion Docs set 2026-11-14Last verified 2026-11-14Source Hosted MCP service record (slice 1); repository MCP serverMarkdown mirror

MCP — hosted & local

Two MCP contracts exist, and they are not the same surface: the hosted endpoint (seven tools) and the local server in the repository (two tools). Both reach the same engine.

Hosted MCP

Endpoint: https://api.axiom-code.com/mcp/ — the trailing slash is canonical. Authentication: the same API key as REST. Semantics: the same queue and the same trial (first 10 cases per key: verdicts and usage, no certificates).

ToolWhat it does
verifySubmit a Lean 4 artefact — the MCP form of POST /verify. Returns the verdict, artefact hash, and usage record, or a queued job.
job_statusPoll a queued job — the MCP form of GET /verify/jobs/{id}.
check_certificateCheck a certificate — the MCP form of POST /check.
revokedThe public revocation list.
healthService health.
usage_reportUsage records for the calling key — the reconciliation view (see reconcile metering).
pricingThe current pricing and billing state, as published on the pricing page.

Lifecycle: the hosted endpoint is live and in soak with the REST API — see the status page for the current record.

Local MCP

An MCP server also ships in the AxiomCode repository for local use over stdio. It exposes two tools — verify and check_certificate — and calls the hosted API with your key. It is a client-side convenience with its own, smaller contract; it is not a local verification engine, and it issues nothing locally.

Which one do you want?

  • Agent platform that can call a remote endpoint: hosted (all seven tools).
  • Desktop agent client that speaks stdio MCP: local (verify + check, zero hosting).
  • No agent at all: the REST API is the same service with the simplest contract.