JoodasCode/slopwatch-mcp-server
If you are the rightful owner of slopwatch-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
SlopWatch is a Model Context Protocol (MCP) server designed for real-time AI lie detection in code development environments.
š„ SlopWatch MCP Server
Professional AI lie detection for Windsurf IDE & Claude Desktop
SlopWatch is a production-ready Model Context Protocol (MCP) server that provides real-time AI lie detection for code development environments. It analyzes AI claims against actual code to catch false assertions and inconsistencies.
⨠Features
- šØ Real-time Lie Detection: Automatically detects when AI makes false claims about code
- š Multi-language Support: JavaScript, TypeScript, Python, CSS, HTML, React
- šÆ Pattern Matching: Advanced regex patterns for different programming concepts
- ā” Fast Analysis: Optimized for quick analysis of large codebases
- š MCP Integration: Native support for Windsurf and Claude Desktop
- š Analytics: Track lies detected and accuracy metrics
š Quick Start
Prerequisites
- Node.js 18 or higher
- npm or yarn
Installation
-
Install the package:
npm install -g slopwatch-mcp-server
-
Configure Windsurf: Add to your
~/.windsurf/settings.json
:{ "mcpServers": { "slopwatch": { "command": "slopwatch-mcp-server", "args": [], "env": {} } } }
-
Restart Windsurf and start using SlopWatch!
š Usage
Available Commands
analyze_claim
Analyze an AI claim against your actual code:
analyze_claim "I've added comprehensive error handling"
Parameters:
claim
(required): The AI claim to analyzeworkspaceDir
(optional): Directory to analyze (defaults to current)fileTypes
(optional): Specific file extensions to checkmaxFiles
(optional): Maximum files to analyze (default: 100)
get_status
Get current SlopWatch statistics:
get_status
Parameters:
detailed
(optional): Show detailed statistics
šÆ Detection Capabilities
JavaScript/TypeScript
- ā Error Handling:
try/catch
blocks, error objects - ā” Async/Await: Promise handling, async functions
- ā Validation: Input validation, type checks
- š Security: Sanitization, CSRF protection
CSS
- š± Responsive Design: Media queries, flexbox, grid
- š Dark Mode: Color scheme preferences
- āæ Accessibility: Focus states, screen reader support
- šØ Modern Features: Custom properties, container queries
Python
- š”ļø Error Handling: try/except blocks
- ļæ½ļæ½ļø Type Hints: Function annotations
- ā” Async/Await: Coroutines and async functions
š How It Works
- Claim Analysis: Parses AI claims to identify technical assertions
- Pattern Matching: Uses language-specific regex patterns to scan code
- Evidence Collection: Gathers supporting and contradicting evidence
- Confidence Scoring: Calculates likelihood that claim is truthful
- Detailed Reporting: Provides specific examples and file locations
š Example Output
šØ LIE DETECTED: Found 3 contradicting and 0 supporting evidence.
The code does not support the AI's claim.
š Analysis Details:
āā Files analyzed: 23
āā Confidence score: 15%
āā Evidence found: 3 items
š Evidence:
1. ā Expected error_handling but none found in src/utils.js
2. ā Expected error_handling but none found in src/api.js
3. ā Expected error_handling but none found in src/main.js
š ļø Development
Build from Source
git clone https://github.com/Slopdetector/slop.git
cd slop
npm install
npm run build
npm start
Testing
npm test
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
š Configuration
Environment Variables
SLOPWATCH_MAX_FILES
: Maximum files to analyze (default: 100)SLOPWATCH_TIMEOUT
: Analysis timeout in ms (default: 30000)SLOPWATCH_LOG_LEVEL
: Logging level (default: 'info')
Custom Patterns
You can extend SlopWatch with custom detection patterns by modifying the patterns configuration.
š¤ Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Full Documentation
š License
MIT License - see for details.
š Acknowledgments
- Model Context Protocol: Built on Anthropic's MCP standard
- Windsurf IDE: Primary integration target
- Claude Desktop: Secondary integration support
š„ Stop the slop. Start the accountability. SlopWatch is watching.