sgroy10/speclock
AI Constraint Engine by Sandeep Roy — stops AI from breaking what you locked. 100/100 on Claude's adversarial test suite. 42 MCP tools. Works with Bolt.new, Lovable, Claude Code, Cursor. Free & open source.
AI coding assistants are smart, but they often "forget" your critical architectural rules and make unwanted changes to your codebase. SpecLock helps developers ensure their AI tools respect core project rules by defining what the AI can and cannot modify. It takes plain language instructions and then blocks the AI if it attempts to violate these pre-set constraints, helping maintain code integrity across development sessions and teams.
Available on npm.
Use this if your AI coding assistant frequently introduces unwanted changes or ignores your established architectural boundaries, especially in sensitive areas like authentication, databases, or payment processing.
Not ideal if you're comfortable with your AI having complete autonomy over your codebase and don't need strict enforcement of architectural constraints.
Stars
17
Forks
2
Language
JavaScript
License
MIT
Category
Last pushed
Mar 10, 2026
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/sgroy10/speclock"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related servers
Intina47/context-sync
Local persistent memory store for LLM applications including continue.dev, cursor, claude...
patravishek/memex
Retains Claudes session
maydali28/memcp
A persistent memory MCP server for Claude Code - Recursive Language Model integration for Claude...
seongjaeryu/bindly-claude-code
Knowledge completion layer for Claude Code - finish your thoughts and make them reusable across...
20alexl/mini_claude
Give Claude Code persistent memory across sessions. Track habits, log mistakes, prevent death...