You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc7fa26
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: hyperdb-mcp/README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,31 @@ Built on the pure-Rust [`hyperdb-api`](../hyperdb-api/) crate for maximum perfor
10
10
11
11
LLMs are powerful at reasoning but cannot natively crunch millions of rows. This plugin bridges that gap: another MCP tool produces data, the LLM passes it to `hyperdb-mcp`, Hyper ingests it and makes it SQL-queryable, the LLM runs analytical SQL, and results come back as JSON. Optionally export to CSV, Parquet, Apache Iceberg, Arrow IPC, or `.hyper` (opens directly in **Tableau Desktop**).
12
12
13
+
### Queryable Memory for AI
14
+
15
+
Unlike flat-text memory systems that store blobs and retrieve by similarity search, HyperDB gives LLMs **structured, queryable long-term memory**. The persistent database survives across sessions — anything the LLM stores there can be JOINed, filtered, aggregated, and reasoned over with full SQL in any future conversation.
16
+
17
+
This means an LLM can:
18
+
-**Accumulate knowledge over time** — store reference tables, project decisions, user preferences, learned facts
19
+
-**Cross-reference across sessions** — JOIN today's analysis against historical data from last week
20
+
-**Answer complex recall questions** — "Which projects had budget overruns in Q1?" is a SQL query, not a fuzzy text search
21
+
-**Build on prior work** — load yesterday's cleaned dataset and extend it without re-processing from scratch
22
+
-**Maintain structured context** — store relationship graphs, timelines, or decision logs as proper tables with typed columns
23
+
24
+
The ephemeral database is scratch space (think: a whiteboard). The persistent database is long-term memory (think: a filing cabinet you can query). Multiple AI clients sharing the same daemon see the same persistent data — so Claude Code, Cursor, and VS Code Copilot can all read from and contribute to the same knowledge base.
25
+
13
26
---
14
27
15
28
## Features
16
29
17
30
-**Zero setup** — `HyperProcess` auto-starts the Hyper server
18
31
-**Shared `hyperd` daemon** — one Hyper process per user, shared across all MCP clients (Claude Code, Cursor, VS Code, etc.) for reduced memory overhead and concurrent access to the same persistent databases
32
+
-**Queryable long-term memory** — persistent database survives across sessions; LLMs can store, recall, JOIN, and aggregate structured knowledge over time — not just retrieve text blobs, but reason over them with SQL
19
33
-**Any data in** — JSON, CSV, Parquet, Arrow IPC, Apache Iceberg; schema inferred or exact
20
34
-**SQL at scale** — thousands to billions of rows
21
35
-**Data out** — export to CSV, Parquet, Apache Iceberg, Arrow IPC, or `.hyper` (Tableau Desktop-ready)
22
36
-**One-shot queries** — `query_file("/tmp/sales.csv", "SELECT ...")` — single call, zero management
23
-
-**Persistent workspace** — load multiple tables, JOIN across them, persist across sessions
37
+
-**Cross-session continuity** — load multiple tables, JOIN across them, persist across sessions; pick up exactly where you left off
24
38
-**Read-only safe mode** — `--read-only` flag for safe deployment
25
39
-**Schema resources** — auto-discover table schemas via `resources/list`
@@ -163,7 +177,7 @@ Any tool that supports the MCP stdio transport can use this server. Point it at
163
177
164
178
## Operating Modes
165
179
166
-
Each session has **two databases**: an ephemeral primary (always created fresh per session, deleted on exit) and a persistent attachment (stored at the platform-default location or a path you supply). Unqualified SQL targets the ephemeral primary; the persistent attachment is reachable as the `"persistent"` alias and survives across sessions.
180
+
Each session has **two databases**: an ephemeral primary (scratch space — always created fresh per session, deleted on exit) and a persistent database (queryable long-term memory — stored at the platform-default location or a path you supply, survives indefinitely). Unqualified SQL targets the ephemeral primary; the persistent database is reachable as the `"persistent"` alias.
167
181
168
182
### Hyper engine
169
183
@@ -186,7 +200,7 @@ The shared daemon is the bigger win for users running multiple AI clients (Claud
186
200
187
201
### Working with both databases
188
202
189
-
Tool calls default to the ephemeral primary — that's the LLM's scratch space for exploratory work. There are two ways to reach the persistent attachment:
203
+
Tool calls default to the ephemeral primary — that's the LLM's scratch space for exploratory work that doesn't need to outlive the session. To store data in long-term memory (the persistent database), there are two ways to reach it:
190
204
191
205
**1. Per-tool `database` parameter** (preferred for ergonomic LLM workflows):
0 commit comments