Skip to main content

A local proxy for Claude Code that archives every request and response to a SQLite database, with a web UI for browsing sessions, searching transcripts, and inspecting raw API traffic.

Project description

cctape

A local proxy for Claude Code that archives every request and response to a SQLite database, with a web UI for browsing sessions, searching transcripts, and inspecting raw API traffic.

Run

Build the frontend once (output is served by the backend from backend/src/cctape/static/):

cd frontend && npm install && npm run build

Start the backend:

cd backend && uv run uvicorn --reload --factory --port=5555 cctape:create_app

Point Claude Code at the proxy:

ANTHROPIC_BASE_URL=http://127.0.0.1:5555/proxy claude

Open the UI at http://127.0.0.1:5555.

Persistent setup

Add to ~/.zshrc (or ~/.bashrc):

export ANTHROPIC_BASE_URL=http://127.0.0.1:5555/proxy

For the Claude Code VS Code extension, add to user settings:

"claudeCode.environmentVariables": [
    {"name": "ANTHROPIC_BASE_URL", "value": "http://127.0.0.1:5555/proxy"}
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cctape-0.1.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cctape-0.1.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file cctape-0.1.0.tar.gz.

File metadata

  • Download URL: cctape-0.1.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cctape-0.1.0.tar.gz
Algorithm Hash digest
SHA256 70bdd6aa1cb961d029de217ba31a73c0ffa3700a92ed6ad49068c0ac450dd0a2
MD5 5934f30560ef45ab8468fb0c8fd100c7
BLAKE2b-256 583b2502225e0bbd81c394c559b70850e43093013a6be5d68fe9157884fb64cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cctape-0.1.0.tar.gz:

Publisher: main.yaml on tillahoffmann/cctape

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cctape-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cctape-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cctape-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6df7fad79b9da6dbb441ed72672bd3b95d2192073aef94079713e854861e850b
MD5 d4cd30ba4514728a68da8faeabcdf59d
BLAKE2b-256 ee75a0631b6c3c915aec68ec41435738257ec414691eb442558582313335c85a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cctape-0.1.0-py3-none-any.whl:

Publisher: main.yaml on tillahoffmann/cctape

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page