Skip to content
MCP server

Stuga

Self-hosted team wiki that your AI writes to and answers from, with approvals

Install
Pricing
Open source
Platforms
macOS, self-hosted, Web
Runs
Locally or Remotely
Version
0.2.1
Listing updated
3 days ago

About Stuga

Stuga is an open-source MCP server for knowledge and memory. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

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

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

Configuration

  • STUGA_URLThe address you open Stuga at.Required

What it does

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

Pricing

Open source

Free and open source

Prices change. Check stuga.dev before you buy.

Stuga 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 to Stuga

  1. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  2. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  3. Ha MCP

    MCP server

    MCP server for managing and automating Home Assistant from AI assistants

    Runs locally
    • 8 tools
    • Open source
    • 7.9K GitHub stars
    • Productivity
  4. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  5. Local-first long-term memory layer for AI agents, served over MCP

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • 1.3K GitHub stars
    • Knowledge and memory
  6. Concord MCP

    MCP server

    Local-first MCP server for messaging and shared work-state between coding agents

    Runs locally
    • Freemium
    • 1.3K GitHub stars
    • Developer tools