Get the FREE Ultimate OpenClaw Setup Guide →

wikijs

MCP server designed to connect Claude Code to a Wiki.js instance

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio jaalbin24-wikijs-mcp-server python -m wikijs_mcp.server \
  --env WIKIJS_URL="https://your-wiki-site.com" \
  --env WIKIJS_API_KEY="your-api-key"

How to use

This MCP server connects Claude to your Wiki.js instance, letting Claude search, read, update, and manage pages via natural language prompts. Once running, Claude can perform actions such as searching for pages by title or content, reading specific pages, creating new pages, updating existing content, moving pages to organize your structure, and deleting pages as needed. It exposes a set of tools (for example wiki_search, wiki_get_page, wiki_list_pages, wiki_get_tree, wiki_create_page, wiki_update_page, wiki_move_page, wiki_delete_page) that Claude Code can invoke to interact with your Wiki.js instance. The repository includes a .mcp.json configuration so Claude Code can auto-detect and connect to the server, simplifying the initial setup. Ensure your Wiki.js instance is accessible from the machine running this MCP server and that the API key has the necessary permissions.

How to install

Prerequisites:

  • Git
  • Python 3.8 or newer
  • Access to a Wiki.js site with an API key

Step 1: Clone the repository

git clone https://github.com/your-username/wikijs-mcp.git
cd wikijs-mcp

Step 2: Install Python dependencies

pip install -e .

Step 3: Configure the Wiki.js connection Create a configuration file (or use the environment variables provided in the MCP config):

cp .env.example .env

Edit the environment to include:

WIKIJS_URL=https://your-wiki-site.com
WIKIJS_API_KEY=your-api-key

Step 4: Run the MCP server

python -m wikijs_mcp.server

Step 5: Optional: verify connection You should see output indicating a successful connection to Wiki.js and readiness to accept connections.

Additional notes

Notes and tips:

  • Keep your WIKIJS_URL without a trailing slash to avoid connection issues.
  • Ensure the Wiki.js API key has Read and Write permissions (and Manage Pages if you want Claude to create or delete pages).
  • If you encounter module or pip-related issues, try using python3 and/or pip3 explicitly.
  • The .mcp.json file enables Claude Code to auto-detect and connect to the server; place it in the wikijs_mcp folder.
  • For Docker usage, you can run the server inside a container, but this example uses the standard Python installation.
  • If the Wiki.js site is behind a firewall, ensure the host running the MCP server can reach it.

Related MCP Servers

Sponsor this space

Reach thousands of developers