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: How to Connect Your AI-Built Frontend to a Real Backend
Claude Code builds polished frontends but often uses hardcoded data. Here are four ways to connect it to real backends: raw APIs, SDKs, CLIs, and MCP.

OpenMind adds visual mind map interface to OpenClaw installations
OpenMind is an open-source tool that transforms OpenClaw installations into interactive, live-editable mind maps with real-time memory visualization, hot-swappable logic, and full-text search across all nodes.

Relay: Open-Source Control Plane for OpenClaw AI Agents
Relay is an Electron desktop app that provides Claude Cowork-like workflow for OpenClaw, running on your infrastructure with your choice of LLM models and built-in governance features including approval gates and exportable audit trails.

Turn Your Knowledge Base into a Wiki + MCP Server for Claude
A demo of Akyn transforming a knowledge base (URL, PDF, Notion) into a wiki and exposing it as an MCP server, enabling Claude to query and write back — with OAuth, human-in-the-loop, and auto-sync.