Back to GigaRAG

Connect an agent

Give an AI tool access to your GigaRAG Workspace, so it can search, read and write your memos while it works.

Claude Code

Anthropic's terminal agent. The same setup works when Claude Code runs DeepSeek, Kimi, MiniMax or GLM models through their Anthropic-compatible endpoints.

Connect with the GigaRAG CLI

One command connects Claude Code and every other AI tool on this machine. Signing in happens in your browser, so no key is written into any config file.

npm install -g gigarag
gigarag login
gigarag connect

Restart Claude Code afterwards. Nothing here expires, and gigarag connect --remove takes GigaRAG back out of everything it touched.

Sign in with GigaRAG

Connect without a key: Claude Code opens your browser, you sign in to GigaRAG and pick this workspace.

Connectors you add on claude.ai also appear in Claude Code when you are signed in with a Claude subscription.

  1. 1.

    Add GigaRAG without a key

    claude mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp
  2. 2.

    Start the sign-in

    Or run /mcp in a session, choose gigarag, then Authenticate.

    claude mcp login gigarag
  3. 3.

    Sign in with your GigaRAG account

    Your browser opens GigaRAG. Pick the workspace to share and approve. No key is stored in the app, and the connection does not expire.

Or paste a prompt

Paste this into Claude Code. It carries your agent key and tells the agent exactly what to change, so it sets the connection up itself.

Run this to add GigaRAG:
claude mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp --header "Authorization: Bearer <api-key>"

Remove any existing gigarag first. Then tell me to run /mcp. Don't repeat the key.

Or set it up by hand

  1. 1.

    Run this in a terminal

    User scope makes GigaRAG available in every project and keeps the key out of any repository.

    claude mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp --header "Authorization: Bearer <api-key>"
  2. 2.

    Restart Claude Code, or run /mcp in a session

    gigarag should be listed as connected.

Check it worked

Send this once it is connected. An answer drawn from your workspace means the connection is live.

List my GigaRAG buckets.

Written from the official docs: Claude Code MCP