xyzdb

Tunolabs/xyzdb
★ 6 stars Rust AI/LLM Updated today
Semantic gravity database in Rust: related records live together on disk, so graph traversal is a range scan and vector search is exact — never approximate. Runs in 256 MB, with a built-in MCP server for agents.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "xyzdb": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "xyzdb"
      ]
    }
  }
}

README Excerpt

A semantic gravity database. Related records live together on disk by identity — graph traversal is a range scan, aggregates are metadata reads, pre-aggregations build themselves from observed query telemetry. A single-tier hardened LSM engine; semantic vector search (`NEAREST`) runs as an exact, gravity-bounded scan with no ANN index — embeddings are always supplied by the caller; the engine never embeds.

Topics

agent-memoryai-agentsdatabasellmmcpmodel-context-protocolnearest-neighbor-searchragrustsemantic-searchsimilarity-searchsource-availablevector-databasevector-search