Connection check
local install
speclock
AI Constraint Engine — enforces CLAUDE.md and .cursorrules as laws. 51 MCP tools.
Tools
54
GitHub stars
25
Installs / wk
263
Licence
MIT
Transport
stdio
Last checked
never
Tools & capabilities
54 toolsRead from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.
speclock
from source
speclock_add_decision
from source
Record an architectural or design decision. Record an architectural or design decision.
speclock_add_lock
from source
Add a non-negotiable constraint (SpecLock). Add a non-negotiable constraint (SpecLock).
speclock_add_note
from source
Add a pinned note for reference. Add a pinned note for reference.
speclock_add_typed_lock
from source
Add a typed constraint for autonomous systems governance. Add a typed constraint for autonomous systems governance.
speclock_apply_template
from source
Apply a pre-built constraint template (nextjs, react, express, supabase, stripe, security-hardened). Apply a pre-built constraint template (nextjs, react, express, supabase, stripe, security-hardened).
speclock_audit
from source
Audit staged files against active locks. Audit staged files against active locks.
speclock_auto_guard
from source
speclock_blast_radius
from source
speclock_build_graph
from source
speclock_check_conflict
from source
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 thresho… 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.
speclock_checkpoint
from source
Create a named git tag checkpoint for easy rollback. Create a named git tag checkpoint for easy rollback.
speclock_check_typed
from source
Check a proposed value or state transition against typed constraints. Check a proposed value or state transition against typed constraints.
speclock_compile_spec
from source
speclock_coverage
from source
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… 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.
speclock_detect_drift
from source
Scan recent changes for constraint violations. Scan recent changes for constraint violations.
speclock_discover_rules
from source
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 co… 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.
speclock_drift_score
from source
Compute a 0-100 Drift Score measuring how much the project has drifted from the founder Compute a 0-100 Drift Score measuring how much the project has drifted from the founder
speclock_export_compliance
from source
Generate compliance reports (SOC 2, HIPAA, CSV). Generate compliance reports (SOC 2, HIPAA, CSV).
speclock_get_changes
from source
Get recent file changes tracked by SpecLock. Get recent file changes tracked by SpecLock.
speclock_get_context
from source
THE KEY TOOL. Returns the full structured context pack. THE KEY TOOL. Returns the full structured context pack.
speclock_get_events
from source
Get the event log, optionally filtered by type. Get the event log, optionally filtered by type.
speclock_guard_file
from source
speclock_health
from source
Health check with completeness score and multi-agent timeline. Health check with completeness score and multi-agent timeline.
speclock_init
from source
Initialize SpecLock in the current project directory. Initialize SpecLock in the current project directory.
speclock_list_sessions
from source
List available sessions for replay. Shows session IDs, tools used, timestamps, and event counts. List available sessions for replay. Shows session IDs, tools used, timestamps, and event counts.
speclock_list_sync_formats
from source
List all available AI tool formats that SpecLock can sync constraints to. Shows format key, tool name, output file path, and description. List all available AI tool formats that SpecLock can sync constraints to. Shows format key, tool name, output file path, and description.
speclock_list_typed_locks
from source
List all typed constraints. List all typed constraints.
speclock_log_change
from source
Manually log a significant change. Manually log a significant change.
speclock_map_locks
from source
speclock_override_history
from source
Show lock override history. Show lock override history.
speclock_override_lock
from source
Override a lock with justification. Logged to audit trail. Override a lock with justification. Logged to audit trail.
speclock_parse_diff
from source
speclock_policy_evaluate
from source
speclock_policy_manage
from source
speclock_protect
from source
Zero-config Guardian Mode — Reads existing AI rule files (.cursorrules, CLAUDE.md, AGENTS.md, copilot-instructions.md, etc.), auto-extracts enforceable constraints, installs pre-co… 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.
speclock_remove_lock
from source
Remove (deactivate) a SpecLock by its ID. Remove (deactivate) a SpecLock by its ID.
speclock_replay
from source
Replay a session Replay a session
speclock_report
from source
Violation report — how many times SpecLock blocked changes. Violation report — how many times SpecLock blocked changes.
speclock_repo_status
from source
Get current git repository status. Get current git repository status.
speclock_review_patch
from source
speclock_review_patch_diff
from source
speclock_semantic_audit
from source
Semantic pre-commit: analyzes code changes vs locks. Semantic pre-commit: analyzes code changes vs locks.
speclock_session_briefing
from source
Start a new session and get a full briefing. Start a new session and get a full briefing.
speclock_session_summary
from source
End the current session and record what was accomplished. End the current session and record what was accomplished.
speclock_set_deploy_facts
from source
Record deployment configuration facts. Record deployment configuration facts.
speclock_set_enforcement
from source
Set enforcement mode: advisory (warn) or hard (block). Set enforcement mode: advisory (warn) or hard (block).
speclock_set_goal
from source
Set or update the project goal. Set or update the project goal.
speclock_strengthen
from source
Lock Strengthener — grades each lock Lock Strengthener — grades each lock
speclock_suggest_locks
from source
AI-powered lock suggestions based on project patterns. AI-powered lock suggestions based on project patterns.
speclock_sync_rules
from source
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 Sp… 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.
speclock_telemetry
from source
speclock_update_threshold
from source
Update a typed lock threshold. Update a typed lock threshold.
speclock_verify_audit
from source