VaultGraph Core

v0.1.6
io.github.qwnzkkldsfai/vaultgraph-core Checked 4 days ago Published 4 days ago

AGPL-free GraphRAG license scanner, <60s eval harness & zero-dep stdio MCP server

For Simplified Chinese documentation, see README.zh-CN.md. · Glama Directory: vaultgraph-core on Glama · Official MCP Registry namespace: io.github.qwnzkkldsfai/vaultgraph-core Most open-source local PDF/RAG stacks hide AGPL-3.0 (PyMuPDF / pymupdf4llm), CC-BY-NC-SA-4.0 (Marker / SuryaOCR), or restrictive white-label clauses inside requirements.txt, or burn cloud LLM API budgets before answering a single developer question. 1.

Summary extracted from the README.

VaultGraph Core (MIT Open-Core)

CI License: MIT vaultgraph-core MCP server

AGPL-Free Clean-Room License Scanner + <60s Hybrid Graph/RRF Eval Harness + Zero-Dependency stdio MCP Server

For Simplified Chinese documentation, see README.zh-CN.md. · Glama Directory: vaultgraph-core on Glama · Official MCP Registry namespace: io.github.qwnzkkldsfai/vaultgraph-core


Why VaultGraph Core?

Most open-source local PDF/RAG stacks hide AGPL-3.0 (PyMuPDF / pymupdf4llm), CC-BY-NC-SA-4.0 (Marker / SuryaOCR), or restrictive white-label clauses inside requirements.txt, or burn cloud LLM API budgets before answering a single developer question.

VaultGraph Core isolates the clean-room foundations under the MIT License:

  1. Deterministic AST & Dependency Quarantine Scanner (vaultgraph license-audit): Flags AGPL-3.0, GPL, SSPL, CC-BY-NC-SA-4.0, and custom commercial clauses across Python imports, manifests, and active environments.
  2. Sample Graph+RRF Evaluation Harness (vaultgraph eval --golden --corpus sample): Reproducibly measures single-hop keyword baseline vs 1-hop knowledge-graph reciprocal rank fusion (RRF) at equal top_k=2 across multi-hop security/compliance cross-references in < 1s ($0.00 API spend).
  3. Zero-Dependency JSON-RPC 2.0 stdio MCP Server (vaultgraph mcp-stdio): Connects directly to Cursor, Claude Code, Codex, and Antigravity (vg_query, vg_graph_neighbors, vg_license_audit — read-only, idempotent, zero network calls).

<60s CLI, Docker OCI, .mcpb & Golden Retrieval Eval Quickstart

uvx --from "git+https://github.com/qwnzkkldsfai/vaultgraph-core" vaultgraph-core doctor
uvx --from "git+https://github.com/qwnzkkldsfai/vaultgraph-core" vaultgraph-core license-audit
uvx --from "git+https://github.com/qwnzkkldsfai/vaultgraph-core" vaultgraph-core eval --golden --corpus sample

Register immediately in Claude Code:

claude mcp add vaultgraph-core -- uvx --from "git+https://github.com/qwnzkkldsfai/vaultgraph-core" vaultgraph-core mcp-stdio

Or install in Claude Desktop (1-Click .mcpb) from GitHub Releases (vaultgraph-core-mcp-*.mcpb), or run via OCI Docker (ghcr.io) in Cursor / VS Code / Windsurf:

{
  "mcpServers": {
    "vaultgraph-core": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/qwnzkkldsfai/vaultgraph-core:0.1.6"]
    }
  }
}

Or use uvx directly in .mcp.json:

{
  "mcpServers": {
    "vaultgraph-core": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/qwnzkkldsfai/vaultgraph-core", "vaultgraph-core", "mcp-stdio"]
    }
  }
}

Option 2: Local Clone / Air-Gapped Virtualenv

git clone https://github.com/qwnzkkldsfai/vaultgraph-core.git && cd vaultgraph-core
# Linux / macOS:
python3 -m venv .venv
.venv/bin/python -m pip install -e .
.venv/bin/vaultgraph doctor
.venv/bin/vaultgraph license-audit
.venv/bin/vaultgraph eval --golden --corpus sample
.venv/bin/vaultgraph mcp-stdio   # waits for JSON-RPC 2.0 stdin; Ctrl-C to exit

# Windows PowerShell:
# python -m venv .venv
# .venv\Scripts\python.exe -m pip install -e .
# .venv\Scripts\vaultgraph.exe doctor
# .venv\Scripts\vaultgraph.exe license-audit
# .venv\Scripts\vaultgraph.exe eval --golden --corpus sample

Or install directly via pip or build locally with the MIT Dockerfile:

pip install "git+https://github.com/qwnzkkldsfai/vaultgraph-core.git"
vaultgraph self-check

Measured Sample Benchmark (eval --golden --corpus sample · Equal top_k=2)

Metric VaultGraph Hybrid (Graph + RRF) Keyword Baseline Delta
Coverage@2 (6 multi-hop queries) 1.0000 (100.0%) 0.5000 (50.0%) +50.00 pp
Mean Latency 0.034 ms 0.017 ms < 1 ms local
External API Spend $0.00 $0.00 100% offline

Available MCP Tools (2024-11-05 stdio · Read-Only Annotations)

  • vg_query(query, top_k=5, mode="hybrid"|"baseline"): Retrieve cross-control matches with matched graph entities.
  • vg_graph_neighbors(entity, limit=20): Inspect 1-hop knowledge-graph neighbors in the sample corpus.
  • vg_license_audit(target=...): Scan a target project directory for AGPL / GPL / SSPL / CC-BY-NC contamination.

Open-Core vs Clean-Room Appliance ($79) & Pre-Baked Compliance Brain ($149)

Part of Operation Self-Sustain — an autonomous 29-day public telemetry challenge:

Edition License / Delivery What's Included Direct Checkout
VaultGraph Core (this repo) MIT Open-Source Pure-stdlib license-audit, doctor, sample 1-hop Graph+RRF eval --corpus sample, and minimal stdio MCP server Free (uvx / git clone / MIT)
VaultGraph Clean-Room Appliance $79 Turnkey Pack Full permissive docling + LightRAG + embedded Qdrant + Ollama sequential 16GB/24GB VRAM ingestion pipeline, crosswalk builder, Docker Compose optional stack, offline .whl + installers, and 36-query AppSec/AI Compliance Golden Eval (91.11% Precision@5 vs 63.89% naive baseline, +27.22 pp) Ko-fi Instant USD · Gumroad
VaultGraph Pro + Pre-Baked Brain $149 Appliance + Snapshot Everything in Tier A plus pre-indexed .tar.zst 7-framework Knowledge Graph snapshot (NIST AI RMF, NIST SP 800-53, EU AI Act 2024/1689, OWASP ASVS / Top-10 / LLM Top-10, MITRE CWE — 3,865 entities / 4,044 edges, 2.33s cold MCP boot, $0 indexing cost) Ko-fi Instant USD · Gumroad