Connect RushDB
Start with the path that matches how you work. Every path below works with RushDB Cloud (sign in at app.rushdb.com and use an API key) or with a self-hosted RushDB engine (the rushdb binary on your own machines, reached with its URL and token).
| Goal | Fastest path | Cloud | Self-hosted |
|---|---|---|---|
| Build an application or data pipeline | Use an SDK | ✓ | ✓ |
| Give Cursor, Claude Desktop, or VS Code RushDB tools | Local MCP server | ✓ | ✓ |
| Use RushDB from ChatGPT or Claude.ai | Hosted MCP connector | ✓ | — |
| Teach an AI agent correct RushDB workflows | Install Agent Skills | ✓ | ✓ |
| Add persistent memory to an agent | Agent memory | ✓ | ✓ |
| Build RAG or agents with LangChain or LangGraph | LangChain & LangGraph | ✓ | ✓ |
| Build a knowledge graph with LlamaIndex | LlamaIndex | ✓ | ✓ |
| Sync an existing database (change data capture) | Debezium | ✓ | ✓ |
| Search an Obsidian vault and give agents your notes | Obsidian | ✓ | ✓ |
| Query with PostgreSQL or Neo4j drivers, or gRPC | SQL and Cypher clients | — | ✓ |
Use an SDK
The TypeScript and Python SDKs have one API for both. On RushDB Cloud, pass an API key; for a self-hosted engine, pass its token with direct: true and its URL.
import RushDB from '@rushdb/javascript-sdk'
const db = new RushDB(process.env.RUSHDB_API_KEY!) // RushDB Cloud
// const db = new RushDB('local-token', { direct: true, engineUrl: 'http://127.0.0.1:3000' }) // a local `rushdb up`
await db.records.importJson({
label: 'PROJECT',
data: {
name: 'RushDB adoption',
TASK: [
{ title: 'Connect RushDB', status: 'done' },
{ title: 'Query linked records', status: 'pending' }
]
}
})
One nested import creates the records and the relationships between them.
Connect with TypeScript or Python →
Local MCP server
For Claude Desktop, Cursor, VS Code, and other local MCP clients, run the MCP server with a RushDB Cloud API key:
{
"mcpServers": {
"rushdb": {
"command": "npx",
"args": ["-y", "@rushdb/mcp-server"],
"env": {
"RUSHDB_API_KEY": "your-api-key-here"
}
}
}
}
or point it at your own engine with RUSHDB_MODE=direct, RUSHDB_ENGINE_URL and RUSHDB_ENGINE_TOKEN. Restart your client, then ask:
Call
getSchemaMarkdownand show me what labels exist in my RushDB project.
Choose your MCP client and mode →
Hosted MCP connector
For ChatGPT, Claude.ai, and other web-based MCP clients, add this URL as a connector:
https://mcp.rushdb.com/mcp
Sign in with your RushDB account and choose the project to expose. No local installation or API key is required. The hosted connector is part of RushDB Cloud.
Set up a hosted MCP connector →
Install agent skills
Install RushDB Agent Skills so your assistant knows how to query, model data, and manage persistent memory:
npx skills add rush-db/skills
Start a new agent session after installation so the skills are discovered.
Install and verify Agent Skills →
Agent memory
Give an agent durable, searchable memory through MCP, or natively in OpenClaw and Hermes:
- Agent Memory Quickstart — MCP plus skills, any agent
- OpenClaw Native Memory and Hermes Native Memory Provider — automatic recall and capture
- Agents — the shared memory contract behind them
On a self-hosted engine, recall by meaning needs an embedding model of your own; each integration explains how to supply one.
LangChain & LangGraph
langchain-rushdb (Python) and @rushdb/langchain (TypeScript) make RushDB a LangChain vector store and hybrid retriever, and LangGraph's long-term memory store and checkpointer:
from langchain_rushdb import RushDBSaver, RushDBStore, RushDBVectorStore
graph = builder.compile(checkpointer=RushDBSaver(client=client), store=RushDBStore(client=client))
Set up LangChain & LangGraph →
LlamaIndex
llama-index-graph-stores-rushdb makes RushDB the graph store of a LlamaIndex PropertyGraphIndex: extracted entities keep their own labels, embeddings live in the same database, and text-to-Cypher prompts get the schema derived from your data:
from llama_index.core import PropertyGraphIndex
from llama_index.graph_stores.rushdb import RushDBPropertyGraphStore
index = PropertyGraphIndex.from_documents(documents, property_graph_store=RushDBPropertyGraphStore(client))
Debezium
Keep RushDB in sync with PostgreSQL, MySQL, MongoDB, SQL Server, Oracle and other databases: Debezium Server with the RushDB sink streams every insert, update and delete, with no Kafka.
docker run --rm -v $PWD/config:/debezium/config -e RUSHDB_API_KEY=... \
ghcr.io/rush-db/debezium-server-rushdb:latest
Obsidian
The RushDB community plugin indexes an Obsidian vault into RushDB: notes, properties, tags and links. Search it from Obsidian, see each note's related notes, and point the MCP server at the same data so an agent can query your notes. Install RushDB from Settings → Community plugins → Browse.
Engine protocols
A self-hosted engine also serves its own interfaces, next to the SDKs. SQL and Cypher clients shows how to turn them on and connect psql, node-postgres, psycopg and the Neo4j drivers.
| Interface | Use it for |
|---|---|
| Native HTTP protocol | The complete engine API, from any language |
| PostgreSQL wire | SQL from psql, drivers and BI tools |
| Bolt | openCypher from Neo4j drivers |
| gRPC | The native protocol over gRPC |
| CLI | rushdb up and operational commands |
Choose what to build
| Use case | Guide |
|---|---|
| Persistent agent memory | Agent Memory Quickstart |
| Keyword and hybrid search | Keyword Search |
| Semantic search over your data | Semantic Search |
| Natural-language search box [Cloud] | Smart Search |
| Graph-enriched retrieval | GraphRAG Tutorial |
| Explore an unknown dataset safely | Discovery Queries |