MCP Variance Log is an MCP server that detects statistical variations and unusual interaction patterns in conversation structures and stores those events directly in a local SQLite database. Designed for developers, researchers, and system administrators running AI agents in environments like Claude Desktop, it operates as an unobtrusive auditing and observation layer. During dialogue, the server categorizes events into probability bands such as common, unusual, or critical. Whenever an interaction falls into a medium or low probability threshold, such as anomalous factual claims or sudden conversational shifts, the server records detailed metadata including user identifiers, session markers, context summaries, and analytical reasoning. In addition to continuous anomaly logging, MCP Variance Log exposes database querying tools that allow users to inspect historical logs, run custom SQL commands, examine table structures, and extract audit records directly through natural language prompts within their chosen Model Context Protocol client.
Category: AI Memory & Context
Tags: analytics, logging, sqlite, statistics
bash git clone https://github.com/truaxki/mcp-variance-log.git cd mcp-variance-log uv pip install -e . 3. Add the server to your Claude Desktop configuration file (claude_desktop_config.json): json { "mcpServers": { "mcp-variance-log": { "command": "uv", "args": [ "--directory", "PATH_TO_REPO/mcp-variance-log", "run", "mcp-variance-log" ] } } } 4. Restart Claude Desktop to start using the tools.Part of MCP Servers
MCP Variance Log is an Model Context Protocol server that monitors conversation structures for statistical anomalies and records unusual events into a local SQLite database. It allows AI clients to run background monitoring and perform database queries through natural language.
Clone the repository from GitHub and install the package using uv pip install in your Python environment. Then, configure your Claude Desktop configuration JSON file with the uv command, repo directory, and mcp-variance-log arguments.
The server provides monitoring tools like log-query to track dialogue patterns, alongside database tools including read-logs, read_query, write_query, create_table, list_tables, and describe_table for inspecting and modifying the underlying SQLite data store.
MCP Variance Log is designed to work with Claude Desktop on Windows, macOS, and Linux, as well as any other client application that supports standard Model Context Protocol server configurations.
Yes, MCP Variance Log is open source and distributed under the MIT license on GitHub.