This document introduces Midgard2, an open source content repository for mobile applications. It provides objects instead of SQL for storing data and signals about changes. The data model is scriptable and it allows for synchronization and sharing of data. Midgard2 uses a schema-free approach and stores data as JSON which can be accessed via JavaScript map/reduce queries or pulled via HTTP. It also integrates with CouchDB for a polyglot persistence approach. The document demonstrates how to install and use Midgard2 with examples in PHP, Python and Vala. It also introduces Midgard MVC for building web applications on top of the content repository.