Connect Claude Code to Stasho
Make a key in Stasho and run one command, so Claude Code can save and search your memories from the terminal.
Updated 2026-12-06
Claude Code connects to Stasho with a key. You make the key in Stasho, and Stasho shows the exact command to run.
How do I connect Claude Code?
Sign in to Stasho and open the library menu (the button with your library's name, next to the logo).
Choose Connect AI apps, then make a new key. Give it a name that says who uses it, for example
claude-laptop.Choose what the key may do. contributor fits most people: it can add memories, and edit and trash its own.
Copy the command Stasho shows and run it in a terminal. It looks like this:
claude mcp add --transport http stasho https://stasho.page/mcp --header "Authorization: Bearer sto_<your key>"Start Claude Code and ask: "What is in my Stasho library?"
What should I ask Claude Code?
- "Save this plan to Stasho in the tech category."
- "Search Stasho for how we set up the deploy."
- "Before you start, check Stasho for notes about this project."
Big pages are fine: Claude Code sends a page too big to send inline through a one-time upload link, without extra steps from you.
How do I keep the key safe?
The key works like a password for your library. Keep it out of shared files and chats. Each key works in one library, with the role you chose. If a key leaks, revoke it in Connect AI apps and make a new one. Read more in Authentication.
This page as Markdown.