Docs

Use Hjarni with OpenClaw

Connect your OpenClaw agent to Hjarni, a knowledge base with a built-in MCP server. Your agent gets access to your notes, folders, and tags on demand.

What OpenClaw can do with Hjarni

1

Search notes

Full-text search across all your notes, folders, and tags.

2

Create and update notes

Save new notes with Markdown content, tags, and wiki-links. Update existing ones.

3

Organize into folders

Place notes in the right folder, or create new folders.

4

Tag and link notes

Add tags for filtering and create wiki-links between related notes.

5

Follow your AI instructions

Respect your custom instructions for specific folders and topics.

How to connect OpenClaw to Hjarni

1. Get a Hjarni API token

  1. Log in to hjarni.com.
  2. Go to Settings > Connections.
  3. Create a new API token. Copy it.

2. Add Hjarni to your OpenClaw config

Add Hjarni as an MCP server in your ~/.openclaw/openclaw.json:

{
  "mcp": {
    "servers": {
      "hjarni": {
        "url": "https://hjarni.com/mcp",
        "headers": {
          "Authorization": "Bearer YOUR_API_TOKEN"
        }
      }
    }
  }
}

Replace YOUR_API_TOKEN with the token you copied.

3. Verify the connection

Ask your OpenClaw agent one of these:

  • List my recent Hjarni notes
  • Search Hjarni for notes about deployment
  • Create a note in Hjarni called OpenClaw test

If tools do not appear, check the URL and token, or use the MCP troubleshooting section.

What workflows work best

Automated content distribution

Store your distribution checklist in Hjarni. When a webhook fires, OpenClaw retrieves it and works through the steps.

Debugging with context

Capture your go-to debugging steps for common errors. OpenClaw queries them before trying its own fixes.

Research and synthesis

Have OpenClaw search your existing notes, synthesize findings, and save new summaries with links to sources.

Persistent agent memory

OpenClaw saves what it learns to Hjarni. Next session, it reads those notes back. Your context travels with you.

FAQ

Does Hjarni give OpenClaw long-term memory?

Not automatically. But when you save information as notes, OpenClaw can search and retrieve it in future sessions. The notes are the memory. OpenClaw is the interface.

Does Hjarni include its own AI model?

No. Hjarni is a knowledge base, not an AI model. It gives OpenClaw access to your notes through MCP.

Can OpenClaw access my notes from any machine?

Yes. Hjarni is cloud-hosted. The same API token works wherever you run OpenClaw.

Can I use Hjarni with other AI tools too?

Yes. Your notes work with OpenClaw, Claude, ChatGPT, and anything else that supports MCP.

Related docs

From the blog

Need help connecting?

Email evert@hjarni.com and we'll sort it out.