{"name":"io.github.sgroy10/speclock","slug":"sgroy10-speclock","title":null,"description":"AI Constraint Engine — enforces CLAUDE.md and .cursorrules as laws. 51 MCP tools.","url":"https://mcp.market/server/sgroy10-speclock","rating":null,"grade":"C","score":69,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":35,"stars":25,"forks":6,"downloads_week":227,"last_push_at":"2026-08-18T01:35:54.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/sgroy10/speclock","website":null,"version":"5.5.3","remotes":[],"packages":[{"registryType":"npm","identifier":"speclock","version":"5.5.3","transport":{"type":"stdio"}}],"tools":[{"name":"speclock_add_decision","description":"Record an architectural or design decision.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_add_lock","description":"Add a non-negotiable constraint (SpecLock).","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_add_note","description":"Add a pinned note for reference.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_add_typed_lock","description":"Add a typed constraint for autonomous systems governance.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_apply_template","description":"Apply a pre-built constraint template (nextjs, react, express, supabase, stripe, security-hardened).","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_audit","description":"Audit staged files against active locks.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_auto_guard","description":"Auto-guard files related to lock keywords.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_blast_radius","description":"Calculate blast radius — transitive dependents, impact %, depth.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_build_graph","description":"Build/refresh code dependency graph from imports (JS/TS/Python).","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_check_conflict","description":"Check if a proposed action conflicts with any active SpecLock. Uses fast heuristic + Gemini LLM for universal domain coverage. In hard enforcement mode, conflicts above the threshold will BLOCK the action.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_check_typed","description":"Check a proposed value or state transition against typed constraints.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_checkpoint","description":"Create a named git tag checkpoint for easy rollback.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_compile_spec","description":"Compile natural language (PRDs, READMEs) into structured constraints via Gemini Flash.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_coverage","description":"Lock Coverage Audit — scans the codebase for high-risk patterns (auth, payments, database, secrets, API routes, security, error handling, logging) and identifies areas with no lock protecting them. Auto-suggests the missing locks you need. Like a security scanner but for AI constraint gaps.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_detect_drift","description":"Scan recent changes for constraint violations.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_discover_rules","description":"Discover all AI rule files in the project (.cursorrules, CLAUDE.md, AGENTS.md, copilot-instructions.md, .windsurfrules, GEMINI.md, .aider.conf.yml). Shows which tools have rules configured and their sizes. Use this to see what rules exist before running speclock_protect.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_drift_score","description":"Compute a 0-100 Drift Score measuring how much the project has drifted from the founder's original intent. Analyzes violations, overrides, reverts, lock churn, goal stability, and session gaps. Returns score, grade, trend, signal breakdown, and per-session impact. Only SpecLock can compute this because only SpecLock knows what was INTENDED vs what was DONE.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_export_compliance","description":"Generate compliance reports (SOC 2, HIPAA, CSV).","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_get_changes","description":"Get recent file changes tracked by SpecLock.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_get_context","description":"THE KEY TOOL. Returns the full structured context pack.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_get_events","description":"Get the event log, optionally filtered by type.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_guard_file","description":"Add SPECLOCK-GUARD header to lock specific files.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_health","description":"Health check with completeness score and multi-agent timeline.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_init","description":"Initialize SpecLock in the current project directory.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_list_sessions","description":"List available sessions for replay. Shows session IDs, tools used, timestamps, and event counts.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_list_sync_formats","description":"List all available AI tool formats that SpecLock can sync constraints to. Shows format key, tool name, output file path, and description.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_list_typed_locks","description":"List all typed constraints.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_log_change","description":"Manually log a significant change.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_map_locks","description":"Map active locks to actual code files via the dependency graph.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_override_history","description":"Show lock override history.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_override_lock","description":"Override a lock with justification. Logged to audit trail.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_parse_diff","description":"Parse unified diff into structured changes — imports, exports, symbols, routes, schema detection.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_policy_evaluate","description":"Evaluate policy-as-code rules against proposed actions.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_policy_manage","description":"Policy CRUD: list, add, remove policy rules.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_protect","description":"Zero-config Guardian Mode — Reads existing AI rule files (.cursorrules, CLAUDE.md, AGENTS.md, copilot-instructions.md, etc.), auto-extracts enforceable constraints, installs pre-commit hook, and syncs rules to all AI tools. One command, no flags. Makes your AI rules unbreakable.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_remove_lock","description":"Remove (deactivate) a SpecLock by its ID.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_replay","description":"Replay a session's activity log — shows exactly what AI agents tried and what SpecLock caught. Returns chronological event list with ALLOW/WARN/BLOCK verdicts, changes logged, locks added/removed, and session stats. Like a flight recorder for your AI coding sessions.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_repo_status","description":"Get current git repository status.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_report","description":"Violation report — how many times SpecLock blocked changes.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_review_patch","description":"ALLOW/WARN/BLOCK verdict — combines semantic conflict + lock-file mapping + blast radius.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_review_patch_diff","description":"Diff-native review — parses actual diffs for interface breaks, protected symbols, dependency drift, schema changes.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_semantic_audit","description":"Semantic pre-commit: analyzes code changes vs locks.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_session_briefing","description":"Start a new session and get a full briefing.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_session_summary","description":"End the current session and record what was accomplished.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_set_deploy_facts","description":"Record deployment configuration facts.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_set_enforcement","description":"Set enforcement mode: advisory (warn) or hard (block).","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_set_goal","description":"Set or update the project goal.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_strengthen","description":"Lock Strengthener — grades each lock's specificity, scope, and detection power (0-100). Identifies weak locks and suggests stronger versions that catch more violations. Checks for: vagueness, missing enforcement verbs, no scope, no consequence, ambiguous language, missing euphemism guards.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_suggest_locks","description":"AI-powered lock suggestions based on project patterns.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_sync_rules","description":"Sync SpecLock constraints to AI tool rules files. Generates .cursorrules, CLAUDE.md, AGENTS.md, .windsurfrules, copilot-instructions.md, GEMINI.md, and .aider.conf.yml from your SpecLock constraints. One source of truth for all AI tools. Use --format for a specific tool, or sync all at once.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_telemetry","description":"Opt-in usage analytics summary.","write_action":false,"price_micros":0,"input_schema":null},{"name":"speclock_update_threshold","description":"Update a typed lock threshold.","write_action":true,"price_micros":0,"input_schema":null},{"name":"speclock_verify_audit","description":"Verify the integrity of the HMAC audit chain.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":69,"grade":"C","scanned_at":"2026-09-27T22:36:16.893Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T22:36:16.883Z","components":{"code":{"score":13,"max":25,"notes":["41 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":12,"max":15,"notes":["last push 41 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[{"id":"exec.shell-concat","severity":"high","component":"code","title":"Shell command built from a string (injection risk)","evidence":"src/cli/index.js: …`, { cwd: root, stdio: \"pipe\" }); execSync(`git commit -m \"v${newVersion}\"`, { cwd: root, stdio: \"pipe…"}],"inputs":{"packages":[{"registryType":"npm","identifier":"speclock","version":"5.5.3","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-04-09T05:23:10.078Z","repositoryUrl":"git+https://github.com/sgroy10/speclock.git","weeklyDownloads":227}],"repo":{"found":true,"owner":"sgroy10","repo":"speclock","archived":false,"pushedAt":"2026-08-18T01:35:54Z","stars":25,"forks":6,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/173799454?v=4","ownerCreatedAt":"2024-06-25T11:56:23Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/173799454?v=4&s=128","source":"github"},"presence":{"stars":25,"forks":6,"downloadsWeek":227,"license":"MIT","lastPushAt":"2026-08-18T01:35:54.000Z","score":35}}}},"grade_history":[],"reviews":[]}