# SilverBullet

> SilverBullet is an open-source MCP server for knowledge and memory. Read, write, append, delete and search markdown pages in a SilverBullet notes space. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, macOS, Windows, Linux
- **Website:** https://silverbullet.md
- **Repository:** https://github.com/wicahma/silverbullet-mcp
- **MCP Registry name:** io.github.wicahma/silverbullet-mcp
- **Categories:** knowledge and memory, productivity
- **Listing updated:** 2026-11-16

## About

This bridge adds an MCP interface that SilverBullet itself lacks. SilverBullet is open-source markdown knowledge-management software where notes are plain files in a folder, with links, backlinks, an object graph and queries written in its Space Lua scripting. The bridge translates MCP calls into SilverBullet's built-in file HTTP API, so nothing needs installing or patching inside the notes app.

It is deliberately small, written in Python with only the standard library, and offers six tools. Paths are relative to the space, limited to .md files, and parent-directory segments are rejected. It can be spawned by a client over stdio, or run as a streamable HTTP server that requires a bearer token and can sit behind a reverse proxy for shared or remote access.

SilverBullet Server is MIT licensed and free to self-host; Desktop is free for personal use and $50 per user per year for work use.

## Features

- **Six page tools:** Lists, reads, writes, appends, deletes and searches pages.
- **Two transports:** Runs over stdio or authenticated streamable HTTP.
- **Safe paths:** Restricts to space-relative .md paths and rejects .. segments.
- **No SilverBullet changes:** Uses the existing file API without patching the app.
- **Token protection:** Requires a bearer token in HTTP mode and can forward an upstream token.
- **Tiny codebase:** Uses only the Python standard library.

## Good for

- Let an assistant read and update personal notes
- Append meeting notes to a page
- Search a team wiki from chat
- Share a notes space with several agents behind a proxy

## Install

### Claude Code (Terminal)

```sh
claude mcp add silverbullet-mcp --env SB_AUTH_TOKEN='<SB_AUTH_TOKEN>' -- npx -y silverbullet-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "silverbullet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "silverbullet-mcp"
      ],
      "env": {
        "SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "silverbullet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "silverbullet-mcp"
      ],
      "env": {
        "SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "silverbullet-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "silverbullet-mcp"
      ],
      "env": {
        "SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "silverbullet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "silverbullet-mcp"
      ],
      "env": {
        "SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "silverbullet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "silverbullet-mcp"
      ],
      "env": {
        "SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
      }
    }
  }
}
```

## Tools

- `list_pages`: List every markdown page
- `read_note`: Read a page
- `write_note`: Create or overwrite a page
- `append_note`: Append to a page, creating it if absent
- `delete_note`: Delete a page
- `search_notes`: Case-insensitive substring search returning path, line and text

## FAQ

### Does SilverBullet need modification?

No. The bridge calls SilverBullet's existing /.fs API.

### How do clients connect?

Over stdio for tools like Claude Desktop and Cursor, or streamable HTTP with a bearer token.

### Which files can it touch?

Only markdown pages, using space-relative paths.

### Is search semantic?

No. It is a case-insensitive substring search that returns path, line and text.

### Is SilverBullet free?

Yes. SilverBullet is open source, so you can use and self-host it for free.

### How do I add SilverBullet to Claude Code?

Run this command in your terminal: claude mcp add silverbullet-mcp --env SB_AUTH_TOKEN='<SB_AUTH_TOKEN>' -- npx -y silverbullet-mcp

### What are the best alternatives to SilverBullet?

The closest alternatives to SilverBullet are Codebase Memory, XERJ, Ha MCP, Claude Code Ultimate Guide and Nautilus Compass Memory.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [CalderFlow](https://ai-powered.com/mcp/calderflow): CalderFlow is a free MCP server for design and media.

---
Source: https://ai-powered.com/mcp/silverbullet
