Skip to content

The AI-native knowledge base for Cline

Cline plans, edits, and runs commands. Hjarni is where the project context lives so plans are built on facts, not your last prompt.

Free to start. No credit card required.

What this unlocks

Workflows that actually use your context

Brief Cline before plan mode runs

Cline reads the relevant Hjarni notes while planning. Instead of inventing conventions, it lays out a plan that respects your tests, your error handling, and your past refactors.

Hand off a long task cleanly

At the end of a Cline run, ask it to write a Hjarni note: what changed, what is left, what to test. The next task picks up from that note without a recap.

Skip the architecture preamble

If you keep pasting the same architecture summary into Cline before each task, save it as a Hjarni note and tag the right folder. Cline reads it on its own from then on.

Make the work visible to humans

Cline's chat is private to your VS Code window. Hjarni notes are searchable in the browser and shared with your team. Pair the two and the work stops disappearing into a session log.

Reuse Cline's output in other tools

Notes Cline writes back to Hjarni are read by Claude, ChatGPT, and Cursor too. The cleanup work pays off in every other interface.

Setup

Connect Cline in about two minutes

  1. 1

    Install the Cline extension in VS Code and sign up for Hjarni.

  2. 2

    Open the Cline panel in VS Code. Click the MCP servers icon at the top of the panel.

  3. 3

    Choose Add server. Pick remote, name it hjarni, and set the URL to https://hjarni.com/mcp.

  4. 4

    Cline opens a browser tab for the Hjarni OAuth flow. Sign in and approve.

  5. 5

    Run a Cline task and confirm the Hjarni tools show up in the tool list before plan mode runs.

Cline MCP servers settings (cline_mcp_settings.json)

{
  "mcpServers": {
    "hjarni": {
      "url": "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 Cline's memory bank

Cline is open source and moves fast. That is a feature for the agent, but it means the right strategy is not to tie your knowledge to Cline-specific files. Keep notes in Hjarni, point Cline at the MCP server, and survive every Cline update without re-organizing anything.

Cline's memory bank lives in your workspace and is great for short-lived task state. Hjarni complements it: long-lived architecture decisions, runbooks, and team conventions live in Hjarni, while the workspace handles the per-task scratch.

Cline runs commands and edits files autonomously. The agent is faster than you can read. A shared Hjarni folder is how you keep humans, Cline, and other assistants on the same page: write decisions once, all three read them.

Common questions

Questions before you connect Cline

How do I add Hjarni to Cline?

Open the Cline panel in VS Code, click the MCP servers icon, and add Hjarni as a remote MCP server. Cline writes the entry to its settings JSON for you.

Does Cline's plan mode use MCP tools?

Yes. Cline can search Hjarni during planning, read the relevant notes, and reference them when drafting the plan. The same tools are available in act mode.

Why pair Cline with a knowledge base at all?

Cline is excellent at executing tasks once it knows the context. Hjarni is where you write that context down. Together they replace the back-and-forth of pasting architecture notes into every conversation.

Does Hjarni cost extra on top of Cline?

No. Cline is free and open source. Hjarni has a free tier with full MCP access. You pay your own model provider for tokens, exactly like Cline already works.

Can Cline create notes back into Hjarni?

Yes. Cline can call any of Hjarni's MCP tools: search, read, create, update, link, tag. Useful for saving the outcome of a debugging session as a note.

Give Cline a memory

Write notes once. Cline 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.