Skip to content
MCP server

Wiki.js

Search, read and edit Wiki.js pages, and manage its assets, users, groups and comments

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.0
Listing updated
4 days ago

About Wiki.js

Wiki.js is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add wikijs-mcp --env WIKIJS_URL='<WIKIJS_URL>' --env WIKIJS_TOKEN='<WIKIJS_TOKEN>' -- npx -y @ni-c/wikijs-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "wikijs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "<WIKIJS_URL>",
        "WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "wikijs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "<WIKIJS_URL>",
        "WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "wikijs-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "<WIKIJS_URL>",
        "WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "wikijs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "<WIKIJS_URL>",
        "WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "wikijs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "<WIKIJS_URL>",
        "WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
      }
    }
  }
}

Configuration

  • WIKIJS_URLBase URL of the Wiki.js instance, e.g. https://wiki.example.comRequired
  • WIKIJS_TOKENAPI key from Administration → API Access. WIKIJS_API_KEY is accepted as an aliasRequired
  • WIKIJS_LOCALELocale assumed by page tools that are not given one; part of a page's identity (default: en)
  • WIKIJS_READ_ONLYSet to true to register only the read tools (default: false)
  • WIKIJS_ALLOWED_PATHSComma-separated page path prefixes the write tools are confined to, matched by path segment
  • WIKIJS_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • WIKIJS_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever the allow list left
  • WIKIJS_INSECURE_TLSSet to true to accept a self-signed certificate from a self-hosted instance (default: false)
  • WIKIJS_URLBase URL of the Wiki.js instance, e.g. https://wiki.example.comRequired
  • WIKIJS_TOKENAPI key from Administration → API Access. WIKIJS_API_KEY is accepted as an aliasRequired
  • WIKIJS_LOCALELocale assumed by page tools that are not given one; part of a page's identity (default: en)
  • WIKIJS_READ_ONLYSet to true to register only the read tools (default: false)
  • WIKIJS_ALLOWED_PATHSComma-separated page path prefixes the write tools are confined to, matched by path segment
  • WIKIJS_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • WIKIJS_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever the allow list left
  • WIKIJS_INSECURE_TLSSet to true to accept a self-signed certificate from a self-hosted instance (default: false)

Pricing

Open source

Prices change. Check wikijs-mcp.ni-c.de before you buy.

Wiki.js FAQ

Is Wiki.js free?

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

How do I add Wiki.js to Claude Code?

Run this command in your terminal: claude mcp add wikijs-mcp --env WIKIJS_URL='<WIKIJS_URL>' --env WIKIJS_TOKEN='<WIKIJS_TOKEN>' -- npx -y @ni-c/wikijs-mcp

What are the best alternatives to Wiki.js?

The closest alternatives to Wiki.js are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

Alternatives to Wiki.js

  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. 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
  4. 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
  5. note1

    MCP server

    MCP server giving AI assistants search and summaries across your note1 meetings

    • 4 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Productivity