Speclock logo

Speclock

Unclaimed

by sgroy10

Enforce CLAUDE.md, AGENTS.md, and .cursorrules constraints before AI-generated edits, commands, and commits.

Set up this server

01 / Choose your client

02 / Before you connect

Authentication is not specified. Check the project instructions before connecting.

Install the runtime required by the project and make it available to your client.

Project instructions

Use names from the project instructions, separated by commas. Enter names only, never secret values.

03 / Add the configuration

Source: generated from public install instructions

claude mcp add --transport stdio 'speclock' -- 'npx' '-y' 'speclock@latest' 'protect'

Run in your terminal after replacing any placeholders.

04 / Check it in your client

Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.

ai-codingclaude-codecursordeveloper-toolsmcpmcp-serverai-safetycode-qualityconstraint-enginepre-commit

More in AI & ML

Browse the full directory

Unclaimed listing

Is this your MCP server?

This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.

Claim this server

Security profile

Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works

40 of 40 tools

Documented tools (40)

From project documentation. A server handshake does not verify each tool’s description or behavior.

speclock_add_decision

Record architectural decision

speclock_add_lock

Add constraint + auto-guard files

speclock_add_note

Add pinned note

speclock_add_typed_lock

Add typed constraint (numerical/range/state/temporal)

speclock_apply_template

Apply constraint template

speclock_audit

Audit staged files pre-commit

speclock_blast_radius

Calculate blast radius of file changes

speclock_build_graph

Build/refresh code dependency graph

speclock_check_conflict

Semantic conflict check against all locks

speclock_check_typed

Check proposed values against typed constraints

speclock_checkpoint

Git tag for rollback

speclock_compile_spec

Compile natural language into structured constraints

speclock_detect_drift

Scan for constraint violations

speclock_export_compliance

SOC 2 / HIPAA / CSV reports

speclock_get_changes

Recent tracked changes

speclock_get_context

Full context pack (the key tool)

speclock_get_events

Full event log (filterable)

speclock_health

Health score + multi-agent timeline

speclock_init

Initialize SpecLock in project

speclock_list_typed_locks

List all typed constraints

speclock_log_change

Log a change with files

speclock_map_locks

Map locks to actual code files

speclock_override_history

View override audit trail

speclock_override_lock

Override with reason (audit logged)

speclock_policy_evaluate

Evaluate policy rules

speclock_policy_manage

CRUD for policy rules

speclock_remove_lock

Soft-delete a lock

speclock_repo_status

Branch, commit, diff summary

speclock_report

Violation stats + most tested locks

speclock_review_patch

ALLOW/WARN/BLOCK verdict for proposed changes

speclock_semantic_audit

Analyze git diff against locks

speclock_session_briefing

Start session + full briefing

speclock_session_summary

End session + record summary

speclock_set_deploy_facts

Record deploy config

speclock_set_enforcement

Switch advisory/hard mode

speclock_set_goal

Set project goal

speclock_suggest_locks

AI-powered lock suggestions

speclock_telemetry

Opt-in usage analytics

speclock_update_threshold

Update typed lock thresholds

speclock_verify_audit

Verify HMAC chain integrity

Tool change history

Compared across complete checks of the same configuration. Tools were listed, not invoked. Input-schema changes are not measured here.

No complete tool checks yet.

FAQ

Questions about Speclock MCP Server

How do I connect Speclock MCP Server to Claude?
Run `claude mcp add speclock -- npx -y speclock@latest protect` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
Is Speclock MCP Server free?
The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
What can Speclock MCP Server do?
Speclock MCP Server documents 40 tools to the agent, including speclock_add_decision, speclock_add_lock, speclock_add_note. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.