local-deepwiki-mcp
Verified Safeby UrbanDiver
Overview
The server generates DeepWiki-style documentation for private repositories, offers RAG-based Q&A, and deep research capabilities, all while prioritizing local execution for privacy.
Installation
uv run local-deepwikiEnvironment Variables
- ANTHROPIC_API_KEY
- OPENAI_API_KEY
Security Notes
The server makes justified use of `subprocess.run` for Git operations and Mermaid CLI (mmdc) for diagram rendering, which are necessary for its core documentation generation features. Input paths for reading wiki pages are validated using `Path.resolve()` and `is_relative_to()` to prevent path traversal attacks. LLM interactions involve sending code context and user queries to external or local LLM providers, carrying inherent prompt injection risks common to RAG systems, but the system's prompts are designed to ground the LLM and API keys are expected as environment variables. No direct arbitrary `eval` or `os.system` calls on user input were identified.
Similar Servers
context7
Provides up-to-date, version-specific documentation and code examples to Large Language Models (LLMs) and AI coding assistants to improve code generation accuracy and relevance, preventing outdated or hallucinated information.
docs-mcp-server
The Documentation MCP Server indexes documentation from web sources, local files, and package registries, making it searchable via the Model Context Protocol (MCP) and providing semantic search capabilities to AI coding assistants.
code-index-mcp
Intelligent code indexing and analysis for Large Language Models, enabling tasks such as code review, refactoring, documentation generation, debugging assistance, and architectural analysis.
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.