mcp-deepwiki — скилл для Claude Code: документация GitHub-репозиториев через DeepWiki
Скилл подключает MCP-сервер DeepWiki, чтобы агент читал документацию публичных GitHub-репозиториев и отвечал на вопросы по их коду.
npx skills add aahl/skills --skill mcp-deepwiki -a claude-codeЧто делает mcp-deepwiki
Скилл даёт агенту доступ к MCP-серверу по адресу https://mcp.deepwiki.com/mcp. Через него можно запросить список разделов документации репозитория, вытянуть сами разделы или задать вопрос по коду. Репозиторий указывается в формате owner/repo, например facebook/react.
Вызовы идут через npx -y mcporter call "${MCP_URL}.<tool>". Для структуры и содержимого хватает repoName, для вопросов нужен ещё question. Вопросы обрабатываются инструментом Ask Devin: ответ генерирует ИИ, и на него стоит закладывать минуту или больше таймаута. Если таймаут короткий, запрос оборвётся, не дождавшись ответа.
В ask_question можно передать список репозиториев, но не больше 10 за раз. Работает скилл с публичными репозиториями, поэтому закрытый код в вопрос не попадёт.
Какие задачи решает
- прочитать структуру документации чужого репозитория
- получить раздел wiki по GitHub-проекту
- задать вопрос по коду открытого проекта и получить ответ с опорой на его документацию
- сравнить устройство нескольких репозиториев одним запросом
Примеры запросов агенту
- Покажи структуру документации репозитория
facebook/react - Спроси у DeepWiki, как в этом репозитории устроена маршрутизация
- Задай вопрос сразу по двум репозиториям и сравни подход к тестам
Как установить mcp-deepwiki
1Через Skills CLI (Vercel)
npx skills add aahl/skills --skill mcp-deepwiki -a claude-code2Вручную: положить файлы
~/.claude/skills/mcp-deepwiki/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/mcp-deepwiki/
1Через Skills CLI (Vercel)
npx skills add aahl/skills --skill mcp-deepwiki -a codex2Вручную: положить файлы
.agents/skills/mcp-deepwiki/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aahl/skills --skill mcp-deepwiki -a cursor2Вручную: положить файлы
.cursor/skills/mcp-deepwiki/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aahl/skills mcp-deepwiki2Вручную: положить файлы
.github/skills/mcp-deepwiki/SKILL.md1Через Skills CLI (Vercel)
npx skills add aahl/skills --skill mcp-deepwiki -a gemini-cli2Командой платформы
gemini skills install https://github.com/aahl/skills --path skills/mcp-deepwikiВручную: положить файлы
.devin/skills/mcp-deepwiki/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aahl/skills --skill mcp-deepwiki -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о mcp-deepwiki
Как установить mcp-deepwiki в Claude Code?
Выполните npx skills add aahl/skills --skill mcp-deepwiki -a claude-code. После установки скилл лежит в ~/.claude/skills/mcp-deepwiki/SKILL.md.
Что делает mcp-deepwiki?
Открывает агенту доступ к MCP-серверу DeepWiki: список разделов документации репозитория, содержимое wiki и ответы на вопросы по коду через Ask Devin.
Почему запрос к DeepWiki обрывается по таймауту?
Ответ Ask Devin генерирует ИИ, поэтому на него уходит минута и больше. Поставьте таймаут с запасом, иначе вызов не дождётся результата.
Исходный текст
SKILL.md · MIT
---
name: mcp-deepwiki
description: Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users can also ask questions directly about the code docs.
---
# DeepWiki
The DeepWiki MCP server provides programmatic access to DeepWiki’s public repository documentation and search capabilities (Ask Devin).
**MCP Server URL**: https://mcp.deepwiki.com/mcp
## Ask Question (Recommended)
> The tool's results are generated by AI, requiring at least 1 minute or more of timeout time.
- `npx -y mcporter call "${MCP_URL}.ask_question" repoName:owner/repo question:"User's questions"`
## Read wiki structure
- `npx -y mcporter call "${MCP_URL}.read_wiki_structure" repoName:owner/repo`
## Read wiki contents
- `npx -y mcporter call "${MCP_URL}.read_wiki_contents" repoName:owner/repo`
## Schema
```shell
/**
* 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"
]
}
```
© aahl · MIT · aahl/skills