DeepWiki
Use MCPorter deepwiki for public GitHub repository docs and codebase Q&A.
- NEVER assume native DeepWiki tools are mounted
- Managed
mcportersupplies the generated registry
Required follow-up reads
| Need | Read | When |
|---|---|---|
| Fallback contracts or broad tool/schema comparison | references/tools-schema.md |
MUST read only after a call/schema failure or broad comparison needs exact contracts |
Workflow
Select one of the three known tools and call it directly; do not list the server or inspect schemas first:
mcporter call deepwiki.ask_question --args '{"repoName":"owner/repo","question":"<question>"}' mcporter call deepwiki.read_wiki_structure repoName=owner/repo mcporter call deepwiki.read_wiki_contents repoName=owner/repoIf a call reports a missing tool or invalid input, inspect only that tool's live schema, correct the call, and retry once:
mcporter list deepwiki.<tool> --schemaLive success MUST override snapshot; NEVER infer absent response fields.
Live failure MUST label snapshot use as fallback.
Routing:
- Repositories MUST use
owner/repo. ask_questionaccepts one or up to 10 repositories.- Other tools accept exactly one repository.
- Broad exploration SHOULD inspect structure before contents.
- Narrow questions SHOULD use
ask_question. - Multi-repository calls MUST use exact
--argsJSON.
- Repositories MUST use
Insufficient DeepWiki MAY switch to public-web research; MUST disclose.
read_wiki_contents can be large; MUST narrow first unless full docs are needed.