Git has the cat-file command to inspect internal files, e.g. git cat-file blob 557db03 will show the contents of the object whose hash starts with 557db03.
Are there similar tools for mercurial that allow me to look at all the different data files that merfcurial uses internally?
Try
hg --debug helpand you can see the list of all the debug commands:There are a lot of them, and they pretty much expose everything.