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.
https://api.weightship.com/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
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
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
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
test_prompt_rules
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.
{
"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)."
}
}
}{
"title": "Test a prompt's rules",
"readOnlyHint": false,
"openWorldHint": true
}get_rulebench_report
Get the results of a Rulebench audit, waiting up to wait_seconds for runs still in progress.
{
"type": "object",
"required": [
"audit_id"
],
"properties": {
"audit_id": {
"type": "string"
},
"wait_seconds": {
"type": "integer",
"maximum": 55,
"minimum": 0
}
}
}{
"title": "Get an audit report",
"readOnlyHint": true
}suggest_prompt_fix
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.
{
"type": "object",
"required": [
"audit_id"
],
"properties": {
"audit_id": {
"type": "string"
}
}
}{
"title": "Suggest a prompt fix",
"readOnlyHint": true
}retest_prompt
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.
{
"type": "object",
"required": [
"audit_id"
],
"properties": {
"prompt": {
"type": "string",
"description": "Revised system prompt. Leave out to rerun the original."
},
"audit_id": {
"type": "string"
}
}
}{
"title": "Retest a prompt",
"readOnlyHint": false,
"openWorldHint": true
}schedule_monitoring
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).
{
"type": "object",
"required": [
"audit_id",
"schedule"
],
"properties": {
"audit_id": {
"type": "string"
},
"schedule": {
"enum": [
"daily",
"weekly",
"off"
],
"type": "string"
}
}
}{
"title": "Schedule monitoring",
"readOnlyHint": false
}gate_model_change
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).
{
"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."
}
}
}{
"title": "Gate a model change",
"readOnlyHint": false,
"openWorldHint": true
}get_gate_messages
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.
{
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"skills": {
"type": "boolean"
},
"audit_id": {
"type": "string"
}
}
}{
"title": "Get gate messages",
"readOnlyHint": false
}get_gate_result
The verdict of a gate, waiting up to wait_seconds while it runs.
{
"type": "object",
"required": [
"gate_id"
],
"properties": {
"gate_id": {
"type": "string"
},
"wait_seconds": {
"type": "integer",
"maximum": 55,
"minimum": 0
}
}
}{
"title": "Get a gate result",
"readOnlyHint": true
}list_models
Suggested chat models to test (OpenRouter ids). Any OpenRouter model id works.
{
"type": "object",
"properties": {}
}{
"title": "List models",
"readOnlyHint": true
}Prompts
Not advertised
Resources
Not advertised
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.
- 2026-12-03: 3 of 3 checks answered
- 2026-12-04: 4 of 4 checks answered
- 2026-12-05: 4 of 4 checks answered
- 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.
Claude Code
claude mcp add --transport http rulebench-mcp https://api.weightship.com/mcpCodex
codex mcp add rulebench-mcp --url https://api.weightship.com/mcpCursor
{
"mcpServers": {
"rulebench-mcp": {
"url": "https://api.weightship.com/mcp"
}
}
}Cline
{
"mcpServers": {
"rulebench-mcp": {
"type": "streamableHttp",
"url": "https://api.weightship.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"rulebench-mcp": {
"type": "http",
"url": "https://api.weightship.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http rulebench-mcp https://api.weightship.com/mcpClaude Desktop
https://api.weightship.com/mcpWindsurf
{
"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.
Other ai and machine learning servers
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.