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
Surgical GitHub Extraction: A Claude Skill to Fetch One Function, Not the Whole Repo
A new open-source Claude Skill named surgical-github-extraction stops Claude Code from cloning entire repos when you only want one function or pattern. It reads the README, pulls 1–3 raw source files, and lifts the smallest useful unit with a provenance comment.

Codex Chrome Extension Adds Background Browser Automation Across Tabs
Codex's new Chrome extension on macOS/Windows enables parallel browser task execution in background tabs without taking over the browser — covering debugging flows, dashboards, research, and CRM updates.

First-Tree: Open-Source Daemon That Uses Claude Code to Triage GitHub Notifications While You Sleep
An open-source menu bar daemon that uses Claude Code to autonomously triage GitHub notifications – it handled 98 out of 100 notifications in a recent scan, leaving only 2 for human review.

Calmkeep: An External Continuity Layer to Counter LLM Drift in Extended Sessions
Calmkeep is an external continuity layer designed to counteract LLM drift in extended sessions, showing 85% integrity vs 60% for standard Claude in a 25-turn backend build test and 100% vs 50% in a legal session.