Skip to main content

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).

GoalFastest pathCloudSelf-hosted
Build an application or data pipelineUse an SDK✓✓
Give Cursor, Claude Desktop, or VS Code RushDB toolsLocal MCP server✓✓
Use RushDB from ChatGPT or Claude.aiHosted MCP connector✓—
Teach an AI agent correct RushDB workflowsInstall Agent Skills✓✓
Add persistent memory to an agentAgent memory✓✓
Build RAG or agents with LangChain or LangGraphLangChain & LangGraph✓✓
Build a knowledge graph with LlamaIndexLlamaIndex✓✓
Sync an existing database (change data capture)Debezium✓✓
Search an Obsidian vault and give agents your notesObsidian✓✓
Query with PostgreSQL or Neo4j drivers, or gRPCSQL 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.

TypeScript
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:

JSON
{
"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 getSchemaMarkdown and 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:

Text
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:

Shell
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:

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:

Python
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:

Python
from llama_index.core import PropertyGraphIndex
from llama_index.graph_stores.rushdb import RushDBPropertyGraphStore

index = PropertyGraphIndex.from_documents(documents, property_graph_store=RushDBPropertyGraphStore(client))

Set up LlamaIndex →


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.

Shell
docker run --rm -v $PWD/config:/debezium/config -e RUSHDB_API_KEY=... \
ghcr.io/rush-db/debezium-server-rushdb:latest

Set up Debezium →


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.

Set up Obsidian →


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.

InterfaceUse it for
Native HTTP protocolThe complete engine API, from any language
PostgreSQL wireSQL from psql, drivers and BI tools
BoltopenCypher from Neo4j drivers
gRPCThe native protocol over gRPC
CLIrushdb up and operational commands

Choose what to build​

Use caseGuide
Persistent agent memoryAgent Memory Quickstart
Keyword and hybrid searchKeyword Search
Semantic search over your dataSemantic Search
Natural-language search box [Cloud]Smart Search
Graph-enriched retrievalGraphRAG Tutorial
Explore an unknown dataset safelyDiscovery Queries