How to split video into multiple files based on chapter markers?
mkvmerge, a part of MKVtoolnix, will split a MKV file by chapters.

Basic syntax is

mkvmerge -o chapter.mkv --split chapters:all input.mkv


but see Section 2.5 #7 of the documentation for more details.