Hypabase

by hypabase

327 downloads
Not rated
GitHub

About

Hypergraph database for AI agents. Store n-ary relationships (edges connecting 2+ nodes), track provenance (source and confidence), and query paths — all backed by local

Details

Author
hypabase
Downloads
327
Categories
Other, Database, Knowledge Base

- Hyperedges connecting 2+ nodes in a single relationship
- Provenance tracking: every edge carries source and confidence
- SQLite persistence to a local file automatically
- O(1) vertex‑set lookup for exact node sets
- Namespace isolation via .database("name") within a single file
- MCP server with 14 tools and 2 resources for AI agents
- CLI for initialisation, nodes, edges, and queries

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Hypabase
    Command (node, npx, python, etc.) hypabase-mcp
    Environment
    • HYPABASE_DB_PATH hypabase.db

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via uv add hypabase (or uv add hypabase[mcp] for the MCP server, uv add hypabase[cli] for CLI). Use the Python API to create a Hypabase("file.db") instance, then call .edge(), .edges(), .paths(), .node(), .nodes(), .sources(), etc. Run the MCP server with hypabase mcp. CLI commands include hypabase init, hypabase node, hypabase edge, hypabase query, and hypabase stats.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "hypabase": {
            "command": "hypabase-mcp",
            "env": {
                "HYPABASE_DB_PATH": "hypabase.db"
            }
        }
    }
}

Command

"hypabase-mcp"

Env

{
    "HYPABASE_DB_PATH": "hypabase.db"
}

Hypabase

CI
PyPI
Python
License
Downloads

A Python hypergraph library with provenance and SQLite persistence.

Install

uv add hypabase

Quick example

```python
from hypabase import Hypabase

hb = Hypabase("my.db")

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.