Connect Perfect Wiki to Claude Code with one command. Your coding agent reads the engineering standards, runbooks and architecture docs your team keeps in the wiki, and updates them when the code changes.
How to connect
- Add the server from your terminal:
claude mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp - Start Claude Code, run
/mcp, select perfect-wiki and choose Authenticate. You can also runclaude mcp login perfect-wiki. - In the browser, sign in to Perfect Wiki, choose the knowledge bases and the access level, then click Allow access.
- Ask away, for example "Search Perfect Wiki for our deployment checklist."
Tip: the --scope (-s) flag controls where the configuration is stored:
local(default): the current project only.user: your user-level config (~/.claude.json), so the server works in every project. Recommended.project: .mcp.json in the project, checked into git, so the whole team gets the same server.
With an API token
claude mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp \
--header "Authorization: Bearer $PERFECT_WIKI_TOKEN"Generate the token in the Perfect Wiki settings of the knowledge base you want to expose. Each token covers one knowledge base and has read & write access.
Move your old wiki in one message
Open Claude Code in a folder on your computer and say:
Import our old wiki into Perfect Wiki. The Confluence export is in ~/Downloads/confluence-export. Put every page in my "Engineering" knowledge base, keep the page tree, and show me the plan before you start.Claude Code reads the export, plans the page tree, creates each page in Perfect Wiki and asks before anything important. Hundreds of pages are fine. For a folder of Markdown, Word or PDF files:
Turn everything in ./docs into Perfect Wiki pages in my "Engineering" knowledge base: one page per file, folders as parent pages, and skip anything that is already there.More prompts: ๐ค Import with an AI agent (ChatGPT, Claude, Codexโฆ)
More: ๐ Perfect Wiki MCP Server ยท Claude Integration ยท Claude Code MCP docs