Skip to content
MCP server

Keepfold

Local, Markdown-based memory that your AI apps read and write, kept on your own PC

Runs locally

Keepfold is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
Windows, macOS, Linux
Runs
Locally
Version
0.8.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add keepfold --env KEEPFOLD_VAULT='<KEEPFOLD_VAULT>' -- uvx keepfold

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "keepfold": {
      "command": "uvx",
      "args": [
        "keepfold"
      ],
      "env": {
        "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "keepfold": {
      "command": "uvx",
      "args": [
        "keepfold"
      ],
      "env": {
        "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "keepfold": {
      "command": "uvx",
      "args": [
        "keepfold"
      ],
      "env": {
        "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "keepfold": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "keepfold"
      ],
      "env": {
        "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add keepfold --env KEEPFOLD_VAULT='<KEEPFOLD_VAULT>' -- uvx keepfold

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.keepfold]
command = "uvx"
args = ["keepfold"]
env = { KEEPFOLD_VAULT = "<KEEPFOLD_VAULT>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "keepfold": {
      "command": "uvx",
      "args": [
        "keepfold"
      ],
      "env": {
        "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e KEEPFOLD_VAULT='<KEEPFOLD_VAULT>' keepfold uvx -- keepfold

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "keepfold": {
          "command": "uvx",
          "args": [
            "keepfold"
          ],
          "env": {
            "KEEPFOLD_VAULT": "<KEEPFOLD_VAULT>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KEEPFOLD_VAULTThe folder that holds your Keepfold notes: an existing empty folder for a new memory, or the vault the Keepfold app already uses. It also opens as an Obsidian vault.Required

About Keepfold

Keepfold stores what you tell AI apps and what you work on as linked plain-text notes in a folder you choose on your own computer. Apps connected through MCP can pull that context into a new chat, so you do not have to restate projects, preferences and past decisions each time.

Notes are saved automatically from your AI chats, and the folder opens as a standard Obsidian vault. Search combines keyword matching with a small local embedding model, and an optional local chat model can answer questions about your notes with sources. Coding tools such as Claude Code, Cursor and Codex receive your pinned lines and preferences when a chat starts.

It suits people who use several AI assistants and want their context kept locally in readable files. The project is free and open source under the MIT licence, but it is still in beta and currently has a Windows installer; macOS and Linux are set up through PyPI.

What it does

Shared memory across apps
Connected AI apps read the same notes through MCP, so context carries from one tool to another.
Plain Markdown vault
Notes are ordinary Markdown files with YAML front matter that any editor or Obsidian can open.
Automatic saving from chats
Claude Code, Desktop and CLI chats are summarised into pages without a model, and decisions are queued for review.
Local search by meaning
Keyword and embedding search run on the computer, with a one-time model download of about 150 MB.
Private notes and browsing controls
Pages marked private are kept out of what AI apps receive, and browsing categories can be restricted per type.
Optional local chat
A chat window answers questions about your notes with numbered sources when a local model such as Ollama is running.

Good for

  • Give a coding agent your project stack and coding preferences at the start of each chat
  • Keep decisions from git commits and chats searchable across sessions
  • Revise a course with a daily plan drawn from your own notes and mock tests
  • Search your saved reading, papers and AI conversations by meaning
  • Keep personal notes and history on your own machine instead of a cloud memory service

Pricing

Open source

Free and open source (MIT); optional cloud model billed by provider

Keepfold FAQ

Is Keepfold free?

Yes. It is free and open source under the MIT licence. The optional local model is free, and any cloud model is billed by the provider you choose.

Does my data leave my computer?

No account or telemetry is used. Your notes stay in your chosen folder; an AI app you connect sees only what Keepfold returns to it, and a cloud model is used only if you turn one on.

Which AI apps can connect?

Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code (Copilot), Windsurf, Antigravity and LM Studio connect in one click. Zed, Cline, GitHub Copilot CLI and JetBrains Junie can also be connected.

Which operating systems are supported?

The installer is for Windows 10 and 11. On macOS and Linux it is installed from PyPI with uv.

How do I add Keepfold to Claude Code?

Run this command in your terminal: claude mcp add keepfold --env KEEPFOLD_VAULT='<KEEPFOLD_VAULT>' -- uvx keepfold

What are the best alternatives to Keepfold?

The closest alternatives to Keepfold are Callosium, Memorinth, Kerno and Basic Memory.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers