tiki-pedia-mcp-server
# @kongyo2/tiki-pedia-mcp-server
[知木ペディア](https://tiki.miraheze.org/)(Miraheze上のMediaWiki)向けMCPサーバーです。
[](https://www.npmjs.com/package/@kongyo2/tiki-pedia-mcp-server)
[](https://github.com/kongyo2/tiki-pedia-mcp/actions/workflows/ci.yml)
[](https://deepwiki.com/kongyo2/tiki-pedia-mcp)
## セットアップ
### Claude Code
```bash
claude mcp add tiki-pedia -- npx @kongyo2/tiki-pedia-mcp-server
```
### Claude Desktop / Cursor 等
`claude_desktop_config.json` に追加:
```json
{
"mcpServers": {
"tiki-pedia": {
"command": "npx",
"args": ["@kongyo2/tiki-pedia-mcp-server"]
}
}
}
```
## ツール一覧
### ページ
| ツール | 説明 |
| ------------------------ | ------------------------------ |
| `tiki_get_page_content` | 記事のウィキテキスト内容を取得 |
| `tiki_check_page_exists` | 記事の存在確認 |
### カテゴリ
| ツール | 説明 |
| ------------------------------- | -------------------------------------- |
| `tiki_get_categories` | 記事に付与されているカテゴリ一覧を取得 |
| `tiki_check_category_exists` | カテゴリの存在確認 |
| `tiki_search_categories` | カテゴリ名の部分一致検索 |
| `tiki_search_categories_prefix` | カテゴリ名の前方一致検索 |
| `tiki_list_categories_range` | 範囲指定でのカテゴリ一覧取得 |
| `tiki_get_category_members` | カテゴリに属するページ一覧を取得 |
### テンプレート
| ツール | 説明 |
| ------------------------------ | -------------------------------------------- |
| `tiki_get_templates` | 記事内で使用されているテンプレート一覧を取得 |
| `tiki_check_template_exists` | テンプレートの存在確認 |
| `tiki_get_template_content` | テンプレートのウィキテキスト内容を取得 |
| `tiki_search_templates` | テンプレート名の部分一致検索 |
| `tiki_search_templates_prefix` | テンプレート名の前方一致検索 |
| `tiki_list_templates_range` | 範囲指定でのテンプレート一覧取得 |
| `tiki_get_template_usage` | テンプレートを使用しているページ一覧を取得 |
### 検索
| ツール | 説明 |
| -------------------------- | ------------------------ |
| `tiki_get_recent_articles` | 新着記事一覧を取得 |
| `tiki_search_fulltext` | 本文内の文字列を全文検索 |
| `tiki_search_title` | タイトルの部分一致検索 |
### サイト情報
| ツール | 説明 |
| --------------------- | ---------------------------------- |
| `tiki_get_extensions` | 有効化されている拡張機能一覧を取得 |
| `tiki_get_siteinfo` | サイト基本情報を取得 |
## 開発
```bash
npm install
npm run build
```
| コマンド | 説明 |
| ------------------- | -------------------------- |
| `npm run build` | TypeScriptコンパイル |
| `npm run dev` | 開発モード(ファイル監視) |
| `npm run typecheck` | 型チェック |
| `npm run lint` | oxlintによるリント |
| `npm run format` | Prettierによるフォーマット |
## ライセンス
MIT
TDQS
Scored across 20 tools
Tools are organized around clearly distinct resources (pages, categories, templates, search, site info), and the parenthetical API hints differentiate near-duplicates like search_categories (partial match) vs search_categories_prefix (prefix match). A few pairs (check_*_exists vs search_*, list_*_range vs search_*_prefix) could still be confused at a glance, but descriptions resolve them.
Every tool follows the same tiki_verb_noun snake_case pattern (get_page_content, check_page_exists, search_templates_prefix), with consistent vocabulary for get/check/search/list across pages, categories, and templates. No mixing of conventions or casing.
20 tools is on the heavy side for what is essentially a read-only wiki browsing API, and some slots feel redundant (search_categories vs search_categories_prefix, list_categories_range vs list_templates_range). Each is individually defensible, but the surface could be trimmed to ~12-14 without losing capability.
Coverage of the core domain is strong: page content/existence, full category and template lifecycles (check, get, search, list, members/usage), full-text and title search, plus site metadata. Minor gaps remain, such as page revision history, backlinks/what-links-here, and page metadata (last editor, timestamps) beyond the recent-changes list.