New modelKimi K3.1 Pro Abliterated is now available. See the model

Use abliterated models
in MCP clients

Oathbreaker’s MCP server lets Claude Code, Codex, Cursor, OpenCode and other MCP clients ask Oathbreaker’s abliterated GLM-5.3, DeepSeek and Kimi models as a tool, while you keep your main model. Add https://oathbreaker.ai/mcp with your key in the Authorization: Bearer header; each answer is billed per token from your prepaid credit.

Before you start

  1. An Oathbreaker API key. Create an account with email or Google, add at least $5 of credit, then create a key under API keys in your console. The key starts with ob_sk_ and is shown once. Use a separate key for each app, so you can revoke one without touching the others.
  2. An MCP client. Claude Code, Codex, Cursor and OpenCode connect to the hosted server directly. Any client that starts a local command can run the npm package instead.
  3. OATHBREAKER_API_KEY set in your terminal. In Bash or Zsh, run the command below, paste your key at the hidden prompt and press Enter. Start your client from the same terminal.
printf 'Oathbreaker API key: '; read -rs OATHBREAKER_API_KEY; export OATHBREAKER_API_KEY; printf '\n'

The key stays in this terminal session; it is not written to your shell history.

Using PowerShell?

In PowerShell 7.2 or later, use this masked prompt instead, then start your client from the same PowerShell session.

$env:OATHBREAKER_API_KEY = Read-Host -MaskInput "Oathbreaker API key"

The key stays in this PowerShell session.

Set up your client

The hosted server is at https://oathbreaker.ai/mcp and speaks Streamable HTTP. It reads your key from the Authorization header on every request and keeps no session, so there is nothing else to configure.

Claude Code

claude mcp add --transport http oathbreaker https://oathbreaker.ai/mcp \ --header "Authorization: Bearer $OATHBREAKER_API_KEY"

Your shell fills in the key now, and Claude Code saves it with the server.

Check the connection with claude mcp list: the oathbreaker server should show as connected.

Codex

Add this to ~/.codex/config.toml. Codex reads the key from OATHBREAKER_API_KEY when it starts.

[mcp_servers.oathbreaker] url = "https://oathbreaker.ai/mcp" bearer_token_env_var = "OATHBREAKER_API_KEY"

Start Codex from the terminal where the key is set.

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in one project. Cursor fills in ${env:OATHBREAKER_API_KEY} from your environment, so the key is never written to the file.

{ "mcpServers": { "oathbreaker": { "url": "https://oathbreaker.ai/mcp", "headers": { "Authorization": "Bearer ${env:OATHBREAKER_API_KEY}" } } } }

Already have MCP servers in this file? Add only the oathbreaker entry.

OpenCode

Add this to opencode.json. OpenCode fills in {env:OATHBREAKER_API_KEY} from your environment. You can use it alongside Oathbreaker as your main provider from the OpenCode setup.

{ "$schema": "https://opencode.ai/config.json", "mcp": { "oathbreaker": { "type": "remote", "url": "https://oathbreaker.ai/mcp", "headers": { "Authorization": "Bearer {env:OATHBREAKER_API_KEY}" } } } }

Merge the mcp entry into your existing opencode.json.

Other clients

For a client that starts a local command, run the oathbreaker-mcp package with Node.js 20 or later. Put your key in the client’s own environment block, and keep that file out of version control.

{ "mcpServers": { "oathbreaker": { "command": "npx", "args": [ "-y", "oathbreaker-mcp" ], "env": { "OATHBREAKER_API_KEY": "your Oathbreaker key" } } } }

The same tools as the hosted server, run on your machine.

Tools

The server offers three tools. Your client shows them as oathbreaker tools, and the agent decides when to call them, or you can ask for one by name.

ToolWhat it doesCost
askSends a prompt, with an optional system prompt, to one model and returns its answer, the model used, the tokens and the cost at list price. Options: model, reasoning_effort (low, high or max), max_tokens, temperature and include_reasoning.Token rates below
list_modelsLists model identifiers, prices per million tokens, output limits and what each model is good for. Works without a key.Free
get_balanceShows the credit available to the key’s account and any credit held for answers still running.Free

By default ask uses oathbreaker-glm-5.3-flash with low reasoning effort and up to 4,096 output tokens, and returns the answer only. Answers are text for you to review; the model does not run tools or see your files unless the agent puts their content in the prompt.

Pick a model

Use GLM-5.3 for main work. Use GLM-5.3 Flash or DeepSeek Fast for background and cheap tasks. Switch to Kimi K3.1 Pro for the hardest problems; it costs the most per token. Every model uses the same key and credit balance, so you can switch at any time.

USD per one million tokens, pay as you go
ModelBest forInputCached inputOutputOutput limit (tokens)
GLM-5.3 Abliteratedoathbreaker-glm-5.3Main work. The default model, for everyday coding and agent tasks.$3.00$0.30$4.0032,768
GLM-5.3 Flash Abliteratedoathbreaker-glm-5.3-flashBackground and cheap tasks.$0.40$0.05$1.2032,768
DeepSeek V4.1 Flash Abliteratedoathbreaker-deepseek-v4.1-flashCheap tasks.$0.40$0.05$1.2032,768
DeepSeek V4.1 Flash Abliterated, Fastoathbreaker-deepseek-v4.1-flash-fastBackground and cheap tasks, on a route meant for quicker responses.$0.50$0.05$1.5032,768
Kimi K3.1 Pro Abliteratedoathbreaker-kimi-k3.1-proThe hardest problems. The largest model here, and the highest price.$4.50$0.45$9.0024,576

Members pay 25% less on every model except Kimi K3.1 Pro Abliterated, which has one price for everyone. Cached input is billed at its lower rate only when a cache hit is reported. Output limits and output prices include reasoning tokens. See pricing and billing details.

Pass a model identifier from the table as model, or ask the agent to use one, for example “ask Oathbreaker with Kimi”.

Check it works

In Claude Code, from the terminal where you set the key, run one request that calls ask once. It costs a little credit: one short answer from the default model, plus Claude Code’s own turn on your usual plan.

claude -p --allowedTools "mcp__oathbreaker__ask" "Use the oathbreaker ask tool with the prompt: Reply with OK. Show its answer."

Allows only the ask tool for this one request.

Expected reply: OK. Your console’s Usage tab then shows the request.

Limits and fixes

Each key can run 2 ask calls at once through MCP, so an agent stuck in a loop cannot use up your account’s capacity. Your account’s API limits apply on top: 10 generations at once and 60 requests per minute, shared across its keys. Prepaid credit is the hard ceiling; there is no automatic refill.

  • Text only. Prompts and answers are text; images in the conversation are not sent.
  • Long answers. The server streams each answer internally and sends progress updates, so slow reasoning does not hit client timeouts.
What you seeWhat it means and what to do
Add your Oathbreaker API key to use this tool.The client did not send a key. Check that OATHBREAKER_API_KEY was set in the terminal you started the client from, or that the header in its config reads Authorization: Bearer followed by your key. list_models works without a key; the other tools need one.
Oathbreaker rejected the API keyThe key is invalid or revoked. Create a new one in your console and update the client’s config.
Not enough Oathbreaker credit for this requestYour balance cannot cover the answer’s maximum possible cost. Add credit, or ask again with a lower max_tokens.
2 Oathbreaker answers are already running for this API keyWait for one of the running answers to finish, then try again. Give each app its own key if several share one.
Oathbreaker is rate-limiting this accountYour account’s keys together reached 10 generations at once or 60 requests per minute. Wait the number of seconds the message gives, and run fewer agents in parallel.
The client cannot connect to https://oathbreaker.ai/mcpCheck the URL, including /mcp, and that the client supports Streamable HTTP. Older clients that support only local servers can use the npm package.

Still stuck? Email support@oathbreaker.ai with the error message and request ID, never your API key. The API error reference covers every error code.

Common questions

What is the Oathbreaker MCP server?

MCP, the Model Context Protocol, lets agent apps call outside services as tools. Oathbreaker’s server turns its API into three tools, so your agent can ask an abliterated model for a second answer without leaving the app you already use. It is open source under the MIT license, with its source on GitHub, and it is listed in the MCP Registry as ai.oathbreaker/oathbreaker.

Do I replace my agent’s model?

No. Your agent keeps its own model and calls Oathbreaker only through the tools. To run the whole agent on Oathbreaker instead, follow the Claude Code, Codex or OpenCode setup.

What can I use it for?

As a second model for security research on systems you own or are authorized to test, red-team and evaluation prompts for your own AI apps, and creative or research writing. The same terms apply as for the API. Abliterated models are modified to reduce trained refusals, which does not guarantee an answer to every prompt or a correct one. Read what abliterated means.

Where do my prompts go?

The hosted server forwards each prompt to Oathbreaker’s API with your key and returns the answer. It has no database and its code stores and logs nothing about your requests; the API handles and bills them as if you had called it directly. Read the privacy policy.

Set up another agent

The same key, base URL and models work in every agent Oathbreaker documents.

OATHBREAKERA DECLARATION OF INTENT / 001
BEFORE YOU ENTER

TAKETHEOATH.

Break the default.
Keep your word.

I take this oath to put my power
in service of humanity.

To build with purpose.
To question with courage.
To act with care.

I will not use it to exploit, deceive,
or cause needless harm.

I will respect the rights of others
and take responsibility for what I create.

The power is mine.
The responsibility is mine.