Dev iconDevSep 19, 2026 ~1 min source read

How I gave Claude cookie tools a public no-key JSON API

If you use Claude Code, you have probably hit this wall: the browser stores your login as a sessionKey cookie, but Claude Code wants ~/.claude/.credentials.json. Converter вЂ" turn Netscape cookies.txt, Cookie-Editor JSON, Puppeteer format, key-value or a raw Cookie header into each other.

How I gave Claude cookie tools a public no-key JSON API

Share this story

Send the public story page.

Useful takeaways from this story.

If you use Claude Code, you have probably hit this wall: the browser stores your login as a sessionKey cookie, but Claude Code wants ~/.claude/.credentials.json.

Converter вЂ" turn Netscape cookies.txt, Cookie-Editor JSON, Puppeteer format, key-value or a raw Cookie header into each other.

Check вЂ" paste a session cookie and it tells you if the session is alive, which plan it belongs to, and how much of the 5-hour and weekly usage windows is left.

Building the complete brief

The page is ready to read now. The fuller skim-friendly version will appear here automatically.

The useful part

If you use Claude Code, you have probably hit this wall: the browser stores your login as a sessionKey cookie, but Claude Code wants ~/.claude/.credentials.json. Converter вЂ" turn Netscape cookies.txt, Cookie-Editor JSON, Puppeteer format, key-value or a raw Cookie header into each other. Check вЂ" paste a session cookie and it tells you if the session is alive, which plan it belongs to, and how much of the 5-hour and weekly usage windows is left.

How it works

  • Credentials вЂ" same check, then download the ~/.claude/.credentials.json Claude Code actually reads.

Details worth keeping

The public API Every one of those three exists as a public JSON API.

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app