CLAUDE_CODE_MEMORY_API_BASE_URL
A Claude Code environment variable, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Your memory API base URL and token are now hidden from every command Claude runs.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.227.
In the changelogs
4Releases whose published page names CLAUDE_CODE_MEMORY_API_BASE_URL.
-
v2.1.248
Memory API endpoint and token environment variables
Two environment variables can point Claude Code at a memory service with a token.
named in this entry, found in this entry's text
-
v2.1.227
Two memory-API environment variables are hidden from commands Claude runs
Your memory API base URL and token are now hidden from every command Claude runs.
named in this entry, found in this entry's text
-
v2.1.227
Groundwork for a development memory backend, unreachable in this build
Memory could sync against your own server with a bearer token, but the selecting check never returns.
named in this entry, found in this entry's text
-
v2.1.227
Self-hosted memory endpoint is scaffolded but cannot be switched on
Two environment variables for pointing memory at your own server exist but do nothing.
named in this entry, found in this entry's text
First cited
1The earliest release whose published evidence quoted CLAUDE_CODE_MEMORY_API_BASE_URL was v2.1.248, 27 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.