Hi
Maybe you can build a wrapper script that “translates” your CLI into counterblock API alls (via curl, or other).
Or maybe you can try to use Sqlite (not good for production, but good enough for playing around with).
You can get the schema by dumping it from Sqllite CLI (or by checking counterblock API source on Github, I suppose).