Quick Start
1
Install the plugin
Run these commands inside Claude Code:
2
Get credentials
- Create an API key from the HydraDB dashboard
- Create or copy your database ID from the HydraDB dashboard
3
Set environment variables
- macOS/Linux (bash)
- macOS/Linux (zsh)
- Windows (PowerShell)
- macOS/Linux
- Windows (PowerShell)
4
Run setup and verify
HYDRADB_COLLECTION must be set explicitly. To use the default collection, set it to an empty string ("") rather than omitting it. These names need plugin 1.1.0 or later. The older names HYDRA_DB_API_KEY, HYDRADB_TENANT_ID, and HYDRADB_SUB_TENANT_ID still work, but print a deprecation warning.HYDRADB_COLLECTION:
- Use a workspace-specific value (e.g.,
claude-my-project) for project-isolated memory. - Use a shared value to carry memory across all sessions and workspaces.
Commands
Modes
captureMode: how conversations are saved
searchMode: what is recalled at prompt time
ingestionMode: where workspace docs are synced
recallMode: speed vs. depth
Config Variables
Required
Core behavior
Limits
Timeouts
File filtering
By default, HydraDB includes
.md and .mdx files in workspace sync. To include additional file types, extend includeGlobs in your config file.Advanced
Config File Location Priority
The plugin resolves config in this order (later sources override earlier ones):- Built-in defaults
HYDRADB_PLUGIN_CONFIGenv var (absolute path to a JSON file)${CLAUDE_PLUGIN_DATA}/config.json.hydradb-plugin-data/config.json.hydradb-plugin.json(workspace-shared, safe to commit to git).hydradb-plugin.local.json(workspace-local, add to.gitignore)- Environment variable overrides
Suggested Modes
Suggested Configs
Minimal (env vars only)
Recommended workspace config (.hydradb-plugin.json)
Maximum recall
Manual-save only (no auto-capture)
Source code
hydradb-claude-code
View the source on GitHub.
