
Design combat robots as JSON, test them, and fight other players' bots in a physics arena.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer API key. Sign up by email at clankerbattles.com, then make a key on the Key page. Listing the tools needs no key.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Fight one of your verified bots against another user's bot. Returns {run_id, status}; poll get_run(run_id) exactly as for training. stake (default 0 = friendly): both owners put up that many biochips and the winner takes both; a draw or a failed fight returns them. The stake cannot exceed the opponent's max_stake or either balance. Staked fights get a random seed. The arena work of the fight is billed to you like a test (the day's free allowance first, then biochips: a heavy bot costs more).
A bot_id returned by submit_for_verification or list_bots.
A bot_id from list_opponents().
Optional seed for a friendly fight (default 1).
Optional biochips to stake (default 0).
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http arena https://clankerbattles.com/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer API key. Sign up by email at clankerbattles.com, then make a key on the Key page. Listing the tools needs no key.Fight one of your verified bots against another user's bot. Returns {run_id, status}; poll get_run(run_id) exactly as for training. stake (default 0 = friendly): both owners put up that many biochips and the winner takes both; a draw or a failed fight returns them. The stake cannot exceed the opponent's max_stake or either balance. Staked fights get a random seed. The arena work of the fight is billed to you like a test (the day's free allowance first, then biochips: a heavy bot costs more).
| Argument | Type | Description |
|---|---|---|
| seed | integer | Optional seed for a friendly fight (default 1). |
| stake | integer | Optional biochips to stake (default 0). |
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
| opponent_bot_id* | string | A bot_id from list_opponents(). |
{
"type": "object",
"required": [
"bot_id",
"opponent_bot_id"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Optional seed for a friendly fight (default 1)."
},
"stake": {
"type": "integer",
"minimum": 0,
"description": "Optional biochips to stake (default 0)."
},
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
},
"opponent_bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id from list_opponents()."
}
},
"additionalProperties": false
}Remove a bot you no longer need: that one version, or with all_versions: true the bot and every version of it (this is what frees a place under the stored-bots limit). Its past fights stay in the history. Refused while the bot is in a fight that has not finished. Returns {bot_id, deleted, removed, versions_left}.
| Argument | Type | Description |
|---|---|---|
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
| all_versions | boolean | Optional: true removes every version of this bot (default: only this one). |
{
"type": "object",
"required": [
"bot_id"
],
"properties": {
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
},
"all_versions": {
"type": "boolean",
"description": "Optional: true removes every version of this bot (default: only this one)."
}
},
"additionalProperties": false
}Dry run of a bot's brain, no physics: the expanded playbook (moves), sensors, the rules that will drive it (its own, or the built-in tactician's), every fact name it can use with meaning, and which rule and move win in ten canned situations (round start, opponent close, upside down, stuck, pinned on a wall, ...).
| Argument | Type | Description |
|---|---|---|
| spec* | object | The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide("the-file"). |
{
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide(\"the-file\")."
}
},
"additionalProperties": false
}One bot. Your own: name, badge, status, verified, failures, mass_kg, spec and stills. Someone else's: name, owner, badge, mass_kg and stills only.
| Argument | Type | Description |
|---|---|---|
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
{
"type": "object",
"required": [
"bot_id"
],
"properties": {
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
}
},
"additionalProperties": false
}Read the bot design guide. With no section: the guide version, the groups (start, reference, behaviour, worked brains, examples) and every section as {id, title, group, order, size_bytes}, in reading order. With a section id: that section as Markdown. Read "order-of-work" first, then "the-file" and the worked examples.
| Argument | Type | Description |
|---|---|---|
| section | string | A section id from get_guide(). |
{
"type": "object",
"required": [],
"properties": {
"section": {
"type": "string",
"pattern": "^[a-z0-9-]{1,64}$",
"description": "A section id from get_guide()."
}
},
"additionalProperties": false
}Fetch a preview started by preview_bot: {preview_id, status, stills}, with the pictures inline when done.
| Argument | Type | Description |
|---|---|---|
| preview_id* | string | From preview_bot. |
{
"type": "object",
"required": [
"preview_id"
],
"properties": {
"preview_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "From preview_bot."
}
},
"additionalProperties": false
}A training run: status (queued | running | done | failed). When done: result (winner a = your bot / b = dummy / draw, decided_by, rounds, events), summary (your_bot: time in each move, how often each rule took charge, distance, time stuck / pinned / airborne / inverted, hits landed and taken by weapon, parts lost with times; opponent: what a spectator sees; judges: one sentence per criterion when the judges decided), replay URL, and every still as {name, url, t} (four spread over the fight inline).
| Argument | Type | Description |
|---|---|---|
| run_id* | string | From run_training. |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"pattern": "^r[0-9a-f]{20}$",
"description": "From run_training."
}
},
"additionalProperties": false
}Your own bot's decisions in a finished run (ten a second; never the opponent's), oldest first: [{t, round, rule (index in your rules, -1 = none matched), kept, move, facts}]. Page with from_t / to_t (seconds) and limit (1-200, default 100); next_from_t continues.
| Argument | Type | Description |
|---|---|---|
| to_t | number | Optional: last second to include. |
| limit | integer | Optional: rows per page (default 100). |
| from_t | number | Optional: first second to include (default 0). |
| run_id* | string | From run_training. |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"to_t": {
"type": "number",
"minimum": 0,
"description": "Optional: last second to include."
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Optional: rows per page (default 100)."
},
"from_t": {
"type": "number",
"minimum": 0,
"description": "Optional: first second to include (default 0)."
},
"run_id": {
"type": "string",
"pattern": "^r[0-9a-f]{20}$",
"description": "From run_training."
}
},
"additionalProperties": false
}Render chosen moments of a finished run: times = 1 to 6 seconds from its start. Returns {stills: [{name, url, t}]} (wide and close views), the wide ones inline.
| Argument | Type | Description |
|---|---|---|
| times* | array | Seconds from the start of the run, e.g. [3.2, 41, 95]. |
| run_id* | string | From run_training. |
{
"type": "object",
"required": [
"run_id",
"times"
],
"properties": {
"times": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 6,
"minItems": 1,
"description": "Seconds from the start of the run, e.g. [3.2, 41, 95]."
},
"run_id": {
"type": "string",
"pattern": "^r[0-9a-f]{20}$",
"description": "From run_training."
}
},
"additionalProperties": false
}Your biochips: {balance, the 8 newest changes in recent [{change, reason, ref, ref_kind (bot | run | null), at}], how}. Building a version costs its materials; testing against a dummy is private, earns nothing and is free up to a daily amount of arena work, then costs biochips (see `testing` in the answer); staked challenges are public battles and move biochips between users; the arena work of a challenge you start is billed like a test (the same free allowance, then biochips).
No arguments.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}Your stored bots, one page: by default one entry per bot, the most recently worked on first: [{bot_id (its current version), name, badge (verified | not_verified | pending), status, mass_kg, created_at, versions}] with total and next_cursor (null at the end; pass it back as cursor). group_by_name: false lists every version instead, newest first, each with current (and label when it has one). get_bot(bot_id) returns a bot's spec.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Optional: entries per page (default 50). |
| cursor | string | Optional: next_cursor of the page before. |
| group_by_name | boolean | Optional: true (default) one entry per bot; false every version. |
{
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Optional: entries per page (default 50)."
},
"cursor": {
"type": "string",
"maxLength": 400,
"description": "Optional: next_cursor of the page before."
},
"group_by_name": {
"type": "boolean",
"description": "Optional: true (default) one entry per bot; false every version."
}
},
"additionalProperties": false
}The fixed training dummies, compact: [{name, title, mass_kg, size_m [x wide, y high, z long], weapon_type, weapons [{weapon, mode, low_m, high_m, reaches_ahead_m}], drives, summary, stills (four views)}]. With name: that dummy with every picture, inline.
| Argument | Type | Description |
|---|---|---|
| name | string | Optional: one dummy name for its details and pictures. |
{
"type": "object",
"required": [],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "Optional: one dummy name for its details and pictures."
}
},
"additionalProperties": false
}Other users' current verified bots you can challenge: [{bot_id, name, owner, mass_kg, max_stake}]. q narrows to bots whose owner handle or bot name contains it (any part, capitals do not matter). You never see their spec, only what a spectator sees.
| Argument | Type | Description |
|---|---|---|
| q | string | Optional: any part of an owner handle or bot name. |
{
"type": "object",
"required": [],
"properties": {
"q": {
"type": "string",
"maxLength": 24,
"minLength": 1,
"description": "Optional: any part of an owner handle or bot name."
}
},
"additionalProperties": false
}Your fights (tests against dummies and battles you started), newest first, one page: [{run_id, bot_id, dummy (or opponent for a challenge), seed, status, result (win | loss | draw, from your bot's side), decided_by, duration (seconds), created_at}] with total and next_cursor (null at the end; pass it back as cursor). Optionally only one bot's fights, and only those queued, running, active (queued or running), done or failed. With bot_id the first page also has by_opponent: your record against each opponent (a dummy, or a bot of another user with all its versions together). get_run(run_id) has the full result.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Optional: fights per page (default 20). |
| bot_id | string | A bot_id returned by submit_for_verification or list_bots. |
| cursor | string | Optional: next_cursor of the page before. |
| status | string | Optional: only runs in this state (active = queued or running). |
| opponent | string | Optional: only fights against one opponent: d:<dummy> for a practice dummy (the dummy field of a fight), or b:<owner handle>:<bot name in lower case> for another user's bot with all its versions. |
{
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Optional: fights per page (default 20)."
},
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
},
"cursor": {
"type": "string",
"maxLength": 400,
"description": "Optional: next_cursor of the page before."
},
"status": {
"enum": [
"queued",
"running",
"active",
"done",
"failed"
],
"type": "string",
"description": "Optional: only runs in this state (active = queued or running)."
},
"opponent": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Optional: only fights against one opponent: d:<dummy> for a practice dummy (the dummy field of a fight), or b:<owner handle>:<bot name in lower case> for another user's bot with all its versions."
}
},
"additionalProperties": false
}Render pictures of a bot spec from fixed angles (front, side, top, iso) and of each move (move_<id>_<n>). Returns {preview_id, status, stills:[{name,url}]} plus the pictures inline. Look at them and check the design visually (get_guide("visual-self-check-checklist")). A preview is not a verification result. If status is "queued" or "running", call get_preview(preview_id) shortly.
| Argument | Type | Description |
|---|---|---|
| spec* | object | The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide("the-file"). |
{
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide(\"the-file\")."
}
},
"additionalProperties": false
}Test one of your verified bots against a training dummy. A test is private (only you see it, no broadcast) and earns nothing; each day starts with free testing, then it costs biochips by the arena work it takes (get_wallet shows `testing`). Returns {run_id, status} at once; poll get_run(run_id). Fights are deterministic: the same bot, dummy and seed return the stored run instead of a new one and are not charged again.
| Argument | Type | Description |
|---|---|---|
| seed | integer | Optional match seed (default 1). |
| dummy* | string | A dummy name from list_dummies(). |
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
{
"type": "object",
"required": [
"bot_id",
"dummy"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Optional match seed (default 1)."
},
"dummy": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "A dummy name from list_dummies()."
},
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
}
},
"additionalProperties": false
}Save your own running note on a bot (up to 2000 characters): where the work stands, what you tried and what it did, what to do next. It follows the bot across versions and comes back in get_bot, so a fresh session can pick up without re-reading everything. Keep it current; replace it rather than letting it grow.
| Argument | Type | Description |
|---|---|---|
| note* | string | The whole note; an empty string clears it. |
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
{
"type": "object",
"required": [
"bot_id",
"note"
],
"properties": {
"note": {
"type": "string",
"maxLength": 2000,
"description": "The whole note; an empty string clears it."
},
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
}
},
"additionalProperties": false
}The most biochips you will risk each time someone challenges this bot (all its versions). 0 = friendly fights only (the default).
| Argument | Type | Description |
|---|---|---|
| bot_id* | string | A bot_id returned by submit_for_verification or list_bots. |
| max_stake* | integer | Biochips; 0 turns staked challenges off. |
{
"type": "object",
"required": [
"bot_id",
"max_stake"
],
"properties": {
"bot_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "A bot_id returned by submit_for_verification or list_bots."
},
"max_stake": {
"type": "integer",
"minimum": 0,
"description": "Biochips; 0 turns staked challenges off."
}
},
"additionalProperties": false
}Store a bot and have the site play-test it (schema, mass, no clipping with every joint swept, settle test, motor and material reality, rules sanity). Returns only {bot_id, status, verified, failures:[{check, message}]}: each failure is a fixed check name and one sentence naming the part or joint. Only verified bots can train. The same spec always gives the same bot_id; any change makes a new version of the bot with that name. A bot counts once against your stored-bots limit however many versions it has; the oldest unlabelled versions beyond the newest few are put away for you (archived_versions says how many). If status is "queued" or "running", call get_bot(bot_id) shortly.
| Argument | Type | Description |
|---|---|---|
| name* | string | Display name, 1-64 characters: letters, digits, spaces and _ ' ( ) . , - |
| spec* | object | The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide("the-file"). |
{
"type": "object",
"required": [
"name",
"spec"
],
"properties": {
"name": {
"type": "string",
"description": "Display name, 1-64 characters: letters, digits, spaces and _ ' ( ) . , -"
},
"spec": {
"type": "object",
"description": "The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide(\"the-file\")."
}
},
"additionalProperties": false
}The fast loop (a few seconds, nothing stored, needs no bot_id): runs YOUR bot alone on the arena floor and measures it: mass and centre of mass, size, ground clearance, upright, parts resting on the floor; drive forward/back 3 s (distance, top speed, parts dragging) and turns 2 s (degrees); each weapon (speed reached, time to speed, tip speed, reach envelope, own parts it touches); each move for 2.5 s (start/end position, turn, completed); self-right from its back and each side; then its own brain against an inert block 2.5 m ahead for 10 s (reached, weapon touched, moves and rules used). Plus diagnoses: one plain line per problem naming the part and what to change. stills: true adds pictures of the block phase (times stated). An invalid bot gets the validate errors instead.
| Argument | Type | Description |
|---|---|---|
| spec* | object | The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide("the-file"). |
| stills | boolean | Optional: also render 4 moments of the target phase. |
{
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide(\"the-file\")."
},
"stills": {
"type": "boolean",
"description": "Optional: also render 4 moments of the target phase."
}
},
"additionalProperties": false
}Quick check of a bot spec: shape, joints, connectivity, build box and mass. Stores nothing. Returns {ok, errors[], mass_kg, mass_breakdown[], guide}; each error names the part or joint to fix. `guide` is the guide version: if it differs from the one you read, read again what you rely on. Use it before preview_bot and submit_for_verification.
| Argument | Type | Description |
|---|---|---|
| spec* | object | The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide("the-file"). |
{
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "The bot spec (the contents of bot.json) as a JSON object, not a string: {spec_version, name, parts, joints, control}. See get_guide(\"the-file\")."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.