mcp-wikijs
README.md
# mcp-wikijs
MCP server that connects Claude to your [Wiki.js](https://js.wiki) instance.
## Tools
| Tool | Description |
|------|-------------|
| `search_pages` | Search pages by keyword |
| `get_page` | Get full page content by path |
| `list_pages` | List all pages |
| `create_page` | Create a new markdown page |
## Setup
### 1. Get your Wiki.js API key
In Wiki.js admin panel → **Administration → API Access** → create a key.
### 2. Configure environment
```bash
cp .env.example .env
# Fill in WIKIJS_URL and WIKIJS_API_KEY
```
### 3. Install and run
```bash
npm install
node index.js
```
### 4. Connect to Claude Code
Add to `~/.claude/claude_mcp_config.json`:
```json
{
"mcpServers": {
"wikijs": {
"command": "node",
"args": ["/absolute/path/to/mcp-wikijs/index.js"],
"env": {
"WIKIJS_URL": "https://your-wiki.railway.app",
"WIKIJS_API_KEY": "your-api-key"
}
}
}
}
```
## Deploy to Railway
1. Push this repo to GitHub
2. New Project on Railway → Deploy from GitHub
3. Add `WIKIJS_URL` and `WIKIJS_API_KEY` as environment variables
TDQS
B3.4/5.0
Scored across 4 tools
Disambiguation5/5
Each tool targets a unique operation on pages: create, get by path, list all, and search. No overlap in functionality.
Naming Consistency5/5
All tools follow a consistent verb_noun pattern with snake_case (create_page, get_page, list_pages, search_pages).
Tool Count5/5
With 4 tools, the set is well-scoped for basic page operations and within the ideal range of 3-15 tools.
Completeness2/5
Missing critical operations like update and delete pages, which are essential for a wiki. Agents cannot modify or remove pages, leading to workflow failures.
Maintenance
ActivityInactive
ResponsivenessNo issues