Wiki.js

Integrates with Wiki.js, enabling AI to read and update documentation.

WikiJS MCP Server

An MCP server that connects Claude to your Wiki.js instance. Search, read, create, update, move, and delete wiki pages through natural language.

Prerequisites

  • Python 3.10+
  • A Wiki.js instance with API access enabled
  • A Wiki.js API key (Administration > API Access > New API Key)

Installation

Claude Code

claude mcp add wikijs \
  --scope user \
  -e WIKIJS_URL=https://your-wiki.com \
  -e WIKIJS_API_KEY=your-api-key \
  -- pipx run wikijs-mcp

Verify with claude mcp list.

Other MCP clients

Add to your MCP client config:

{
  "mcpServers": {
    "wikijs": {
      "command": "pipx",
      "args": ["run", "wikijs-mcp"],
      "env": {
        "WIKIJS_URL": "https://your-wiki.com",
        "WIKIJS_API_KEY": "your-api-key"
      }
    }
  }
}

You can substitute pipx run wikijs-mcp with uvx wikijs-mcp or install globally with pip install wikijs-mcp and use wikijs-mcp as the command.

Tools

ToolDescription
wiki_searchFull-text search across all wiki pages
wiki_get_pageGet a page by path or ID, with optional metadata_only and include_render modes
wiki_list_pagesList pages with optional tag filtering and sort order
wiki_get_treeGet the hierarchical folder/page tree structure
wiki_create_pageCreate a new page
wiki_update_pageUpdate a page via full replacement or surgical find-and-replace (edits)
wiki_move_pageMove a page to a new path and/or locale
wiki_delete_pageDelete a page
wiki_list_tagsList all tags used across the wiki
wiki_get_site_infoGet wiki site metadata (title, description, host)
wiki_get_historyGet page edit history with pagination
wiki_get_versionRetrieve a specific historical version of a page

Development

git clone https://github.com/jaalbin24/wikijs-mcp.git
cd wikijs-mcp
poetry install
poetry run pytest

License

MIT

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension