Integrations
Stores conversation variations in a SQLite database with robust query capabilities, allowing users to read logs, execute SQL queries, create tables, and analyze stored interaction patterns.
MCP Variance Log
Agentic tool that looks for statistical variations in conversation structure and logs unusual events to a SQLite database. Built using the Model Context Protocol (MCP), this system is designed to be used with Claude Desktop or other MCP-compatible clients.
Requirements
- Python ≥3.10
- MCP ≥1.2.0
- SQLite3
- UV (Python package installer and environment manager)
Quick Start
Add to Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json
on Windows):
Add to Claude Desktop preferences:
Usage
Automatic Logging Examples
Dataframe view
Text 2 SQL
Detailed Installation
- Ensure Python 3.10+ and UV are installed.
Install UV using one of these methods:
- Clone and install:
- Configure Claude Desktop:
Add to claude_desktop_config.json
:
Config locations:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
Tools
Monitoring
log-query
: Tracks conversation patterns- HIGH: Common interactions (not logged)
- MEDIUM: Unusual patterns (logged)
- LOW: Critical events (priority logged)
Query
read-logs
: View logs with filteringread_query
: Execute SELECT querieswrite_query
: Execute INSERT/UPDATE/DELETEcreate_table
: Create tableslist_tables
: Show all tablesdescribe_table
: Show table structure
Located at data/varlog.db
relative to installation.
Schema
Troubleshooting
- Database Access
- Error: "Failed to connect to database"
- Check file permissions
- Verify path in config
- Ensure
/data
directory exists
- Installation Issues
- Error: "No module named 'mcp'"
- Run:
uv pip install mcp>=1.2.0
- Run:
- Error: "UV command not found"
- Install UV:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Install UV:
- Configuration
- Error: "Failed to start MCP server"
- Verify config.json syntax
- Check path separators (use \ on Windows)
- Ensure UV is in your system PATH
Contributing
- Fork the repository
- Create feature branch
- Submit pull request
License
MIT
Support
Issues: GitHub Issues
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Agentic tool that looks for statistical variations in conversation structure and logs unusual events to a SQLite database. Built using the Model Context Protocol (MCP), this system is designed to be used with Claude Desktop or other MCP-compatible clients.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through SQLite. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.Last updated -643,205JavaScriptMIT License
- AsecurityFlicenseAqualityModel Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.Last updated -105316JavaScript
- -securityFlicense-qualityManages AI conversation context and personal knowledge bases through the Model Context Protocol (MCP), providing tools for user data, conversation content, and knowledge management.Last updated -1TypeScript
- -securityAlicense-qualityA Model Context Protocol (MCP) server that allows AI agents like Claude to interact with the Aligo SMS API to send text messages and retrieve related information.Last updated -JavaScriptMIT License