Quick Start
Get graphbase running in three steps.
Step 1 — Start Neo4j
The server requires a running Neo4j 5 instance. The included Docker Compose file is the fastest way:
Wait ~10 seconds for Neo4j to finish starting. Verify it is healthy:
Default credentials: neo4j / graphbase on bolt://localhost:7687.
Custom credentials
Set GRAPHBASE_NEO4J_PASSWORD before starting the server if you use different credentials. See Configuration for all available options.
Step 2 — Install
Verify the CLI is available:
graphbase --help
# Expected output:
# Usage: graphbase [OPTIONS] COMMAND [ARGS]...
# Commands: serve, devtools, hygiene
Step 3 — Connect to your agent
Copy .mcp.json.example to .mcp.json in your project root and edit it with the absolute path to your virtual environment binary. Restart your agent host — the 12 graphbase-memories tools will appear in the tool list.
See Connect to Your Agent for full configuration details, including global install and setup for Cursor, Cline, and other MCP hosts.
Verify it works
In Claude Code, call the first tool to check scope state:
Expected response:
uncertain is correct — no project node exists in the graph yet. Save a session to create it:
save_session(
session={
"objective": "Testing graphbase",
"actions_taken": ["Installed the server", "Ran quick start"],
"decisions_made": [],
"open_items": [],
"next_actions": ["Explore MCP tools"],
"save_scope": "project"
},
project_id="my-first-project"
)
Then retrieve context:
You should see your session node in the response with retrieval_status: "succeeded".