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

  1. Open a terminal on your computer.
  2. Run this command. -s user adds Archivist for every folder you open Claude Code in:
    Command
    claude 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

  1. Start Claude Code with claude, then type /mcp and press Enter.
  2. Pick archivist and choose to sign in. Or, in a terminal, run claude mcp login archivist.

Your browser opens Archivist's allow page.

  1. Your browser opens Archivist. Sign in if it asks.
  2. 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.
  3. 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.

Archivist's allow page for Claude Code: the app, Claude Code, Published by claude.ai; Sends you back to On this device, http://localhost/callback, an address on the same computer; What it may do with See and change picked, and a ringed Allow.
The address is Claude Code on your own computer.

Ask it about your character

  1. 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.
  2. 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.

  1. 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