MCP server for Claude Code — query AI rule violations, coding standards, and analytics directly in your IDE. Model Context Protocol.
The Rulecatch MCP server defines 6 tools with consistent naming (verb_noun pattern) and mostly complete schemas. All tools have descriptions and input parameters with type definitions. However, there are significant gaps: (1) output schemas are NOT documented in the source code, handlers return unstructured text responses rather than typed JSON objects; (2) parameter descriptions lack depth and guidance for LLM selection; (3) no error handling documentation or recovery paths; (4) response format is plain text concatenation rather than structured data, which violates pattern:response-shaper. Tools are well-named and input schemas are present, but the lack of output documentation and unstructured responses are critical issues for production agentic use.
Generate a fix plan for violations: prioritized list of rule violations with estimated effort and recommended ordering.
List all active Rulecatch rules with their conditions, severity, and descriptions.
Get a summary of Rulecatch violations and AI coding activity for a time period. Includes top violated rules and category breakdown.
Show top 10 most frequently violated rules across your codebase and team — ranked by violation count, impact, and avg correction time.
Get full details for a specific violation: file path, line number, rule description, matched conditions, git context. Use this before fixing a violation.
List Rulecatch rule violations. Filter by severity, category, session, corrected status, rule name, file path, language, tool, or branch.
Output schemas not documented. All tools return plain text responses (content: [{type: 'text', text: '...'}]) rather than structured JSON objects. LLMs cannot parse or chain responses reliably. Per pattern:response-shaper, tools must return typed fields.
Parameter descriptions lack guidance on when to use each filter. For rulecatch_violations, the 9 filter parameters (period, severity, category, sessionId, corrected, rule, file, language, toolName, branch) have minimal docs. LLM cannot reason about which combinations are most useful without field-level guidance.
No error handling documentation. Handlers return {isError: true, content: [{type: 'text', text: 'Error: ...'}]} with no recovery guidance. Per pattern:recovery-guide, errors must tell the LLM what to do next (retry, ask user, call different tool, etc.).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 61 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 35 | - | v1 |
Pagination not documented or enforced. rulecatch_violations accepts 'limit' but no documented max (description says 'default: 20, max: 50'), no 'offset' or 'cursor' for continuation. Per pattern:paginated-result, large result sets need explicit pagination with total count or next cursor.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All 6 tools are READ_ONLY per Risk field, but MCP spec does not see this annotation in registerTool calls. Per current spec alignment (2026-07-28), tools should declare hints to guide agent behavior.
rulecatch_rules has empty input schema ({}). Currently not visible in source.