A Model Context Protocol server providing access to RushDB's Labeled Meta Property Graph (LMPG) database.
- Record Management: Create, read, update, and delete records
- Graph Operations: Attach and detach relationships between records
- Advanced Querying: Search across records using RushDB's flexible query language
- Label & Property Discovery: Browse labels and properties in your database
- Bulk Operations: Efficient bulk create and delete operations
- Data Export: Export records to CSV format
- LMPG Architecture: Work with RushDB's revolutionary property-first graph model
-
Install the package:
npm install -g @rushdb/mcp-server
-
Get your RushDB API key from app.rushdb.com
-
Configure your MCP client (e.g., Claude Desktop):
{ "mcpServers": { "rushdb": { "command": "npx", "args": ["@rushdb/mcp-server"], "env": { "RUSHDB_API_KEY": "your-rushdb-api-key-here", "RUSHDB_API_URL": "https://api.rushdb.com/api/v1" } } } }
Note:
RUSHDB_API_URL
is optional and defaults tohttps://api.rushdb.com/api/v1
. Override it for self-hosted or staging environments.
FindLabels
- List / filter record labels and their countsFindProperties
- List / filter propertiesFindRelationships
- Search for relationships
CreateRecord
- Create a new recordUpdateRecord
- Update an existing recordDeleteRecord
- Delete a record by IDGetRecord
- Retrieve a record by IDFindRecords
- Search for records using query conditions
AttachRelation
- Create relationships between recordsDetachRelation
- Remove relationships between recordsFindRelationships
- Search for relationships
BulkCreateRecords
- Create multiple records at onceBulkDeleteRecords
- Delete multiple records matching a query
ExportRecords
- Export records to CSV format
OpenBrowser
- Open URLs in browserHelpAddToClient
- Get setup instructionsGetQueryBuilderPrompt
- Returns the RushDB Query Builder system prompt (fallback for clients without MCP Prompts support)
This server exposes a system prompt via the MCP Prompts API to ensure discovery-first, schema-safe querying:
- Prompt name:
rushdb.queryBuilder
- Purpose: guides the model to discover labels/properties first (FindLabels/FindProperties), then construct validated SearchQuery objects before calling find-related tools.
How clients should use it:
- Call
ListPrompts
and look forrushdb.queryBuilder
. - Call
GetPrompt
with that name and set the returned system message for the model session that will use RushDB tools.
Most MCP clients can do this automatically at session start. If your client does not yet support Prompts, fetch this prompt once and inject it as the conversation’s system message before using RushDB tools.
Fallback tool for non-Prompts clients:
- Call
GetQueryBuilderPrompt
and set the returned text as your session’s system message.
- Manifest: a top-level
mcp.yaml
is provided so MCP registries and clients can auto-discover this server. - Glama: see
packages/mcp-server/glama.json
for basic metadata. - When registering, use package
@rushdb/mcp-server
, commandnpx
, and ensureRUSHDB_API_KEY
is set.
RUSHDB_API_KEY
- Your RushDB API key (required)RUSHDB_API_URL
- RushDB API base URL (optional, defaults to https://api.rushdb.com/api/v1). Useful for self-hosted, on-prem, or staging deployments.
RushDB uses a revolutionary Labeled Meta Property Graph (LMPG) architecture where:
- Properties are first-class citizens with their own nodes
- Records are connected through shared properties
- Relationships emerge automatically based on property overlap
- No rigid schemas - data structure evolves naturally
- Cross-domain insights through property traversal
This enables unprecedented flexibility in data modeling and querying.
To build from source:
git clone <repository>
cd rushdb/packages/mcp-server
npm install
npm run build
Apache 2.0