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 tenant 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_SUB_TENANT_ID must be set explicitly. If you want the plugin to use its default sub-tenant, set it to an empty string ("") rather than omitting it entirely.HYDRADB_SUB_TENANT_ID strategy:
- 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 & Show Support
If this HydraDB plugin makes your Claude Code workflow faster (and smarter), please star the open-source repo that powers it.
hydradb-claude-code
Star on GitHub if you found it useful.