Skip to content

The AI-native knowledge base for Claude Code

Claude Code is great at the work. Hjarni remembers the context. One CLI command connects them.

Free to start. No credit card required.

What this unlocks

Workflows that actually use your context

Resume yesterday's session without the recap

Run `claude` in the same repo the next morning. Ask it to continue. It reads the Hjarni notes from the previous session instead of asking you what you were doing.

Pair-program against your team's conventions

Claude Code cross-checks suggestions against the Hjarni notes for that project. No more pull requests that ignore your error handling style or your test naming pattern.

Auto-capture every session as a note (one-time setup)

Add the Hjarni Stop hook to .claude/settings.json once. After that every session writes itself to Hjarni, tagged and dated. The next session reads them back. See the Claude Code hooks doc for the exact script.

One runbook, every engineer's terminal

Put deploy steps, incident playbooks, and rollback procedures in a shared Hjarni folder. Every engineer's Claude Code session reads the same source of truth.

Stop maintaining CLAUDE.md in twelve repos

Keep one set of conventions in Hjarni and tag the folders that apply per project. Less drift, less duplication, one place to update when the convention changes.

Setup

Connect Claude Code in about two minutes

  1. 1

    Install Claude Code and sign up for Hjarni. Both have free tiers.

  2. 2

    In your project directory, run: claude mcp add --transport http hjarni https://hjarni.com/mcp

  3. 3

    Add --scope user to the same command if you want Hjarni available across every project.

  4. 4

    Claude Code opens your browser for the Hjarni OAuth flow. Sign in once.

  5. 5

    Start a Claude Code session and ask it to search Hjarni. The tool list should include Hjarni search and notes.

Run in your project directory

claude mcp add --transport http hjarni https://hjarni.com/mcp

The Hjarni MCP endpoint is https://hjarni.com/mcp. The connection uses OAuth, so you sign in with your Hjarni account when prompted. No API key files to manage.

Why Hjarni alongside CLAUDE.md

CLAUDE.md is the right tool for short, in-repo rules. It is the wrong tool for a growing pile of decisions, runbooks, and incident notes. Hjarni gives Claude Code the larger, searchable layer alongside CLAUDE.md, not instead of it.

Claude Code Stop hooks can write every session to Hjarni once you wire the script (see the hooks doc for the exact setup). After that the loop runs itself: work, ship, the note writes itself, tomorrow's session reads it. No 'I'll write that up later' that never happens.

The same Hjarni knowledge base is reachable from Claude Code, Claude.ai, ChatGPT, and Cursor. The notes you write in the terminal are the notes your assistant reads in the browser. One source of truth, every interface.

Common questions

Questions before you connect Claude Code

How is Hjarni different from the Claude Code memory file?

CLAUDE.md is one file, scoped to one repo, and not searchable. Hjarni is a full knowledge base with folders, tags, and search. Claude Code reads both: CLAUDE.md for inline rules, Hjarni for everything you have written down across projects.

Can I scope Hjarni per project in Claude Code?

Yes. Use `claude mcp add` without --scope user to scope Hjarni to the current project. Add --scope user to make it available in every Claude Code session.

Can I auto-capture every Claude Code session as a Hjarni note?

Yes. There is a Stop hook that writes each conversation to a growing Hjarni note. See the Claude Code hooks doc for the exact script and setup.

Does Claude Code need an API token to use Hjarni?

No. The remote MCP server uses OAuth. Run `claude mcp add --transport http hjarni https://hjarni.com/mcp` and Claude Code opens a browser window to authorize.

Is this safer than pasting code context into Claude?

It is more reproducible. Notes are versioned and shared across sessions. You stop copying the same explanation into every new conversation.

Give Claude Code a memory

Write notes once. Claude Code reads them across every conversation.

Write once. You both remember.

Free to start. No credit card required.

Give your AI a memory

Works with Claude and ChatGPT today. Gemini coming soon.