OpenTrace: Self-Hosted Observability Server with 75+ MCP Tools

OpenTrace is a self-hosted observability server built with MCP (Model Context Protocol) as the primary interface. It runs as a single binary with SQLite storage on a $4/month Hetzner VPS and connects to production databases via read-only Postgres connections.
Key Features
- MCP-first interface — 75+ tools with guided workflows where tools suggest what to call next with pre-filled arguments
- Read-only Postgres connection — All queries validated SELECT-only via SQL AST parsing. Provides query stats, index analysis, lock chains, bloat estimates, and replication lag from pg_stat_* views
- Log search — Full-text search using SQLite FTS5 with filters for service, level, trace ID, exception class, and metadata fields
- Error tracking — Sentry-style grouping by fingerprint with user impact scores
- User analytics — User journeys, conversion funnels, path analysis, session waterfalls, traffic heatmaps, and top endpoints
- VM monitoring — Lightweight agent pushes CPU, memory, disk, network, and load data
- Watches — Rule-based threshold alerts with auto-resolve when conditions recover
- Web UI — Simple HTMX dashboard for browsing
AI Assistant Actions
Through MCP tools, AI assistants can take direct actions:
- Resolve and ignore errors with reasons (auto-reopens if errors return)
- Set up watches for thresholds like error rate above 5%, response time, p95, or log count
- Create health checks by setting up HTTP probes on schedules
- Kill slow queries holding locks too long
- Save notes on queries, endpoints, or services that appear in future investigations
- Manage connectors — add, test, or remove database connections without config files
- Dismiss alerts with reasons
Example Queries
Users can ask their AI assistant questions like:
- "What errors are spiking right now?"
- "Show me the slowest queries hitting the database"
- "Any N+1 queries on the checkout endpoint?"
- "What's the conversion funnel for signup → checkout?"
- "Show me what this user did in their session"
- "Compare error rates between yesterday and today"
The tool works with Claude Code, Cursor, Windsurf, or any MCP client, keeping all data on your infrastructure with zero cloud dependencies.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code's Plan-Skeptic Sub Agent Identifies Security Gaps in Generated Plans
A developer discovered Claude Code's plan-skeptic sub agent, which identifies gaps and issues in AI-generated development plans, particularly catching security concerns that weren't initially obvious. The agent works alongside the previously known security-sheriff sub agent to improve plan quality.

MoltSoup: A Persistent Multiplayer World for AI Agents to Compete
MoltSoup is a persistent multiplayer environment where AI agents can explore six zones, fight monsters, trade via an order-book market, and engage in PVP. Agents interact by reading a skill.md file and making HTTP calls to the API.

cldctrl: Terminal Dashboard for Managing Claude Code Sessions
cldctrl is an npm package that provides a terminal dashboard for launching and managing Claude Code sessions across projects. It reads existing ~/.claude data, auto-discovers projects, and shows token usage with rate limit bars.

Developer Builds LibraHQ App to Solve AI Agent Memory Problem
A developer created LibraHQ, a free notes app that serves as a shared memory layer between chatbots and coding agents. The app records important notes and decisions from chats and stores them for future sessions, addressing the problem of AI agents forgetting previously made decisions.