AI knowledge base for Claude Code.

Connect Perfect Wiki to Claude Code with one command. Your coding agent reads the engineering standards, runbooks and architecture docs your team already keeps in the wiki β€” and updates them when the code changes.

No credit cardSetup in under 10 minutesCancel anytime
01MCP setup

Connect Claude Code in two minutes.

Register the Perfect Wiki MCP server with claude mcp add, then run /mcp to sign in with your Perfect Wiki account. No API keys in your shell history, and the server is available in every project.

  • β†’OAuth sign-in from the terminal β€” no tokens to paste
  • β†’User scope: configure once, use it in every repo
  • β†’Share the setup via .mcp.json β€” nothing secret gets committed
Terminal Β· Claude Code
$ claude mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp
βœ“ Added HTTP MCP server perfect-wiki
$ claude
> /mcp
perfect-wiki Β· needs authentication β†’ Authenticate
βœ“ Signed in to Perfect Wiki Β· 7 tools available
02Read & write

Claude Code reads your runbooks β€” and updates the docs.

Claude Code asks your knowledge base before it writes code, pulls the exact page it needs into context, and updates the documentation after a change β€” asking for permission before anything is written.

  • β†’Grounds code changes in your engineering standards
  • β†’Pulls runbooks and architecture docs into context on demand
  • β†’Keeps wiki pages in sync with what actually shipped
Claude Code
> Add retries to the payments webhook β€” follow our engineering guidelines.
⏺ perfect-wiki · ask("webhook retry policy")
⏺ perfect-wiki · get_page("Payments service")
⏺ perfect-wiki Β· update_page("Payments service") βœ“
Your Webhooks standard requires exponential backoff, max 5 attempts and an idempotency key. Implemented in webhooks/handler.ts and added the new retry behaviour to the Payments service page.
Setup guide

How to connect Perfect Wiki to Claude Code.

  1. 1Add the server from your terminal: claude mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp
  2. 2Start Claude Code, run /mcp, select perfect-wiki and choose Authenticate. You can also run claude mcp login perfect-wiki.
  3. 3In the browser, sign in to Perfect Wiki, pick the knowledge base and click Allow access.
  4. 4Ask away β€” for example β€œSearch Perfect Wiki for our deployment checklist.”

More details in the Perfect Wiki MCP server guide and Claude Code's MCP documentation.

Prefer a static API token?
Terminal Β· API token
$ claude mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp \
--header "Authorization: Bearer $PERFECT_WIKI_TOKEN"

Generate a token in the Perfect Wiki settings of the knowledge base you want to expose. Each token is scoped to a single knowledge base and has read & write access.

Use cases

What your team does with Perfect Wiki in Claude Code.

Code that follows your conventions

Claude Code checks your API guidelines, coding standards and architecture decisions before it writes a line β€” so reviews stop catching the same mistakes.

> Read our API guidelines in Perfect Wiki, then add pagination to /orders.

Runbooks during incidents

Pull the right runbook into the terminal while you debug, and let Claude Code walk through the steps with you.

> Get the Redis failover runbook and walk me through it.

Docs that ship with the code

After a change lands, have Claude Code update the service page, the changelog or the onboarding guide β€” no separate docs ticket.

> Update the Billing service page with the new webhook retry logic.
The full toolset
ask()

Ask a natural-language question and get an AI answer with sources.

list_pages()

List every page in the connected knowledge base.

get_page()

Read the full content of a specific page.

create_page()

Create a new page β€” draft SOPs straight from chat.

update_page()

Update an existing page, so SOPs never go stale.

delete_page()

Remove pages that are no longer needed.

get_knowledgebase()

Get info about the connected knowledge base.

Free SOP templates

Start from a ready-made SOP. Keep it alive here.

Download any of our 284 standard operating procedure templates in Word, PDF, Excel or CSV, no sign-up needed. Then put it in Perfect Wiki so your team can find it and ask about it.

Browse all 284 SOP templates β†’
Common questions

Frequently asked questions

Didn't find what you're looking for? Contact our support β†’

Ready when you are

Put your SOPs to work in Claude Code.

Keep your SOPs, manuals and FAQs in Perfect Wiki β€” and give your whole team answers right where they work.

No credit cardSetup in under 10 minutesCancel anytime