claude-web-history-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_WEB_STORE | No | Override where session keys are stored, either `keychain` or `file` (e.g. `CLAUDE_WEB_STORE=keychain|file`). | |
| CLAUDE_SESSION_KEY | No | claude.ai `sessionKey` provided via environment, exposed as a read-only `env` account. | |
| CLAUDE_WEB_HISTORY_DIR | No | Override the folder used for account storage. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_web_accountsA | List the claude.ai accounts this server can read (names only, never keys). Add accounts with |
| list_web_conversationsA | List recent conversations (newest first) from one claude.ai account, or merged from all accounts when |
| search_web_conversationsA | Case-insensitive search over conversation TITLES across all configured accounts (or one). Titles only — it does not search message text. Scans the most recent |
| read_web_conversationA | Fetch the full transcript of one claude.ai conversation as markdown. If |
| save_web_conversationA | Fetch a claude.ai conversation and write it to disk as markdown — useful for parking it in the repo (e.g. docs/context/) so it persists across sessions. |
| debug_connectionA | Check whether each account's session key works and which org id resolves. Optionally hit a raw API path (needs |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
The core verbs (list, search, read, save) map cleanly onto distinct operations, and list_web_accounts vs list_web_conversations are differentiated by object. The only mild overlap is read_web_conversation vs save_web_conversation, since save also fetches the transcript; the description clarifies the difference (disk write/persistence), so misselection risk is low.
All tools use a predictable snake_case verb_noun pattern (list_/search_/read_/save_ + web_conversation(s), list_web_accounts). The only deviation is debug_connection lacking the 'web_' infix, which is appropriate since it is diagnostics rather than conversation access.
Six tools is well-scoped for a read/export service over claude.ai conversations. Each tool corresponds to a distinct step (discover accounts, list, search, read, persist, troubleshoot) with no filler.
Lifecycle for reading and exporting conversations is covered, including persistence and diagnostics. Minor gaps: search only covers titles (no message-text search), and account management (adding/removing accounts) requires npm setup or the web UI rather than a tool, leaving agents a small dead end.