A self-contained suite that turns any repo into a spec-driven, agent-ready codebase for AI coding agents: a constitution generated from your code, a local code graph (Compass) that saves tokens, and a disciplined spec workflow. No LLM, 100% local. Ships as a CLI and an MCP server.
View on GitHub →
🔍 Audit Wallet Slippage →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"speclaw": {
"command": "npx",
"args": [
"-y",
"esneiderbravo/speclaw"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add speclaw npx -y esneiderbravo/speclaw
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"speclaw": {
"command": "npx",
"args": [
"-y",
"esneiderbravo/speclaw"
]
}
}
}
📋 Copy
README Excerpt
<div align="center"> <img src="https://raw.githubusercontent.com/esneiderbravo/speclaw/main/brand/speclaw-banner.png" width="820" alt="speclaw — where specs become law"> <br/> <a href="https://www.npmjs.com/package/@esneiderbravo/speclaw"><img src="https://img.shields.io/npm/v/@esneiderbravo/speclaw?color=0E8E8E&labelColor=0B0F10&style=flat-square&label=npm" alt="npm"></a>
Topics
agentic ai-agents claude-code cli code-intelligence cursor developer-tools llm-tools mcp mcp-server spec-driven-development typescript