Skip to content
MCP server
RegistryRemote

ArchGuard MCP Server

Architecture drift auditor (Tarjan SCC), zero-downtime SQL guardian & distributed-systems math.

ArchGuard MCP scores 67 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 7 tools. Filed under Databases. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by yashwant938MITJavaScript1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "yashwant938-arch-guard-mc": {      "url": "https://arch-guard-mcp.yashwant938.workers.dev/mcp"    }  }}

Environment variables

This server does not declare environment variables.

  • audit_code_snippetresource

    Remote & Local

  • audit_codebase_architectureresource

    Local stdio

  • check_migration_safetyresource

    Remote & Local

  • estimate_system_capacityresource

    Remote & Local

  • recommend_architectureresource

    Remote & Local

  • simulate_consistent_hashingresource

    Remote & Local

  • simulate_quorum_and_tail_latencyresource

    Remote & Local

About

ArchGuard MCP — Architecture Drift, Zero-Downtime SQL & Distributed Systems Verifier

Official MCP Registry (active): io.github.yashwant938/arch-guard-mc@1.0.0
Live Remote MCP Endpoint (Streamable HTTP · Zero Auth): https://arch-guard-mcp.yashwant938.workers.dev/mcp
Live Interactive Explorer: https://arch-guard-mcp.yashwant938.workers.dev

Watch the beginner walkthrough (3 min 10 sec) · English narration and captions. See why a PostgreSQL index build can block new orders, fix the migration, then use ArchGuard to estimate write traffic and trace a circular import. Download the MP4.

ArchGuard is a zero-dependency Model Context Protocol (MCP 2025-03-26) server, Agent Skills suite, and installable Plugin built from scratch to eliminate the three biggest blind spots of AI coding agents:

  1. Silent Architectural & Production Reliability Drift — Coding agents introduce circular imports, N+1 DB loops, outbound HTTP calls without timeouts, unbounded in-memory Map caches, check-then-act race conditions, and missing idempotency keys.
  2. Table-Locking SQL Migrations — Agents write CREATE INDEX (blocking writes), DROP/RENAME COLUMN (breaking rolling pods), ADD COLUMN NOT NULL without defaults, and ALTER COLUMN TYPE rewrites instead of safe 3-phase Expand-Contract migrations.
  3. Hallucinated Distributed-Systems Math — LLMs routinely get bytes-to-TB, bits-to-Gbps, shard bottlenecks, Dynamo/Raft quorums, consistent hashing skew, and Jeff Dean fanout tail-latency amplification (1 - (1 - p)^K) wrong.

ArchGuard replaces guesswork with deterministic static analysis, graph algorithms (Tarjan's SCC), mathematical proofs, and live edge simulations.


Quick Connect (Works in Antigravity, Claude Code, Cursor, Windsurf, Codex)

Option A — Hosted Remote MCP (Instant, Zero Install)

Add to your mcp_config.json / .cursor/mcp.json / Claude MCP config:

{
  "mcpServers": {
    "arch-guard": {
      "url": "https://arch-guard-mcp.yashwant938.workers.dev/mcp"
    }
  }
}

Option B — Local Stdio MCP (Unlocks Full Local Repository Scanning)

{
  "mcpServers": {
    "arch-guard-local": {
      "command": "node",
      "args": ["/absolute/path/to/arch-guard-mc/bin/arch-guard-mcp.mjs"]
    }
  }
}

Option C — Standalone CLI / CI Gate

# Audit any codebase locally (exits 1 if CRITICAL findings exist)
node bin/cli.mjs audit .

# Guard a SQL migration before deploy
node bin/cli.mjs migrate migrations/004_orders.sql postgres

# Print deterministic capacity math for Big Tech presets
node bin/cli.mjs capacity uber

MCP Primitives Implemented (Tools + Resources + Prompts)

7 Deterministic MCP Tools

ToolTransportWhat It Computes
audit_codebase_architectureLocal stdioWalks a repo on disk → builds multi-language import graph → runs Tarjan's $O(V+E)$ SCC for circular deps → computes Robert C. Martin $C_a / C_e / I$ coupling → runs 12 reliability/security/SOLID rules → outputs 0–100 health score + Mermaid dependency graph
audit_code_snippetRemote & LocalRuns the exact same Tarjan SCC + 12-rule architecture auditor on any set of files passed over Remote HTTP
check_migration_safetyRemote & LocalAudits PostgreSQL / MySQL / SQLite DDL for lock levels (ACCESS EXCLUSIVE, SHARE) and rolling-deploy breaks (MIG-001–MIG-008), generating an actionable 3-phase Expand-Contract plan
estimate_system_capacityRemote & LocalExact Write/Read QPS, peak QPS, cache-adjusted DB QPS, N-year raw & replicated storage, ingress/egress Gbps, Redis RAM, dominant shard bottleneck, and Little's Law concurrency (tinyurl, twitter, whatsapp, uber, youtube, stripe, or custom)
simulate_quorum_and_tail_latencyRemote & LocalProves Dynamo W + R > N, split-brain write safety W > N/2, Raft odd-cluster fault tolerance, and Jeff Dean tail-latency amplification $1 - (1 - p)^K$ with hedged-request comparison
simulate_consistent_hashingRemote & LocalReal FNV-1a 32-bit hash ring simulation measuring exact load skew (min/max/std-dev) and key remap % on scale-out vs naive modulo hashing
recommend_architectureRemote & LocalMaps workload traits (consistency, R/W ratio, contention, real-time need, latency SLO) to a Staff-level stack + matching Big Tech In-The-Wild case studies (Shopify, Slack, Figma, Meta, Stripe)

4 MCP Resources (resources/list, resources/read)

  • arch-guard://cheatsheet/latency-numbers — Jeff Dean latency ladder & powers of 2
  • arch-guard://cheatsheet/core-patterns — 6 Core System Design Patterns Matrix
  • arch-guard://cheatsheet/expand-contract — Zero-Downtime SQL Migration Playbook
  • arch-guard://cheatsheet/interview-rubrics — Microsoft (L60–L65), Google, Amazon & Meta hiring rubrics

3 MCP Prompts (prompts/list, prompts/get)

  • staff-architecture-review — End-to-end codebase reliability & structural review workflow
  • zero-downtime-migration-plan — DDL safety check + 3-phase Expand-Contract rewrite
  • system-design-interview-sim — Calibrated 45-minute Staff HLD/LLD mock interview

Bundled Agent Skills & Plugin

This repository is also a ready-to-install Agent Plugin (plugin.json + mcp_config.json + rules/AGENTS.md) containing 3 progressive-disclosure skills:


Architecture Overview

arch-guard-mcp/
├── bin/
│   ├── arch-guard-mcp.mjs      # Local stdio MCP server (Node >= 20, zero deps)
│   └── cli.mjs                 # Standalone CI/developer CLI
├── src/
│   ├── engines/
│   │   ├── codebaseAuditor.mjs # Multi-lang import graph, Tarjan SCC, Ca/Ce/I, 12 smell rules
│   │   ├── fsScanner.mjs       # Local repository walker
│   │   ├── migrationGuardian.mjs # PostgreSQL/MySQL/SQLite Expand-Contract DDL guardian
│   │   ├── capacityMath.mjs    # Exact QPS, storage, bandwidth, shards & Little's Law
│   │   ├── distributedSim.mjs  # Dynamo/Raft quorum, tail latency, FNV-1a consistent hashing
│   │   └── architectureAdvisor.mjs # Staff-level blueprint advisor & cheatsheet resources
│   └── mcp/
│       └── protocol.mjs        # Transport-agnostic MCP 2025-03-26 JSON-RPC 2.0 dispatcher
├── worker/
│   └── index.mjs               # Cloudflare Workers Remote Streamable HTTP MCP (/mcp, /health, /)
├── skills/                     # 3 cross-agent progressive-disclosure SKILL.md workflows
├── rules/AGENTS.md             # Always-on plugin safety rules
├── tests/                      # Engine unit tests + stdio & HTTP end-to-end MCP tests
├── plugin.json                 # Antigravity / agent plugin manifest
└── wrangler.jsonc              # Cloudflare Workers deployment config

Development & Verification

# Run full unit + stdio MCP + Streamable HTTP Worker tests
npm test

# Self-audit ArchGuard's own source code
npm run audit:self

# Build zero-dependency Cloudflare Worker bundle (dist/worker.mjs)
npm run build:worker

# Package Agensi-ready SKILL.md ZIP (dist/arch-guard-backend-verifier.zip)
npm run package:agensi

Registry & Marketplace Metadata Included

Related project: System Design Complete Guide (Interactive HLD & LLD Atlas)

Frequently asked questions

What is ArchGuard MCP Server?

Architecture drift auditor (Tarjan SCC), zero-downtime SQL guardian & distributed-systems math.

How do I install ArchGuard MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ArchGuard MCP Server connects to the remote endpoint https://arch-guard-mcp.yashwant938.workers.dev/mcp, so there is nothing to install locally.

Is ArchGuard MCP Server free and open source?

Yes. ArchGuard MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does ArchGuard MCP Server support remote (HTTP) connections?

Yes. ArchGuard MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is ArchGuard MCP Server's trust score calculated?

ArchGuard MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server