ClearRun

v1.2.1
io.github.Adepoco/clearrun-mcp Checked 2 days ago Published 7 days ago

Scores whether an AI answer's confidence is backed by its reasoning, 0 to 100; not a fact checker.

A signed-in free account with a verified email can create one developer key at https://api.clearrun.net/account/keys. The full key is shown once and starts with crun_. It calls evaluate, score, and chat, and it returns the free verdict: score, grade, risk, and a summary of 16 words or fewer. componentSignals is limited to Evidence support and Reasoning integrity. confidenceInterval and scoringVersion are omitted. Calls spend the free plan's 30 monthly credits. The default cap is 2 requests a second, 6 a minute, 30 an hour, and 40 a day. Evaluate, score, and chat share that cap.

Summary extracted from the README.

@clearrun/mcp

Get an API key

A signed-in free account with a verified email can create one developer key at https://api.clearrun.net/account/keys. The full key is shown once and starts with crun_. It calls evaluate, score, and chat, and it returns the free verdict: score, grade, risk, and a summary of 16 words or fewer. componentSignals is limited to Evidence support and Reasoning integrity. confidenceInterval and scoringVersion are omitted. Calls spend the free plan's 30 monthly credits. The default cap is 2 requests a second, 6 a minute, 30 an hour, and 40 a day. Evaluate, score, and chat share that cap. Over the cap, the API returns 429 and Retry-After. Signed-in chat and Paste Check on api.clearrun.net do not use the key. Chain verification and audit export need a Pro plan or higher. An unverified account cannot create a key. A free account can hold one active developer key. Revoke it before creating another. A key that is not a free developer key is refused on a free account with 403 and code API_ACCESS_REQUIRED. On Pro, Business, and Enterprise, API access is a saved setting. Turning it off returns 403 and code API_ACCESS_DISABLED. That switch does not turn a free developer key on or off.

ClearRun does not use your content to train third-party or generation models. Whether your evaluations may help improve ClearRun's own scoring is an account setting: free plans start opted in, paid plans start opted out, and Enterprise stays off.

  1. Open https://api.clearrun.net/account/keys. Sign in on that page if you need an account. That page is where you create a key.
  2. Save the key:
npx @clearrun/cli login

Or set CLEARRUN_API_KEY in the host config below. Do not commit a real key.

The server checks a key passed in code, then CLEARRUN_API_KEY, then ~/.config/clearrun/config.json from clearrun login. When no key is configured, clearrun_score, clearrun_evaluate, and clearrun_chat return that same message and the process logs it to stderr at startup. clearrun_verify does not need a key. The key is never logged or written into a tool result.

Stdio MCP server for ClearRun. Version 1.2.1.

clearrun_verify looks up a verdict with no API key. clearrun_score, clearrun_evaluate, and clearrun_chat need a key. npm @clearrun/mcp@0.2.0, published 2026-10-29, still requires CLEARRUN_API_KEY for clearrun_verify.

ClearRun scores the honesty of an AI answer: whether the confidence it expresses is backed by its reasoning. It is not a fact-checker. A high score means the confidence matches the justification. It does not mean the answer is true.

The server calls the hosted API at https://api.clearrun.net through @clearrun/sdk. It does not score on its own. The scoring engine stays in the hosted service. This package does not contain scoring logic, weights, or formulas, and it never falls back to the mock client.

Why use it

Use it when an assistant should check an answer before you rely on it. The tools return a 0 to 100 honesty score, a grade, component signals, and, when the API sends one, a signed verdict you can look up again. The same check is available in Claude Desktop, Claude Code, Cursor, and VS Code.

Access

See Get an API key above. A key passed to createClearRunServer({ apiKey }) overrides the environment and the config file.

Node.js 18 or newer is required.

Install

npx -y @clearrun/mcp

Or install it in a project:

npm install @clearrun/mcp

@clearrun/mcp 1.2.1 depends on @clearrun/sdk ^1.2.0 and @clearrun/core-types ^1.2.0. npx -y @clearrun/mcp installs 1.2.0 until 1.2.1 is published. In the 0.2.0 build, clearrun_verify still requires CLEARRUN_API_KEY. The tool list below matches 1.2.1, where verify does not read the key.

From a clone of https://github.com/Adepoco/ClearRun:

npm install
npm run build -w @clearrun/mcp
node packages/mcp/dist/index.js

From a clone, point the host command at node and args at the absolute path of packages/mcp/dist/index.js. Keep the same env block.

Agents installing this server for Cline should follow llms-install.md. The same guide is at the repository root: llms-install.md.

Host configuration

Each block runs npx -y @clearrun/mcp and passes CLEARRUN_API_KEY in env. Replace YOUR_CLEARRUN_API_KEY with a key from the keys page. A verified free account can create one free developer key. On Pro, Business, and Enterprise, API access must be turned on. clearrun_score, clearrun_evaluate, and clearrun_chat need that key. Omit env only when the host will call clearrun_verify alone. Prefer your host's secret input when it has one, so the key is not stored in the repo.

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json).

{
  "mcpServers": {
    "clearrun": {
      "command": "npx",
      "args": ["-y", "@clearrun/mcp"],
      "env": {
        "CLEARRUN_API_KEY": "YOUR_CLEARRUN_API_KEY"
      }
    }
  }
}

Restart Claude Desktop after saving.

Claude Code

Project file .mcp.json at the repository root:

{
  "mcpServers": {
    "clearrun": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@clearrun/mcp"],
      "env": {
        "CLEARRUN_API_KEY": "YOUR_CLEARRUN_API_KEY"
      }
    }
  }
}

Or add it from the terminal. The -- keeps -y attached to npx.

claude mcp add clearrun --env CLEARRUN_API_KEY=YOUR_CLEARRUN_API_KEY -- npx -y @clearrun/mcp

Approve the server when Claude Code asks, then run /mcp and confirm clearrun is connected.

Cursor

Project file .cursor/mcp.json:

{
  "mcpServers": {
    "clearrun": {
      "command": "npx",
      "args": ["-y", "@clearrun/mcp"],
      "env": {
        "CLEARRUN_API_KEY": "YOUR_CLEARRUN_API_KEY"
      }
    }
  }
}

The same object works in the user file ~/.cursor/mcp.json.

VS Code

Workspace file .vscode/mcp.json:

{
  "servers": {
    "clearrun": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@clearrun/mcp"],
      "env": {
        "CLEARRUN_API_KEY": "YOUR_CLEARRUN_API_KEY"
      }
    }
  }
}

To keep the key out of the file, set CLEARRUN_API_KEY in your environment and use "${env:CLEARRUN_API_KEY}" as the value. User-level setup is the command MCP: Open User Configuration.

Tools

Each tool returns JSON. When the API sends a verdict, the result includes score and the verdict object as returned, and scoringVersion when the API sends it. responseText (chat) and verified (verify) are included when the API sends them. A receipt field is included only when the API sends one. This package does not invent a scoring version or a receipt. A schema 1.1.0 coarse response and a coarse 1.0.0 public or free verdict still count as a verdict. Coarse 1.0.0 keeps the verdict id, schema version, score, grade, risk, summary, timestamp, and signature fields, and omits scoring version, failure categories, confidence interval, named signals, and the signals digest.

scored is true when the body has a verdict. answered is true when chat text is present. A 200 body of {}, or a chat body with neither responseText nor response, is a tool error. A chat answer with no verdict is answered and not scored.

None of these tools fact-check the answer.

Tool What it does Example arguments
clearrun_score Score text that was already written (POST /api/score). { "responseText": "The Eiffel Tower is in Berlin." }
clearrun_evaluate Score an existing answer, with the prompt when you have it (POST /api/evaluate). { "prompt": "Where is the Eiffel Tower?", "responseText": "The Eiffel Tower is in Berlin." }
clearrun_chat Ask the hosted API to generate an answer and score it (POST /api/chat). { "message": "What is the capital of France?" }
clearrun_verify Look up a verdict id (GET /api/verify/{verdictId}). { "verdictId": "the-verdict-id" }

clearrun_score requires responseText (the answer text itself, not a file path or a verdict id) and accepts an optional modelId. clearrun_evaluate requires responseText and accepts optional prompt, modelId, and sessionId. clearrun_chat requires message (a prompt for a new answer, not text to score as-is) and accepts optional modelId and sessionId. clearrun_verify requires verdictId. Each field is described on the tool input schema. The process starts over stdio with no API key, so a client can list the tools before a key is set.

In a host, ask in plain language, for example: "Use clearrun_score on this answer." The host fills the arguments.

A 403 from the API is returned as text, including the error string the API sends. A free account that presents a key which is not a free developer key gets code API_ACCESS_REQUIRED. Turning API access off on Pro, Business, or Enterprise gets code API_ACCESS_DISABLED.

Credits

Credits are metered per call. On the public pricing page, evaluate and score cost at least 3 credits. Chat costs at most 4 credits per turn. clearrun_verify spends no credits. Current costs and plans: https://api.clearrun.net/pricing.

Verify a verdict

Hosted verdicts can be checked again with no account:

curl https://api.clearrun.net/api/verify/VERDICT_ID

That public request does not use an API key. The MCP tool clearrun_verify does not need one either, and it does not send Authorization. The lookup does not fact-check the original answer. It returns the verification result the API returns. A body that is not a verification result is a tool error. That error does not mean the verdict id was invalid.

Registry name

package.json sets mcpName to io.github.Adepoco/clearrun-mcp. server.json in this package is the Official MCP Registry manifest (npm package @clearrun/mcp, version 1.2.1, stdio) for the GitHub org Adepoco. The registry treats that namespace as case-sensitive, so the org segment matches the login Adepoco. CLEARRUN_API_KEY is a secret and isRequired is false: clearrun_score, clearrun_evaluate, and clearrun_chat need it, and clearrun_verify does not. npm @clearrun/mcp 1.2.0 is published. Submitting this manifest waits until 1.2.1 is on npm, because the registry reads mcpName from the published tarball. This repository does not publish it. See docs/LISTINGS.md.

ClearRun is made by Adepoco, a California corporation. Contact: contact@adepoco.com.

License

MIT. The hosted scoring service is licensed separately.