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
bashclaude 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:
json{ "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
| Tool | Description |
|---|---|
wiki_search | Full-text search across all wiki pages |
wiki_get_page | Get a page by path or ID, with optional metadata_only and include_render modes |
wiki_list_pages | List pages with optional tag filtering and sort order |
wiki_get_tree | Get the hierarchical folder/page tree structure |
wiki_create_page | Create a new page |
wiki_update_page | Update a page via full replacement or surgical find-and-replace (edits) |
wiki_move_page | Move a page to a new path and/or locale |
wiki_delete_page | Delete a page |
wiki_list_tags | List all tags used across the wiki |
wiki_get_site_info | Get wiki site metadata (title, description, host) |
wiki_get_history | Get page edit history with pagination |
wiki_get_version | Retrieve a specific historical version of a page |
Development
bashgit clone https://github.com/jaalbin24/wikijs-mcp.git cd wikijs-mcp poetry install poetry run pytest
License
MIT




