mcp-deepwiki について
mcp-deepwiki は、GitHub リポジトリの DeepWiki 公開ドキュメントを調べるスキルです。質問への回答や、Wiki の構成と内容の取得に対応します。
主な機能
- 01リポジトリのドキュメントへの質問
- 02Wiki のドキュメント項目の一覧表示
- 03Wiki 内容の取得
活用シーン
- 01GitHub リポジトリについて AI 生成の回答を得る
- 02リポジトリのドキュメント項目を確認する
- 03利用可能な Wiki 内容を読む
MCP 対応
https://mcp.deepwiki.com/mcp の DeepWiki MCP サーバーに接続し、質問、構成、内容を扱うツールを呼び出します。
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ aahl/ skills --skill mcp-deepwikiインストール後、Claude Code で/mcp-deepwikiを入力して読み込まれたか確認します。
詳細
DeepWiki
DeepWiki MCP サーバーは、DeepWiki の公開リポジトリドキュメントおよび検索機能(Ask Devin)へのプログラムからのアクセスを提供します。
MCP サーバー URL:https://mcp.deepwiki.com/mcp
質問する(推奨)
ツールの結果は AI によって生成されるため、タイムアウト時間を少なくとも 1 分以上に設定する必要があります。
npx -y mcporter call "${MCP_URL}.ask_question" repoName:owner/repo question:"User's questions"
Wiki の構造を読む
npx -y mcporter call "${MCP_URL}.read_wiki_structure" repoName:owner/repo
Wiki の内容を読む
npx -y mcporter call "${MCP_URL}.read_wiki_contents" repoName:owner/repo
スキーマ
/**
* Get a list of documentation topics for a GitHub repository.
* Args:
* repoName: GitHub repository in owner/repo format (e.g. "facebook/react")
*/
function read_wiki_structure(repoName: string): object;
{
"type": "object",
"properties": {
"repoName": {
"type": "string"
}
},
"required": [
"repoName"
]
}
/**
* View documentation about a GitHub repository.
* Args:
* repoName: GitHub repository in owner/repo format (e.g. "facebook/react")
*/
function read_wiki_contents(repoName: string): object;
{
"type": "object",
"properties": {
"repoName": {
"type": "string"
}
},
"required": [
"repoName"
]
}
/**
* Ask any question about a GitHub repository and get an AI-powered, context-grounded response.
* Args:
* repoName: GitHub repository or list of repositories (max 10) in owner/repo format
* question: The question to ask about the repository
*/
function ask_question(repoName: unknown, question: string): object;
{
"type": "object",
"properties": {
"repoName": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"question": {
"type": "string"
}
},
"required": [
"repoName",
"question"
]
}
コメント
Markdown 対応