<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Tampermonkey on k4i's blog</title><link>https://k4i.top/tags/tampermonkey/</link><description>Recent content in Tampermonkey on k4i's blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>sky_io@outlook.com (K4i)</managingEditor><webMaster>sky_io@outlook.com (K4i)</webMaster><copyright>All content is subject to the license of &lt;a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank"&gt;CC BY-NC-SA 4.0&lt;/a&gt; .</copyright><lastBuildDate>Sun, 22 Mar 2026 21:49:00 +0800</lastBuildDate><atom:link href="https://k4i.top/tags/tampermonkey/index.xml" rel="self" type="application/rss+xml"/><item><title>Mitmproxy + Tampermonkey = better {llm, …} viewer</title><link>https://k4i.top/posts/mitmproxy-plus-tampermonkey-better-llm-dot-dot-dot-viewer/</link><pubDate>Sun, 22 Mar 2026 21:49:00 +0800</pubDate><author>sky_io@outlook.com (K4i)</author><atom:modified>Sun, 26 Apr 2026 16:08:06 +0800</atom:modified><guid>https://k4i.top/posts/mitmproxy-plus-tampermonkey-better-llm-dot-dot-dot-viewer/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When I debug LLM applications, I often want to see the actual HTTP traffic: the request body, model name, tool calls, streaming chunks, token usage, and the final response. SDK logs are useful, but they are usually either too summarized or too noisy.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mitmproxy.org/"&gt;mitmproxy&lt;/a&gt; is great for this because it can intercept HTTP, HTTPS, and WebSocket traffic, then show each flow in &lt;code&gt;mitmweb&lt;/code&gt;. The missing piece is presentation: raw JSON is precise, but not pleasant to read when the payload contains long messages or nested tool calls.&lt;/p&gt;</description><dc:creator>K4i</dc:creator><media:content url="https://k4i.top//images/icons/better-llm-viewer.png" medium="image"><media:title type="html">featured image</media:title></media:content><category>mitmproxy</category><category>llm</category><category>tampermonkey</category><category>debugging</category><category>proxy</category><category>workspace-setup</category></item></channel></rss>