Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Haksnbot Memory

FreeNot checked

Provides persistent memory storage for AI agents with full-text search, tagging, and importance levels, enabling agents to store and retrieve memories efficient

GitHubEmbed

About

Provides persistent memory storage for AI agents with full-text search, tagging, and importance levels, enabling agents to store and retrieve memories efficiently.

README

An MCP (Model Context Protocol) server that provides persistent memory storage for AI agents. Uses SQLite with full-text search for efficient storage and retrieval of memories.

Part of the Haksnbot suite: This project was originally developed as part of Haksnbot, an autonomous Minecraft bot. The suite includes four repos that work together: haksnbot-tools (Minecraft bot control), haksnbot-mind (the autonomous agent), haksnbot-admin (server administration), and haksnbot-memory (this repo - persistent memory). Each can be used independently, but they're designed to work together.

Features

  • Persistent storage - Memories survive agent restarts
  • Full-text search - Find memories by content using FTS5
  • Tagging system - Organize memories with flexible tags
  • Importance levels - Prioritize significant memories
  • Pagination - Handle large memory collections efficiently

Installation

git clone https://github.com/haksndot/haksnbot-memory.git
cd haksnbot-memory
npm install

Usage with Claude Code

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "memory": {
      "command": "node",
      "args": ["/path/to/haksnbot-memory/src/index.js"]
    }
  }
}

Configuration

The database path can be set via environment variable:

{
  "mcpServers": {
    "memory": {
      "command": "node",
      "args": ["/path/to/haksnbot-memory/src/index.js"],
      "env": {
        "MEMORY_DB_PATH": "/path/to/memories.db"
      }
    }
  }
}

If not set, defaults to memories.db in the package directory.

Available Tools

Tool Description
create_memory Store a new memory with optional tags, context, and importance
get_memory Retrieve a specific memory by ID
update_memory Update an existing memory's content, tags, or importance
delete_memory Remove a memory
list_memories List memories with filtering, sorting, and pagination
search_memories Full-text search across memory content, tags, and context
get_memory_stats Get statistics: total count, tag distribution, date range

Memory Structure

Each memory contains:

  • content - The main memory text (required)
  • tags - Array of categorization tags (e.g., ["player:Steve", "event:trade"])
  • context - Additional context about when/where the memory was created
  • importance - Priority level 1-10 (default 5)
  • created_at / updated_at - Timestamps

Examples

> Remember that Steve helped me find diamonds at coordinates -234, 12, 567

> Search my memories for anything about Steve

> List my most important memories (importance >= 8)

> What do I remember about trading?

Requirements

  • Node.js 18+

Dependencies

Related Projects

License

MIT

from github.com/haksndot/haksnbot-memory

Installing Haksnbot Memory

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/haksndot/haksnbot-memory

FAQ

Is Haksnbot Memory MCP free?

Yes, Haksnbot Memory MCP is free — one-click install via Unyly at no cost.

Does Haksnbot Memory need an API key?

No, Haksnbot Memory runs without API keys or environment variables.

Is Haksnbot Memory hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Haksnbot Memory in Claude Desktop, Claude Code or Cursor?

Open Haksnbot Memory on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Haksnbot Memory with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs