Does the ClearRun CLI have a mock or offline mode?

No. clearrun score always calls api.clearrun.net and needs a key. For local, offline local test scores, use the SDK's mock mode.

Last updated

Offline with the SDK

import { createKernelClient } from '@clearrun/sdk';
const client = createKernelClient({ forceMock: true });
const { verdict } = await client.score({ responseText: 'Our API never stores customer data.' });

Mock scores are local test values, not real evaluations. They are never signed. See How to use ClearRun mock mode for local development (forceMock).

The MCP server

It has no mock mode either.