Watchtower: A Local Proxy for Monitoring Claude Code API Traffic

What Watchtower Does
Watchtower is a local HTTP proxy combined with a real-time web dashboard. It intercepts all API traffic between Claude Code (or the Codex CLI) and their backend APIs. This allows developers to see every request, Server-Sent Events (SSE) stream, tool definition, system prompt, token usage, and rate limit in real time.
Key Features and Motivation
The tool was built using Claude Code itself. According to the creator, Claude Code typically sends 2-3 API calls per user message: one for quota checks, another for token counts, and then the actual streaming request. It also spawns subagents with completely different system prompts and smaller tool sets. The main system prompt alone is reported to be over 20,000 tokens. Normally, this internal communication is not visible to the user.
Setup and Usage
Installation is done via npm:
npm install -g watchtower-ai && watchtower-ai
To use it, run Claude Code while pointing it at the proxy by setting an environment variable:
ANTHROPIC_BASE_URL=http://localhost:8024 claude
The dashboard interface opens in your browser at http://localhost:8025.
Project Details
The entire project—including the proxy server, provider detection, SSE parsing, and the dashboard UI—was built using Claude Code. It is released under the MIT license, is free and open source, and has no paid tiers or account requirements.
The creator states this tool is useful for developers who want to see reasoning traces, understand token consumption patterns, or learn how the agent harness works in order to build better AI agents themselves.
📖 Read the full source: r/ClaudeAI
👀 See Also

Multi-Agent Career Mentor Built with Ollama and MCP for Local AI
A developer built a 5-agent AI system that analyzes resumes and generates career intelligence reports using Ollama with llama3 locally. The system chains agent outputs so each builds on previous context, with MCP handling tool integration.

Curated List of 260+ AI Agent Tools with Claude Ecosystem Highlights
A GitHub repository contains a curated list of 260+ AI agent tools, including specific Claude-related entries like Claude Code (80.9% SWE-bench), Claude Computer Use, and Claude in Chrome, plus tools that work well with Claude such as Cline and Cursor.

Microsoft BitNet: 1-bit LLM inference framework for CPU and GPU
Microsoft released BitNet, an inference framework for 1-bit LLMs that achieves 1.37x to 6.17x speedups on CPUs and reduces energy consumption by 55.4% to 82.2%. It can run a 100B parameter model on a single CPU at 5-7 tokens per second.

Recall: A Persistent Memory MCP Server for Claude Code
Recall is an open-source MCP server that gives Claude Code persistent memory across sessions via semantic search with embeddings. It includes four lifecycle hooks: session-start, observe, pre-compact, and session-end.