DeepWiki MCP
Give your agent the name of a public GitHub repository that DeepWiki has indexed, such as facebook/react. It can look up the wiki's table of contents, read the documentation, or ask a question grounded in the repository.
Use DeepWiki to list the wiki topics for CognitionAI/deepwiki and suggest where a new contributor should start.
What it can do
| Method | What it does |
|---|---|
read_wiki_structure | Lists the wiki topics for one repository. Start here when you need to find your way around. |
read_wiki_contents | Reads the wiki contents for one repository. Ask your assistant to summarize the parts relevant to your task. |
ask_wiki_question | Sends a written question to DeepWiki about one repository or up to ten indexed public repositories together. |
How to get credentials
Sign in to FlyMy.AI in your MCP client and select the DeepWiki public connector (deepwiki_public) for your agent. DeepWiki's public repository service requires no DeepWiki account or API key. DeepWiki connection settings
Fields to fill in FlyMy.AI
There are no provider credential fields. Supply the repository and, when asking a question, the question text in the action arguments.
Action reference
read-wiki-structure
read_wiki_structure - List the documentation topics for a single repository.
Use the outline to decide what to read first.
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
repoName | string | Yes | None | One public GitHub owner/repo identifier. |
Example arguments
{
"repoName": "facebook/react"
}
Result: The wiki outline appears in the returned text.
Illustrative response shape
{
"content": [
{
"type": "text",
"text": "Example topic"
}
],
"structuredContent": {
"result": "Example topic"
}
}
read-wiki-contents
read_wiki_contents - Read the wiki documentation for a single repository.
The input selects the whole repository wiki. Your assistant can summarize a section from the returned contents.
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
repoName | string | Yes | None | One public GitHub owner/repo identifier. |
Example arguments
{
"repoName": "facebook/react"
}
Result: The returned text contains the repository wiki contents.
Illustrative response shape
{
"content": [
{
"type": "text",
"text": "Example wiki text"
}
],
"structuredContent": {
"result": "Example wiki text"
}
}
ask-wiki-question
ask_wiki_question - Ask DeepWiki a question about a codebase.
Supply one repository or an ordered list of up to ten indexed public repositories. For comparisons, ask which repository supports each part of the answer.
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
repoName | string or array of strings | Yes | None | One GitHub owner/repo identifier or a list of 1-10 identifiers. |
question | string | Yes | None | The question you want DeepWiki to answer using the selected repositories. |
Example arguments
{
"repoName": "facebook/react",
"question": "Which parts of the repository handle rendering to the DOM?"
}
Result: DeepWiki returns its generated answer as text.
Illustrative response shape
{
"content": [
{
"type": "text",
"text": "Example answer"
}
],
"structuredContent": {
"result": "Example answer"
}
}
Troubleshooting
- The wiki is missing. Open the public repository on DeepWiki and check that it has a wiki. Pass the repository as
owner/repo, for examplefacebook/react. A GitHub URL, branch name or file path is a different input. - A question needs context. Name the component and the decision you are making. To compare repositories, send their identifiers together in one question. To read their outlines, request each one separately.
- The tool reports an error. Treat
isError: trueas a failed tool result. A timeout can leave a question's outcome unknown. Check its outcome before asking the same question again.
Links
- DeepWiki MCP on FlyMy.AI
- Using DeepWiki MCP to read GitHub repository documentation
- DeepWiki's MCP reference
- React's public wiki