> ## Documentation Index
> Fetch the complete documentation index at: https://cortex-e852fafe-t3code-rewrite-docs-declutter.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Give Cursor long-term memory with the HydraDB plugin.

Persistent, cross-session memory for [Cursor](https://cursor.com): recalls
relevant notes on each prompt, syncs your markdown docs into HydraDB, and saves
conversations as durable memories.

<Steps>
  <Step title="Bootstrap & set credentials">
    ```bash theme={"dark"}
    git clone https://github.com/hydra-db/hydradb-cursor-plugin.git
    cd hydradb-cursor-plugin
    make bootstrap
    export HYDRADB_API_KEY="your-api-key"
    export HYDRADB_DATABASE="your-database"
    ```

    Requires **Node.js 18+** and npm.
  </Step>

  <Step title="Install in Cursor">
    Install via Cursor's plugin/marketplace flow pointing at this checkout.
  </Step>
</Steps>

It runs on the same engine as the [Claude Code plugin](/plugins/claude-code), so the [modes](/plugins/claude-code#modes) and [config variables](/plugins/claude-code#config-variables) there apply here too.

## Feedback and contributions

This plugin is open source. Feel free to [raise an issue](https://github.com/hydra-db/hydradb-cursor-plugin/issues) or [contribute on GitHub](https://github.com/hydra-db/hydradb-cursor-plugin).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.