Fermat
OpenAI-compatible LLM gateway: pay per request with an API key, signed receipt for each call.
Connector by ai.phase.xyz · Domain verified by the MCP Registry
Install
Works with Claude Code, VS Code, Cursor, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install connector/ai-phase-xyz-gateway
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Remote endpoint
https://mcp.fermat.ai.phase.xyz/mcpRemote (HTTP)
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 7 read · 0 write · 4 delete
- Secrets
- 3 (API keys, tokens or passwords)
- Install scripts
- Nothing to install (hosted)
- Runs as
- Hosted (remote endpoint)
Tools by what they do 11
From the running server's own tool list (tools/list) on Oct 25, 2026.
Read 7 · Look things up without changing anything.
docskeylist_modelsquotereceiptroute_explainusage
Delete 4 · Delete, drop, revoke or wipe things.
chatcompareembedsession
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
AuthorizationX-Phase-BYOK-AnthropicX-Phase-BYOK-OpenAI
Network hosts it talks to 1
mcp.fermat.ai.phase.xyz· found in remote endpoint, install command
Tools (11)
As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].
chatChat with a model (spends credit)can change or delete dataRun a chat completion on the Fermat gateway, paid from the Phase API key or the wallet this server uses (free models cost nothing). Returns the answer, actual price, task id for the receipt and usage.
compareCompare models on one prompt (spends credit)can change or delete dataRun one prompt on 2 to 4 Fermat models or classes at once and compare answer, price, tokens and speed; returns the cheapest, the most expensive and how many times more the expensive one cost. Spends credit for each model. Default models: the cheapest paid chat model, auto, and the most expensive open chat model.
docsFermat documentationread-onlyFermat documentation in short: connect, pricing (with the live price table), savings, mcp, byok, data, receipts, limits.
embedCompute embeddings (spends credit)can change or delete dataCompute embeddings on the Fermat gateway (paid from the Phase API key or the wallet).
keyBalance and limits of the keyread-onlyBalance, daily cap and spend of the Phase API key this server pays with (key mode).
list_modelsList models and pricesread-onlyList models of the Fermat gateway with prices (USD per 1M tokens, fee per call) and layer (flagship | open | class | free).
quotePrice ceiling of a requestread-onlyGet the price ceiling for a chat request without paying (the gateway's 402 quote).
receiptRead a public receiptread-onlyFetch the public receipt of a paid request by task id (model, provider, tokens, price, settlement tx, request/response hashes, signatures) and its Merkle proof once the weekly epoch is closed.
route_explainWhy this model and what it savedread-onlyExplain one Fermat request from its public receipt: the model or class it named, the complexity level, the model and provider that served it, the price, the price of the class baseline model and the saving in percent, and the providers tried.
sessionSaved chat sessionscan change or delete dataSaved chat sessions on the Fermat gateway: create one (returns an id and a shareable /s/<id> link), read its thread, list the wallet's sessions (wallet mode only: signed with the wallet key, no transaction), or delete one. Pass the id as `session` to chat and the gateway carries the context between turns and visits.
usageSpend and savings of the keyread-onlySpend and savings of the Fermat API key over the last N days (1 to 90, default 7): totals, per day and per model when the gateway has the history (source usage), otherwise the key's totals (source key). Key mode only.
Signals
- Last release
- Oct 22, 2026 (6 days ago)
Details
- Registry name
xyz.phase.ai/gateway- Version
- 0.4.0
- Auth
- Bearer token, API key
- License
- License unknown
- Website
- fermat.ai.phase.xyz
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
- Source
- Official MCP Registry
Cite this page
Fermat MCP server. Agent Mart. https://agentmart.dev/connectors/ai-phase-xyz-gateway (last updated 2026-10-25)