Validate
mif-schema validates MIF documents, citations, and ontology
definitions against the canonical, vendored JSON Schema — offline,
no network access at validation time.
mif-rs implements the MIF (Modeled Information Format)
specification as nine Cargo workspace crates: seven libraries and two thin
binaries built on top of them.
Validate
mif-schema validates MIF documents, citations, and ontology
definitions against the canonical, vendored JSON Schema — offline,
no network access at validation time.
Resolve ontologies
mif-ontology resolves the three-tier extends inheritance chain
across a corpus of ontology definition files.
Project losslessly
mif-frontmatter projects markdown frontmatter to JSON-LD and back,
proving the round trip is lossless — the frontmatter markdown is
source of truth; JSON-LD is always a derived projection.
Embed and search
mif-embed computes local sentence embeddings offline after first
fetch; mif-store ranks them by cosine similarity in a SQLite-backed
vector store.
Both mif-cli and mif-mcp are thin consumers of those five libraries: a
command-line tool and an MCP server exposing the identical
validate/ingest/search/resolve operations as tools for an agent.
Every failure across the workspace maps to an
RFC 9457 application/problem+json
envelope with a stable, versioned type URI — not just a human-readable
message. See the error reference for the full catalog.