cloud_eval
Pack: lichess · Endpoint: https://gateway.pipeworx.io/lichess/mcp
Stockfish cloud evaluation for a FEN position.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fen | string | yes | FEN of position to evaluate. |
multi_pv | number | no | 1-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
| Field | Type | Description |
|---|---|---|
fen | string | Position FEN |
knodes | number | Kilo-nodes evaluated |
depth | number | Search depth |
pvs | array | Principal 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.