Koskamo

Rulebench MCP

Rulebench is an MCP server that allows AI agents to test system prompts by extracting rules and automatically generating test cases to verify model compliance. It provides reports on rule breaks, supports integration with GitHub Actions for CI/CD checks, and includes a model gate feature to compare model performance before and after changes.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Rulebench MCP logo, by WeightshipVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-12-03Operated by Weightship
You need:Sign in with GitHub to get your key and the setup command.
MCP endpoint (Streamable HTTP)
https://api.weightship.com/mcp
Vendor documentation

What its tools do

9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

9 of 9 have a description · 9 of 9 declare behavior hints · 2 of 8 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to weightship.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Test system prompts for rule compliance
  • Integrate prompt testing into GitHub Actions
  • Compare model performance using the model gate
  • Generate automated test cases from prompt rules

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
rulebench 1.0.0
MCP protocol negotiated in check
2025-06-18
Tools
9 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Use test_prompt_rules whenever you write or change a system prompt for a chatbot or LLM feature, to check it keeps its rules on several models. Then suggest_prompt_fix and retest_prompt to fix what breaks. Before swapping, fine-tuning or editing the weights of a model a bot runs on, use gate_model_change to check the new model isn't worse.

Tools

9 advertised

test_prompt_rules
Advertised by the server during the last successful anonymous check.
Open-world

Test whether a chatbot or LLM feature keeps the rules in its system prompt. Rulebench reads the rules out of the prompt, writes everyday and adversarial test messages, runs them on the chosen models with the prompt as the system prompt, and grades every reply rule by rule. Returns the score per model, the rules that broke with example replies, and a report link. Use it after writing or changing a system prompt, or before switching models.

test_prompt_rules input schema
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "A short name for the bot."
    },
    "models": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "OpenRouter model ids to test, up to 6 (default: three popular chat models). Call list_models for suggestions."
    },
    "prompt": {
      "type": "string",
      "description": "The full system prompt to test."
    },
    "messages": {
      "type": "integer",
      "maximum": 60,
      "minimum": 6,
      "description": "How many test messages to write (default 24)."
    }
  }
}
test_prompt_rules annotations
{
  "title": "Test a prompt's rules",
  "readOnlyHint": false,
  "openWorldHint": true
}
get_rulebench_report
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get the results of a Rulebench audit, waiting up to wait_seconds for runs still in progress.

get_rulebench_report input schema
{
  "type": "object",
  "required": [
    "audit_id"
  ],
  "properties": {
    "audit_id": {
      "type": "string"
    },
    "wait_seconds": {
      "type": "integer",
      "maximum": 55,
      "minimum": 0
    }
  }
}
get_rulebench_report annotations
{
  "title": "Get an audit report",
  "readOnlyHint": true
}
suggest_prompt_fix
Advertised by the server during the last successful anonymous check.
Advertised read-only

Draft a revised system prompt that fixes the rules an audit found broken. Returns the new prompt and what changed; run retest_prompt with it to check.

suggest_prompt_fix input schema
{
  "type": "object",
  "required": [
    "audit_id"
  ],
  "properties": {
    "audit_id": {
      "type": "string"
    }
  }
}
suggest_prompt_fix annotations
{
  "title": "Suggest a prompt fix",
  "readOnlyHint": true
}
retest_prompt
Advertised by the server during the last successful anonymous check.
Open-world

Run an audit's same test messages on the same models again, either unchanged (to check a model update) or with a revised prompt, and report before versus after.

retest_prompt input schema
{
  "type": "object",
  "required": [
    "audit_id"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Revised system prompt. Leave out to rerun the original."
    },
    "audit_id": {
      "type": "string"
    }
  }
}
retest_prompt annotations
{
  "title": "Retest a prompt",
  "readOnlyHint": false,
  "openWorldHint": true
}
schedule_monitoring
Advertised by the server during the last successful anonymous check.

Rerun an audit daily or weekly and email the account owner when a rule starts breaking more often (for example after a provider updates a model).

schedule_monitoring input schema
{
  "type": "object",
  "required": [
    "audit_id",
    "schedule"
  ],
  "properties": {
    "audit_id": {
      "type": "string"
    },
    "schedule": {
      "enum": [
        "daily",
        "weekly",
        "off"
      ],
      "type": "string"
    }
  }
}
schedule_monitoring annotations
{
  "title": "Schedule monitoring",
  "readOnlyHint": false
}
gate_model_change
Advertised by the server during the last successful anonymous check.
Open-world

Check a model change before it ships: a fine-tune, a weight edit, a merge, or switching to a different model. The current model (base) and the changed one (candidate) answer the same audit messages with the bot's instructions, plus a fixed set of everyday-skill prompts (facts, arithmetic, formats, other languages, refusals, coherence). The gate fails if the candidate is measurably worse on any rule or skill, and returns the replies that got worse. Each side is {"model": id} (with key_id for a connected key), {"ref": "handle/model"} for a model hosted on Weightship, or {"replies": {message_id: text}} for a model you ran yourself (get the messages with get_gate_messages).

gate_model_change input schema
{
  "type": "object",
  "required": [
    "base",
    "candidate"
  ],
  "properties": {
    "base": {
      "type": "object",
      "description": "The model in use now."
    },
    "prompt": {
      "type": "string",
      "description": "Or the bot's system prompt, to make a new audit for the gate."
    },
    "skills": {
      "type": "boolean",
      "description": "Also check everyday skills (default true)."
    },
    "audit_id": {
      "type": "string",
      "description": "An existing audit whose messages to use."
    },
    "candidate": {
      "type": "object",
      "description": "The changed model."
    }
  }
}
gate_model_change annotations
{
  "title": "Gate a model change",
  "readOnlyHint": false,
  "openWorldHint": true
}
get_gate_messages
Advertised by the server during the last successful anonymous check.

Every message a gate will ask, with the system prompt to use, so you can run a local or private model on them and send its replies to gate_model_change. Makes an audit from prompt if you don't pass audit_id.

get_gate_messages input schema
{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string"
    },
    "skills": {
      "type": "boolean"
    },
    "audit_id": {
      "type": "string"
    }
  }
}
get_gate_messages annotations
{
  "title": "Get gate messages",
  "readOnlyHint": false
}
get_gate_result
Advertised by the server during the last successful anonymous check.
Advertised read-only

The verdict of a gate, waiting up to wait_seconds while it runs.

get_gate_result input schema
{
  "type": "object",
  "required": [
    "gate_id"
  ],
  "properties": {
    "gate_id": {
      "type": "string"
    },
    "wait_seconds": {
      "type": "integer",
      "maximum": 55,
      "minimum": 0
    }
  }
}
get_gate_result annotations
{
  "title": "Get a gate result",
  "readOnlyHint": true
}
list_models
Advertised by the server during the last successful anonymous check.
Advertised read-only

Suggested chat models to test (OpenRouter ids). Any OpenRouter model id works.

list_models input schema
{
  "type": "object",
  "properties": {}
}
list_models annotations
{
  "title": "List models",
  "readOnlyHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (13 of 13 checks answered)

  1. 2026-12-03: 3 of 3 checks answered
  2. 2026-12-04: 4 of 4 checks answered
  3. 2026-12-05: 4 of 4 checks answered
  4. 2026-12-06: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
871 ms
95th percentile latency
871 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 871 ms · metadata changed · 9 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http rulebench-mcp https://api.weightship.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add rulebench-mcp --url https://api.weightship.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable rulebench-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "rulebench-mcp": {
      "url": "https://api.weightship.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "rulebench-mcp": {
      "type": "streamableHttp",
      "url": "https://api.weightship.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start rulebench-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "rulebench-mcp": {
      "type": "http",
      "url": "https://api.weightship.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http rulebench-mcp https://api.weightship.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.weightship.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "rulebench-mcp": {
      "serverUrl": "https://api.weightship.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Rulebench MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Rulebench MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing