How to connect your 📝MythOS knowledge library to 📝Claude Code using an API key.
When you connect MythOS to Claude Code, your knowledge library loads into every terminal session — search, read, create, and update memos without leaving the CLI. For an automated setup script with additional features, see the 📝MythOS Claude Code Skill.
What You'll Need
- A MythOS account with a Scholar or Oracle plan
- Claude Code installed (claude.ai/code)
Steps
- Generate — an API key at mythos.one/settings/api-keys. Copy the key — it starts with
mtk_ - Run — the following command in your terminal, replacing the placeholders with your key and username:
claude mcp add mythos \
--scope user \
https://mythos.one/api/mcp \
--header "Accept: application/json, text/event-stream" \
--header "x-mythos-key: YOUR_API_KEY" \
--header "x-mythos-username: YOUR_USERNAME"- Restart — Claude Code for the 📝MCP connection to take effect
- Verify — by asking Claude to search your MythOS library. If it returns results, you're connected
What's Next?
- 📝MythOS Claude Code Skill — automated setup script and usage examples
- 📝Syncing CLAUDE.md from MythOS — keep your Claude Code instructions synced from your library
- 📝MythOS Session Memory Protocol — persistent memory across conversations using daily memos
