cloud_eval

Pack: lichess · Endpoint: https://gateway.pipeworx.io/lichess/mcp

Stockfish cloud evaluation for a FEN position.

Parameters

NameTypeRequiredDescription
fenstringyesFEN of position to evaluate.
multi_pvnumberno1-5 (default 1)

Example call

Arguments

{
  "fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
}

curl

curl -X POST https://gateway.pipeworx.io/lichess/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cloud_eval","arguments":{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('cloud_eval', {
  "fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
});

More examples

{
  "fen": "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1",
  "multi_pv": 3
}

Response shape

FieldTypeDescription
fenstringPosition FEN
knodesnumberKilo-nodes evaluated
depthnumberSearch depth
pvsarrayPrincipal variations (multi_pv results)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "fen": {
      "type": "string",
      "description": "Position FEN"
    },
    "knodes": {
      "type": "number",
      "description": "Kilo-nodes evaluated"
    },
    "depth": {
      "type": "number",
      "description": "Search depth"
    },
    "pvs": {
      "type": "array",
      "description": "Principal variations (multi_pv results)",
      "items": {
        "type": "object",
        "properties": {
          "moves": {
            "type": "string",
            "description": "Best line in UCI"
          },
          "mate": {
            "type": "number",
            "description": "Mate in N (if applicable)"
          },
          "cp": {
            "type": "number",
            "description": "Centipawn evaluation"
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "lichess": {
      "url": "https://gateway.pipeworx.io/lichess/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026