Status: [LIVE] Endpoints found: https://api.anthropic.com/v1/messages Source: https://github.com/larsderidder/contextio # ContextIO - Control your context [![CI](https://github.com/larsderidder/contextio/actions/workflows/ci.yml/badge.svg)](https://github.com/larsderidder/contextio/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/@contextio/cli)](https://www.npmjs.com/package/@contextio/cli) ![License: MIT](https://img.shields.io/badge/license-MIT-green) A local proxy that sits between your AI coding tools and the LLM APIs they call. Logs every request and response, optionally strips PII and secrets before anything leaves your machine. I built this because I get nervous sending data I don't see to LLMs. Now at least I know if they are gossiping about me. All your stuff passes through this thing, so the proxy has zero external dependencies. Read the code, it's small. **Looking for full observability?** Check out [Context Lens](https://github.com/larsderidder/context-lens), a web-based tracing and analytics platform built on top of contextio (well I'm working on porting things over). ## Install ### CLI (recommended for local development) ```bash npm install -g @contextio/cli ``` ### Docker (for deployment) ```bash docker pull ghcr.io/larsderidder/contextio:latest docker run -p 4040:4040 ghcr.io/larsderidder/contextio:latest ``` See [docker/README.md](docker/README.md) for full Docker documentation. ## Quick start Log everything: ```bash ctxio proxy -- claude ``` Log and redact PII: ```bash ctxio proxy --redact -- claude ``` Log, redact, and restore originals in responses: ```bash ctxio proxy --redact-reversible -- claude ``` Works with multiple tools at once: ```bash ctxio proxy --redact # start the proxy ctxio attach claude # in another terminal ctxio attach gemini # in another terminal ``` Or run it in the background: ```bash ctxio proxy -d --redact ctxio attach claude ctxio proxy stop ``` `contextio` is a longer alias for `ctxio` for those who just _love_ typing. ## Commands ### Proxy Start the proxy standalone (ru