Skip to main content
Glama
tiki-pedia-mcp-server

tiki-pedia-mcp-server

by kongyo2
README.md
# @kongyo2/tiki-pedia-mcp-server

[知木ペディア](https://tiki.miraheze.org/)(Miraheze上のMediaWiki)向けMCPサーバーです。

[![npm version](https://img.shields.io/npm/v/@kongyo2/tiki-pedia-mcp-server)](https://www.npmjs.com/package/@kongyo2/tiki-pedia-mcp-server)
[![CI](https://github.com/kongyo2/tiki-pedia-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/kongyo2/tiki-pedia-mcp/actions/workflows/ci.yml)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](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

B3/5.0

Scored across 20 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues