$npx skillfedfor your agent

claude-tap

Trace AI CLI API requests via local reverse and forward proxies. Inspect system prompts, messages, tools, and token usage.

Worth itPyPI TestingReleased Aug 2026118.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — claude_tap-0.1.144-py3-none-any.whl
v0.1.144 · released 2026-08-14 · Python >=3.11 · 3 runtime deps: aiohttp, backports-zstd, cryptography

Yes. claude-tap fills a real need for developers working with AI agents: it provides local, privacy-preserving visibility into agent-API traffic without requiring hosted infrastructure or code changes to the agent itself. Low install friction, active maintenance, no known vulnerabilities, and broad client support make it a practical debugging tool. Install it if you regularly work with Claude Code, Cursor, or other traced agents and want to understand their behavior.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later and the target AI CLI tool (Claude Code, Codex, Gemini CLI, etc.) installed and configured.
  • Low friction: pure Python wheel with three common async/crypto dependencies (aiohttp, backports-zstd, cryptography).
  • Active maintenance as of 2026-08-14 with recent release.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most development workflows.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 3,057 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,413 downloads/mo, #12,120 on PyPI

Verify before relying

pip install claude-tap

# Trace Claude Code with live viewer
claude-tap

# Or trace another client
claude-tap --tap-client codex

# Pass flags to the client after --
claude-tap -- --model claude-opus-4-6
  • Whether the live viewer server runs by default in all deployment contexts or only in interactive terminal mode.
  • Performance overhead of the proxy on large or streaming responses from the traced agent.
  • Whether trace export to HTML viewer works with all supported clients or has known limitations.
Same gist for agents: .md · .json

What it is and what it does

claude-tap is a local reverse and forward proxy that intercepts HTTP traffic from AI coding agents and displays it in a web-based trace viewer. It works with a wide range of agent CLIs—Claude Code, Codex, Gemini, Grok, Kimi, Cursor, and others—capturing the raw API requests and responses without requiring a hosted dashboard. You run your agent through claude-tap instead of directly, and it records system prompts, conversation history, tool schemas, tool calls, streaming responses, and token counts.

The tool is designed for developers who want to understand or debug agent behavior by seeing exactly what context and instructions the agent is working with, and how that context changes between turns. Traces stay on your machine by default, with sensitive auth headers redacted. Each run can be exported as a self-contained HTML file for review or archiving, and the same workflow works across multiple different agent clients.

Use it for

  • Debug why a Claude Code agent made a particular tool call by comparing the system prompt and messages sent in that request versus the previous one.
  • Inspect token usage and streaming response reconstruction for a Cursor or Codex session to understand cost and latency.
  • Export and archive a trace of an agent run as a portable HTML file for code review or incident analysis.
  • Verify that a custom Claude Code upstream (DeepSeek, local proxy, etc.) is receiving the correct prompts and tool definitions.
  • Compare how different agent CLIs (Kimi, Gemini, Grok) structure their API calls and context for the same task.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

claude-tap fills a real need for developers working with AI agents: it provides local, privacy-preserving visibility into agent-API traffic without requiring hosted infrastructure or code changes to the agent itself. Low install friction, active maintenance, no known vulnerabilities, and broad client support make it a practical debugging tool. Install it if you regularly work with Claude Code, Cursor, or other traced agents and want to understand their behavior.

Install

claude-tap on PyPI

Before you install

Low friction: pure Python wheel with three common async/crypto dependencies (aiohttp, backports-zstd, cryptography). Active maintenance as of 2026-08-14 with recent release. Requires Python 3.11+.

Requires Python 3.11 or later and the target AI CLI tool (Claude Code, Codex, Gemini CLI, etc.) installed and configured.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most development workflows.

Quickstart

pip install claude-tap

# Trace Claude Code with live viewer
claude-tap

# Or trace another client
claude-tap --tap-client codex

# Pass flags to the client after --
claude-tap -- --model claude-opus-4-6

Verify before relying

  • Whether the live viewer server runs by default in all deployment contexts or only in interactive terminal mode.
  • Performance overhead of the proxy on large or streaming responses from the traced agent.
  • Whether trace export to HTML viewer works with all supported clients or has known limitations.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
aiohttpbackports-zstdcryptography
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads118,413 / month, #12,120 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: DebuggersTopic :: Software Development :: Testing

Evidence: claude_tap-0.1.144-py3-none-any.whl

Tags

Capabilities
ai agent api trace viewerlocal proxy for llm debugginginspect claude code requestsai coding agent traffic capturellm api call inspectoragent context and prompt viewerlocal ai agent debugger
Topics
ai-agent-debuggingapi-tracingllm-observability
PyPI keywords
claudeclaude-codecodexgrokkimicursorqodertraceproxyapillmcontext-engineering

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ai agent api trace viewer”

  • claude-tapclaude-tap is a local proxy and trace viewer that captures and…
  • inspect-scoutInspect Scout analyzes and visualizes transcripts from AI agent runs,…
  • strands-agents-evalsStrands Evals SDK provides a comprehensive evaluation framework for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also anthropic · lmnr-claude-code-proxy · openinference-instrumentation-claude-agent-sdk · ddapm-test-agent · detect_agent · trinity-agent · google-agents-cli · inspect-scout · claude-code-sdk · agentrust-trace

Further reading