Skip to content
AddHunt
MCP servers

OpenMayhem

Peer-to-peer AI inference marketplace with an MCP server

Paid

In short

OpenMayhem is a peer-to-peer marketplace for using open AI models or earning by serving them on one's own hardware, and its MCP server lets agents such as Claude Code, Codex and Cursor call those models with cost estimates and spending limits. It is aimed at developers who want marketplace models inside MCP clients.

What you get

  • Hosted MCP endpoint and local stdio bridge
  • Restricted API keys with scopes and spend limits
  • Cost estimates before paid model calls
  • Balance checks and receipts from the agent
  • Setup for Codex, Claude Code, OpenCode and ChatGPT
  • Option to earn by serving models on own hardware

The details

OpenMayhem connects people who want to use open AI models with providers who run them on their own hardware. Models are available through a chat interface, an API with chat completions and streaming, media generation and, as this page explains, MCP-compatible agents.

Two ways to connect

  • A hosted server over Streamable HTTP for clients that can send a secret header with the API key
  • A local stdio bridge, released on GitHub as an .mcpb archive and run with Node, for clients that start a local process

Both use the existing account, API key, credit balance and receipts. The page includes configuration for Codex, Claude Code, Hermes, OpenClaw and OpenCode, plus a ChatGPT developer connection with a sign-in and consent page.

Spending controls

Setup starts with a restricted API key created in the dashboard. It can be limited to specific model scopes, given billing read access for balance checks, and capped per request and in total spend. After connecting, the suggested first step is to ask the agent for the balance and an estimate, and to run a paid tool only after reviewing the model, the estimate and the maximum cost.

Proxied models can be used the same way as native ones across chat, the API and MCP.

Alternatives to OpenMayhem

Questions

What is needed to use OpenMayhem from an agent?

An account and API key on OpenMayhem, plus an MCP-capable client like Cursor, Codex, Claude Desktop or Claude Code.

How can spending be limited?

Create a restricted key with only the needed model scopes, a per-request cap and a spend limit, and review the estimate and maximum cost before running a paid tool.

When should the local bridge be used?

For clients that launch a local MCP process rather than connecting to a hosted URL with secret headers.

More like this