mif-mcp-0.6.0 is not a library.
mif-mcp
MCP server for the MIF (Modeled Information Format) ecosystem.
Exposes six tools over stdio, mirroring mif-cli:
validate_mif_document— validate a MIF document (markdown with frontmatter, or JSON-LD) against the canonical schema, with no side effects (no embedding model load, no vector store write).resolve_ontology_reference— resolve an ontology's three-tierextendschain.ingest_mif_document— lint, validate, prove a lossless round trip, compute an embedding, and store the embedding vector for one MIF document (markdown with frontmatter, or JSON-LD).db_pathdefaults to.mif/vectors.db, created (with its parent directory) if absent.search_documents— free-text semantic search over previously ingested documents.limitdefaults to 10.find_similar_documents— find previously ingested documents similar to an already-ingested one, identified by its id.limitdefaults to 10 and excludes the anchor document itself.corpus_stats— summary statistics (count, embedding dimensionality) over the vector store.
Error output format
An MCP client is inherently a machine consumer — there is no terminal to detect — so every tool failure renders as a compact RFC 9457 application/problem+json envelope rather than plain text, using the same mif_problem/ToProblem pattern as mif-cli's --format json.
License
MIT