How to connect Claude Code to Archivist
The short answerIn a terminal, run claude mcp add --transport http -s user archivist https://api.archivist.gg/mcp. Start Claude Code, type /mcp, pick archivist and sign in: your browser opens Archivist, where you press Allow. Then ask Claude Code about one of your characters.
- For players and DMs
- 10 short steps
- Updated 19 November 2026, for Archivist 1.7.0
Steps from Claude Code's own docs, read 19 November 2026. Claude Code works with a Claude Pro, Max, Ultra, Team or Enterprise plan, or a Claude Console account.
Add Archivist
- Open a terminal on your computer.
- Run this command.
-s useradds Archivist for every folder you open Claude Code in:Commandclaude mcp add --transport http -s user archivist https://api.archivist.gg/mcp
Claude Code answers in a line that it added archivist. Added Archivist on claude.ai already? Claude Code shows that connector too when you sign in with the same Claude account, so you can skip to signing in.
Sign in
- Start Claude Code with
claude, then type/mcpand press Enter. - Pick archivist and choose to sign in. Or, in a terminal, run
claude mcp login archivist.
Your browser opens Archivist's allow page.
- Your browser opens Archivist. Sign in if it asks.
- Check the app: Claude Code, with Published by claude.ai next to its name, and Sends you back to: On this device, then an address on your own computer starting with http://localhost or http://127.0.0.1.
- Under What it may do, keep See and change to let it bring things in, or pick See only. Press Allow.
The page says the app is connected and takes you back to it. If you waited too long, it offers Start again. You can disconnect the app at any time in Settings, under Connected apps.
Ask it about your character
- Back in Claude Code, paste this first prompt:Prompt
Use Archivist. Tell me which account you are signed in to and whether you can change things or only see them, then list my characters and my compendiums. - When it asks to use an Archivist tool, answer Yes, or Yes, and don't ask again for that tool.
It answers with your account's name, what it may do, and your characters and compendiums.
- Ask about one of your characters, such as:Prompt
In Archivist, what is Grendal the Wary's Armor Class, and what gives him that number?
It answers with the number and what gives it, read from Archivist.
Questions
Can Claude Code read my PDF or a photo of my sheet?
Yes. Put the file in the folder you start Claude Code in and name it in your prompt. See Bring in a character or homebrew with Claude Code.
How do I stop it?
In Archivist, open Settings and press Disconnect on Claude Code's row under Connected apps.
Keep going
- Connect your own chat app to ArchivistAdd one address in your chat app, sign in, and it can read and change your characters.
- Bring in a character or homebrew with Claude CodeA sheet from a PDF or a photo, and homebrew from a PDF or pasted text.
- Prompts to copy for your chat appCheck the connection, bring in a sheet, a book or homebrew, and fix notes.
- Connect Claude to ArchivistAdd it as a custom connector on the website or in the desktop app.