mcpbeat Sign in

spec-guard MCP Server

local only

spec-guard runs on your own machine — the client starts it, so there is no endpoint to ping. 544 installs a week from npm. Last commit 13 Nov 2026.

Hold your code to what your Markdown says: the rules on a path, asked before an agent writes it.

Installs per day peak 800 · avg 183 · +9% w/w
a month agotoday
544
Installs / week
npm · @spec-family/spec-guard
0
Stars
0 open issues
13 Nov 2026
Last commit
10 releases in 90 days
MIT
License
TypeScript

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add spec-guard -- npx -y @spec-family/spec-guard mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "spec-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@spec-family/spec-guard",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.spec-guard]
command = "npx"
args = ["-y", "@spec-family/spec-guard", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "spec-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@spec-family/spec-guard",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "spec-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@spec-family/spec-guard",
        "mcp"
      ]
    }
  }
}

What the code does

We read the source, 7 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

A line of code looks encrypted src/polyglot.ts:769
  String.raw`(?:(?<!\p{XID_Continue})macro_rules[${RUST_SPACE}]*![${RUST_SPACE}]*[\p{XID_Start}_]\p{XID_Continue}*|(?<![\p{XID_Continue}#])(macro)[${RUST_SPACE}]+[\p{XID_Start}_]\p{XID_Continue}*|\p{XID_Continue}!|#!?)[${RUST_SPACE}]*([(\[{])`,
Runs an external command src/engine.ts:387
    const child = spawn(binary, ['--version'], { stdio: ['ignore', 'pipe', 'ignore'], windowsHide: true });
Builds a file path from a variable src/glob.ts:815, src/structure.ts:82, src/io.ts:108
      const absolutePath = path.join(directory, name);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to spec-guard

same job, measured the same way
devcoach
by ultimaphoenix

Learn from the code your AI writes: one short, local lesson on what you don't know yet.

7 425 installs/wk local only
brain-core
by xy-claude

Memory for a Claude Code agent that survives the session: five tools, a markdown vault, all local.

4 452 installs/wk local only
Koschei
by bugsbuny243

Run agent-written code under a capability policy: see what a program can touch before it runs.

4 263 installs/wk local only
Grok-map
by aadithya-kl

Shows coding agents which AI-written code nobody on the team understands, and quizzes you on it.

4 086 installs/wk local only
Tares
by glassflow

Always-on AI agents: a software factory for Claude Code, or an AI SRE that watches your systems.

3 265 installs/wk local only
ask-kit
by temet-ai

One ask tool: a cheap model with a REPL answers about your code and past agent sessions

2 424 installs/wk local only
tarpit-guard
by maniram-1

Detects obfuscated "tarpit" code so AI agents stop before burning tokens on it.

1 197 installs/wk local only
okl — Observed Knowledge Ledger
by emeraldleaf

Keeps your agent true to your rules. Keeps them true to the code. Keeps learning as you build.

999 installs/wk local only

spec-guard — questions

Answers built from our own checks of this server.

Why is there no uptime for spec-guard?
spec-guard runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @spec-family/spec-guard was installed 544 times last week.
How do I connect spec-guard?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @spec-family/spec-guard straight from npm; nothing to host, nothing to sign up for.
How many people use spec-guard?
The npm package @spec-family/spec-guard was installed 544 times in the last week. Week over week that is +9%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is spec-guard open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.