ContextPulse is a transparent, local MCP server providing crucial real-time observability for AI coding agents. It helps developers efficiently manage LLM context by actively tracking token usage with `tiktoken`, identifying repetitive agent loops, and issuing proactive warnings or critical alerts before context overflow occurs. Seamlessly integrating with tools like Claude Code and Cursor, ContextPulse stores full run histories in PostgreSQL, offers detailed budget timelines, and ensures privacy by operating entirely on your machine without cloud dependencies or telemetry, empowering agents to run optimally.
主要功能
01Real-time token budget tracking and live display per agent run
02Automated detection of repetitive agent tool call loops
03Proactive warning and critical alerts for context overflow
04Comprehensive agent run history stored in PostgreSQL
05Detailed budget timeline visualization for every agent run
060 GitHub stars
使用案例
01Enhancing observability for Cursor-based AI development workflows
02Monitoring token usage and budget in Claude Code agents
03Preventing costly context overflow in any MCP-compatible AI agent