I want to run a batch analysis of games and produce output like Lichess computer analysis. I want to do this offline on my desktop PC. Since Stockfish is free, there must exist some solution. Does anyone have any ideas, please?

  • 2
    I'd be really curious to know the motives of people downvoting this question.
    – Olorin
    Dec 30 '20 at 15:14
  • I seems obvious to me. Not being constantly tethered to the cloud, possibly having control over the output files. Doing data analysis on more that one game, without having to batch lichess API. There could be a whole swoop of this kind of question for anything online.
    – dbdb
    Aug 7 '21 at 1:52

Lichess provides its source code, so it should be easy to use this code, with minor modifications, with any number of scripts.
Most engines already come with a computer analysis, so writing a program to feed in every position from a pgn file is easily done.

The problem with both is programming skills. I thought that I could do this, but I gave up even before I found the code related to reading pgn files. There must be a programmer who would do this just for a challenge, but finding him seems impossible today. On the other hand, Python claims to be easy to program and already has chess code provided, maybe with a little effort, you could accomplish this yourself.

Sory, this is no help, but, although most currently have the spare time, all consider this not prestige enough to bother.

  • My first guess would be to look for local server solutions. And finding out what UI does ask server and how it gets its answers.
    – dbdb
    Aug 7 '21 at 1:52

http://www.open-aurec.com/wbforum/viewtopic.php?t=52576 https://adamsccpages.blogspot.com/p/computer-chess-utility-programs.html#n https://github.com/fsmosca/EPD-Analyzer

I haven't tested the above programs.

Shredder can include score, but it doesn't suggest the best move and commercial. Lucaschess can analyze a game, but is a weak program and tends to give incorrect analysis. Arena has a good strength, but after some time, the program tends to freeze and becomes useless.


The analysis window of Scid vs Pc offers the possibility of analyzing games in batches (same for the older Scid). For this, you need to check the option "Batch annotation" and introduce the number of games to analyze, starting from the present one.


Plenty of programs out there. You can use something like chessbase which is what I do. There are free alternatives like SCID.

Another option is to write your own program that passes games to a engine for analysis.Alternatively you could leverage the apis of chess.com and lichess.com.

I play primarily on lichess and have written a program to auto download games and append to a chessbase database. From there I kick off a bulk analysis job. I'm trying to find a way to auto perform analysis on chessbase from a cli but that's overkill easy enough to select the games in mass and kick off from there

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.