Mergeway

Mergeway is a specification and suite of tools for reading and modifying a file-based database.
Schemas and records stay in ordinary YAML and JSON files, so teams can review data changes in Git while Mergeway checks structure and relationships.

Install mergeway-cli Build your first repository

One repository model, several ways to work

Use mergeway-cli to validate, inspect, modify, format, and export records. Add mergeway-diff for semantic reviews, mergeway-python for typed Python automation, mergeway-mcp for read-only AI-tool access, or mergeway-lsp for editor diagnostics and navigation. Every component works with the same repository model defined by the Mergeway specification.

  • Define and validate

    Use the version 1 specification and mergeway-cli to model, inspect, validate, and export repositories.

  • Review changes

    Use mergeway-diff to compare repository states as records and relationships instead of raw text.

  • Connect tools

    Give AI clients read-only access through mergeway-mcp or editor clients diagnostics and navigation through mergeway-lsp.

  • Automate with Python

    Use the mergeway Python package to generate typed models and automate repository operations.

Start here