# Stuga

> Stuga is an open-source MCP server for knowledge and memory. Self-hosted team wiki that your AI writes to and answers from, with approvals. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, self-hosted, Web, CLI
- **Website:** https://stuga.dev
- **Repository:** https://github.com/stuga-dev/stuga
- **MCP Registry name:** dev.stuga/stuga
- **Categories:** knowledge and memory, productivity
- **Listing updated:** 2026-11-14

## About

Stuga runs on a Mac or server you control, with pages and tables that Claude, Codex, Cursor and other MCP clients read and write. You say Save to Stuga and the AI finds the right page, section or table row, corrects the sentence it changes instead of piling on another, and cites the meeting or email the point came from.

By default an AI change waits for whoever asked for it. A folder, page or database can be set to Reviewed by a colleague, where someone else who can edit approves it, or to apply AI edits directly, still recorded and revertible. One filing across several pages becomes a single review card with Approve all, Ask for changes or Decline. Say Ask Stuga and the answer comes from approved pages, with who last changed each and what is still waiting.

The wiki itself offers real-time editing, typed tables stored as SQLite files, permission-aware keyword and semantic search, and import from Notion or Obsidian. It is free and open source, with a Mac installer and a Docker option, and nothing is sent to the vendor.

## Features

- **Save to Stuga:** Files each point on the right page or table row and cites its source.
- **Three review levels:** Choose approval by the requester, by a colleague, or direct AI edits.
- **Ask with sources:** Answers from approved pages, naming who last changed each and what is pending.
- **Check Stuga:** Finds stale pages, orphans and broken links and proposes one fixing change.
- **Pages and tables:** Real-time editing with comments, plus typed tables and CSV import.
- **Notion and Obsidian import:** Turns an export or Markdown vault into a workspace.

## Good for

- Save call notes to the right wiki page after a meeting
- Let a colleague approve AI edits to policy pages
- Ask the wiki a question and see who last changed the answer
- Find stale or orphaned pages
- Move a Notion workspace to a self-hosted wiki

## Install

### Claude Code (Terminal)

```sh
claude mcp add stuga --env STUGA_URL='<STUGA_URL>' -- npx -y @stuga/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "stuga": {
      "command": "npx",
      "args": [
        "-y",
        "@stuga/mcp"
      ],
      "env": {
        "STUGA_URL": "<STUGA_URL>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "stuga": {
      "command": "npx",
      "args": [
        "-y",
        "@stuga/mcp"
      ],
      "env": {
        "STUGA_URL": "<STUGA_URL>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "stuga": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@stuga/mcp"
      ],
      "env": {
        "STUGA_URL": "<STUGA_URL>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "stuga": {
      "command": "npx",
      "args": [
        "-y",
        "@stuga/mcp"
      ],
      "env": {
        "STUGA_URL": "<STUGA_URL>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "stuga": {
      "command": "npx",
      "args": [
        "-y",
        "@stuga/mcp"
      ],
      "env": {
        "STUGA_URL": "<STUGA_URL>"
      }
    }
  }
}
```

## FAQ

### Can the AI delete or verify pages?

No. The site says AI cannot delete, share or verify pages, or approve a change.

### Where is data stored?

On your own Mac or server; the site says nothing is sent to the vendor apart from an optional daily update check.

### What does it run on?

The Mac app needs Apple silicon and macOS 15 or later; a Docker install is also documented.

### Is it free?

Yes, it is described as free and open source.

### Is Stuga free?

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

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

Run this command in your terminal: claude mcp add stuga --env STUGA_URL='<STUGA_URL>' -- npx -y @stuga/mcp

### What are the best alternatives to Stuga?

The closest alternatives to Stuga 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/stuga
