Integrations
Supports configuration through environment variables loaded via .env files, enabling customization of server behavior like concurrency and timeout settings.
Mentioned as a contact method for the author through their Bluesky handle, but no explicit integration functionality is described.
Provides deployment options through Docker containers, allowing the MCP server to be containerized and run in various environments.
Deepwiki MCP Server
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
Usage
Prompts you can use:
Fetch complete Documentation (Default)
Single Page
Get by shortform
Cursor
Add this to .cursor/mcp.json
file.
MCP Tool Integration
The package registers a tool named deepwiki_fetch
that you can use with any MCP-compatible client:
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)
Success Response (Pages Mode)
Error Response
Partial Success Response
Progress Events
When using the tool, you'll receive progress events during crawling:
Local Development - Installation
Local Usage
From Source
Direct API Calls
For HTTP transport, you can make direct API calls:
Configuration
Environment Variables
DEEPWIKI_MAX_CONCURRENCY
: Maximum concurrent requests (default: 5)DEEPWIKI_REQUEST_TIMEOUT
: Request timeout in milliseconds (default: 30000)DEEPWIKI_MAX_RETRIES
: Maximum retry attempts for failed requests (default: 3)DEEPWIKI_RETRY_DELAY
: Base delay for retry backoff in milliseconds (default: 250)
To configure these, create a .env
file in the project root:
Docker Deployment (Untested)
Build and run the Docker image:
Development
Troubleshooting
Common Issues
- Permission Denied: If you get EACCES errors when running the CLI, make sure to make the binary executable:Copy
- Connection Refused: Make sure the port is available and not blocked by a firewall:Copy
- Timeout Errors: For large repositories, consider increasing the timeout and concurrency:Copy
Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
License
MIT
Links
- X/Twitter: @kregenrek
- Bluesky: @kevinkern.dev
Courses
- Learn Cursor AI: Ultimate Cursor Course
- Learn to build software with AI: instructa.ai
See my other projects:
- AI Prompts - Curated AI Prompts for Cursor AI, Cline, Windsurf and Github Copilot
- codefetch - Turn code into Markdown for LLMs with one simple terminal command
- aidex A CLI tool that provides detailed information about AI language models, helping developers choose the right model for their needs.# tool-starter
You must be authenticated.
Tools
An MCP server that fetches and converts Deepwiki documentation into Markdown, allowing users to crawl pages from deepwiki.com repositories and access them in different output formats.
- Features
- Usage
- Cursor
- Local Development - Installation
- Configuration
- Docker Deployment (Untested)
- Development
- Troubleshooting
- Contributing
- License
- Links
- Courses
- See my other projects:
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.Last updated -414612TypeScriptMIT License
- -securityAlicense-qualityA Python-based MCP server that crawls websites to extract and save content as markdown files, with features for mapping website structure and links.Last updated -1PythonMIT License
- -securityFlicense-qualityAn MCP server that enables searching and retrieving content from Confluence documentation systems, providing capabilities for both document searches and full page content retrieval.Last updated -Python
- AsecurityFlicenseAqualityA MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖. wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!Last updated -21Python