
regenrek/deepwiki-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
📖 カーソルやその他のコードエディタに関する最新の知識を得るためのMCPサーバー deepwiki.com
概要
⚠️ : このサーバーは現在、DeepWikiがスクレイピングの選択肢を遮断したため動作していません。当面は公式のDeepWiki MCPサーバー(https://docs.devin.ai/work-with-devin/deepwiki-mcp)を利用することをお勧めします。 MCP経由でDeepwikiのURLを取得し、関連するすべてのページをクロールし、Markdownに変換してから、1つのドキュメントかページ別のリストを返します。 - 🔒 : deepwiki.com のURLのみを処理する - 🧹 : ヘッダー、フッター、ナビゲーション、スクリプト、広告を剥がす - 🔗 : リンクをMarkdownで動作させる調整 - 📄 : ドキュメントや構造化ページを一つ取得 - 🚀 : 並行性と深さを調整できる高速クロール - : ライブラリ名だけで検索するため パッケージはdeepwiki_fetchというツールを登録し、任意のMCP互換クライアントで使用できます: - URL(必須):Deepwikiリポジトリの開始URL- モード(任意):出力モード。単一のMarkdown文書に対して「集計」(デフォルト)、または構造化ページデータに対して「pages」として使用可能です。- maxDepth(任意):ページから...までの最大深度を表示します。
概要(AI 翻訳)
⚠️ 重要通知:このサーバーは現在、DeepWikiがスクレイピングの機能を停止したため動作していません。当面は公式のDeepWiki MCPサーバー(https://docs.devin.ai/work-with-devin/deepwiki-mcp)を利用することをお勧めします。
これは非公式のDeepwiki MCPサーバーです。
MCP経由でDeepwikiのURLを取得し、関連するすべてのページをクロールし、Markdownに変換してから、1つのドキュメントかページ別のリストを返します。
特徴
- 🔒 ドメイン安全:deepwiki.com のURLのみを処理する
- 🧹 HTML サニタイズ:ヘッダー、フッター、ナビゲーション、スクリプト、広告を剥がす
- 🔗 リンクリライト:Markdownでの動作に合わせてリンクを調整します
- 📄 複数の出力フォーマット:1つのドキュメントまたは構造化されたページを取得
- 🚀 パフォーマンス:可変の同時実行時間と深度を持つ高速クロール
- NLP: ライブラリ名だけで検索するだけです
使用法
使えるプロンプト:
Fetch 完全なドキュメント(デフォルト)
シングルページ
ショートフォームで読め
カーソル
これを.cursor/mcp.jsonファイルに追加してください。
MCPツール統合
パッケージはdeepwiki_fetchというツールを登録し、任意のMCP互換クライアントで使用できます:
パラメータ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Deepwiki MCP Server
⚠️ IMPORTANT NOTICE: This server is currently not working since DeepWiki has cut off the possibility to scrape it. We recommend using the official DeepWiki MCP server at https://docs.devin.ai/work-with-devin/deepwiki-mcp for the time being.
This is an unofficial Deepwiki MCP Server
It takes a Deepwiki URL via MCP, crawls all relevant pages, converts them to Markdown, and returns either one document or a list by page.
Features
- 🔒 Domain Safety: Only processes URLs from deepwiki.com
- 🧹 HTML Sanitization: Strips headers, footers, navigation, scripts, and ads
- 🔗 Link Rewriting: Adjusts links to work in Markdown
- 📄 Multiple Output Formats: Get one document or structured pages
- 🚀 Performance: Fast crawling with adjustable concurrency and depth
- NLP: It’s to search just for the library name
Usage
Prompts you can use:
deepwiki fetch how can i use gpt-image-1 with "vercel ai" sdk
deepwiki fetch how can i create new blocks in shadcn?
deepwiki fetch i want to understand how X works
Fetch complete Documentation (Default)
use deepwiki https://deepwiki.com/shadcn-ui/ui
use deepwiki multiple pages https://deepwiki.com/shadcn-ui/ui
Single Page
use deepwiki fetch single page https://deepwiki.com/tailwindlabs/tailwindcss/2.2-theme-system
Get by shortform
use deepwiki fetch tailwindlabs/tailwindcss
deepwiki fetch library
deepwiki fetch url
deepwiki fetch /
deepwiki multiple pages ...
deepwiki single page url ...
Cursor
Add this to .cursor/mcp.json file.
{
"mcpServers": {
"mcp-deepwiki": {
"command": "npx",
"args": ["-y", "mcp-deepwiki@latest"]
}
}
}
MCP Tool Integration
The package registers a tool named deepwiki_fetch that you can use with any MCP-compatible client:
{
"action": "deepwiki_fetch",
"params": {
"url": "https://deepwiki.com/user/repo",
"mode": "aggregate",
"maxDepth": "1"
}
}
Parameters
url(required): The starting URL of the Deepwiki repositorymode(optional): Output mode, either “aggregate” for a single Markdown document (default) or “pages” for structured page datamaxDepth(optional): Maximum depth of pages to crawl (default: 10)
Response Format
Success Response (Aggregate Mode)
{
"status": "ok",
"data": "# Page Title\n\nPage content...\n\n---\n\n# Another Page\n\nMore content...",
"totalPages": 5,
"totalBytes": 25000,
"elapsedMs": 1200
}
Success Response (Pages Mode)
{
"status": "ok",
"data": [
{
"path": "index",
"markdown": "# Home Page\n\nWelcome to the repository."
},
{
"path": "section/page1",
"markdown": "# First Page\n\nThis is the first page content."
}
],
"totalPages": 2,
"totalBytes": 12000,
"elapsedMs": 800
}
Error Response
{
インストール
npx -y mcp-deepwiki@latest