> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepWiki Connector

> Connect PraisonAI agents to DeepWiki with zero authentication to query architecture and docs for any public GitHub repository

Connect your PraisonAI agents to **DeepWiki** with **zero sign-in and no API keys** — ask architectural questions, browse wiki structure, and inspect source explanations for any public GitHub repository in seconds.

| Setting | Value |
| - | - |
| **Catalog ID** | `deepwiki` |
| **Endpoint** | `https://mcp.deepwiki.com/mcp` |
| **Transport** | Streamable HTTP (Remote) |
| **Authentication** | None (public, zero-config) |

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent, MCP

agent = Agent(
    name="Repo Researcher",
    instructions="Explain open-source repository architectures accurately using DeepWiki.",
    tools=MCP("https://mcp.deepwiki.com/mcp"),
)

agent.start("Use DeepWiki to explain how MervinPraison/PraisonAI structures its multi-agent workflows")
```

The user asks how an open-source repo works; PraisonAI connects directly to DeepWiki over HTTPS — no login needed — and returns an accurate architecture walkthrough.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    User["👤 User"] --> Agent["🤖 PraisonAI Agent"]
    Agent --> DW["📚 DeepWiki Remote MCP<br/>mcp.deepwiki.com/mcp"]
    DW --> Result["✅ Repo Architecture & Docs"]

    classDef input fill:#6366F1,stroke:#7C90A0,color:#fff
    classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
    classDef ok fill:#10B981,stroke:#7C90A0,color:#fff

    class User input
    class Agent agent
    class DW,Result ok
```

***

## How It Works

DeepWiki is a public, read-only Streamable HTTP MCP server. Because no OAuth flow or API key is required, it is the fastest way to try out PraisonAI's remote connectors in under 10 seconds.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
sequenceDiagram
    participant User
    participant CLI as praisonai CLI
    participant DW as DeepWiki MCP Server
    participant Agent as PraisonAI Agent

    User->>CLI: praisonai connectors add deepwiki
    User->>CLI: praisonai connectors test deepwiki
    CLI->>DW: initialize and tools/list
    DW-->>CLI: OK with available wiki tools
    User->>Agent: Ask about any public GitHub repo
    Agent->>DW: Query wiki structure and contents
    DW-->>Agent: Architecture notes and explanations
    Agent-->>User: Grounded answer
```

***

## Step-by-Step Setup

**1. Install PraisonAI with MCP support**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install "praisonai[mcp]"
```

**2. Add DeepWiki (no sign-in needed)**

> [tab] CLI (1 Command)
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connectors add deepwiki
> ```

> [tab] PraisonAI Dashboard
>
> Enable catalog connectors in your PraisonAIUI `config.yaml`:
>
> ```yaml theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> mcp:
>   enabled: true
>   allow:
>     catalog: true
> ```
>
> Run `praisonai dashboard`, open **Connectors / MCP**, and click **Connect** on **DeepWiki**.

**3. Verify with a live handshake**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai connectors test deepwiki
```

Expected output:

```text theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
Testing remote MCP server: deepwiki
  URL: https://mcp.deepwiki.com/mcp
✓ MCP server 'deepwiki' OK (3 tool(s))
```

**4. Query any public GitHub repo**

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent, MCP

agent = Agent(
    name="Codebase Guide",
    instructions="Answer repository questions clearly using DeepWiki.",
    tools=MCP("https://mcp.deepwiki.com/mcp"),
)

agent.start("Explain the routing architecture of fastapi/fastapi using DeepWiki")
```

***

## Common Workflows

* **Library Evaluation:** `"Compare how pydantic/pydantic and attrs handle field validation using DeepWiki."`
* **Contributor Onboarding:** `"Give me a file-by-file map of where CLI commands are registered in MervinPraison/PraisonAI."`

***

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Repository not found | Repo is private or not yet indexed by DeepWiki | DeepWiki covers public GitHub repos; use the [GitHub Connector](https://praison.ai/docs/mcp/github.md) for private repositories |
| Connection timeout | Corporate firewall or proxy blocking `mcp.deepwiki.com` | Pass a longer timeout (`MCP("https://mcp.deepwiki.com/mcp", timeout=60)`) or check outbound HTTPS rules |

***

## Best Practices

> [accordion] Pass owner/repo format explicitly
>
> Always include the full `owner/repo` slug (for example, `MervinPraison/PraisonAI`) so DeepWiki resolves the exact repository on the first call.

> [accordion] Use DeepWiki to verify your MCP setup before configuring OAuth
>
> Because DeepWiki requires no credentials, running `praisonai connectors add deepwiki && praisonai connectors test deepwiki` is a fast sanity check for your network and MCP installation.

> [accordion] Pair with OpenAI Docs for coding agents
>
> Combining DeepWiki with the [OpenAI Docs Connector](https://praison.ai/docs/mcp/openai-docs.md) gives coding agents grounded answers across both open-source repos and official API specs with zero API keys.

***

## Related

> [card] [List of Connectors](https://praison.ai/docs/features/connectors-list.md)
>
> Browse all popular connectors and step-by-step guides

> [card] [OpenAI Docs Connector](https://praison.ai/docs/mcp/openai-docs.md)
>
> Zero-auth live OpenAI API documentation lookup

> [card] [GitHub Connector](https://praison.ai/docs/mcp/github.md)
>
> Connect private repositories, issues, and pull requests

> [card] [Remote MCP Connectors](https://praison.ai/docs/features/connectors.md)
>
> Full CLI commands and Dashboard setup


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.