Skip to content
MCP server

ArchGuard MCP

MCP server that audits code architecture, SQL migrations and distributed-systems math

Answered our latest tool-list check yesterday with 6 tools. It will be marked verified after 3 successful checks in 7 days.

Install

ArchGuard MCP is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
API, CLI, Self-hosted
Runs
Remotely
Version
1.0.0
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add --transport http arch-guard-mc https://arch-guard-mcp.yashwant938.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://arch-guard-mcp.yashwant938.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "arch-guard-mc": {
      "url": "https://arch-guard-mcp.yashwant938.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "arch-guard-mc": {
      "type": "http",
      "url": "https://arch-guard-mcp.yashwant938.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://arch-guard-mcp.yashwant938.workers.dev/mcp

Enter a Name (for example "ArchGuard MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

About ArchGuard MCP

The README says ArchGuard exists to stop coding agents from quietly introducing structural and reliability problems. It runs deterministic checks rather than model guesses: a Tarjan strongly-connected-components pass finds circular dependencies, a set of twelve rules flags issues such as N+1 query loops, HTTP calls without timeouts, unbounded in-memory caches and missing idempotency keys, and a SQL guardian reviews PostgreSQL, MySQL and SQLite DDL for locking and rolling-deploy hazards.

Beyond code review, the server exposes calculators and simulators for capacity planning: QPS, storage, bandwidth, Redis memory and shard bottlenecks, plus quorum checks for Dynamo-style and Raft clusters, tail-latency amplification with hedged requests, and a consistent-hashing ring simulation that compares key remapping against modulo hashing. A recommendation tool turns workload traits into an architecture outline.

The remote endpoint is streamable HTTP and needs no authentication, while a local stdio variant adds scanning of files on disk. It suits developers and architects who use MCP-capable assistants and want verified numbers and migration plans instead of generated estimates.

Tools this server provides (6)

Read directly from the server.

audit_code_snippet
Audit source files for circular dependencies (Tarjan SCC), coupling metrics (Ca/Ce/I), and 12 production reliability/security/SOLID anti-patterns (N+1 loops, missing HTTP timeouts, unbounded caches, check-then-act races, missing idempotency keys, SQL/command injection). Returns health score + Mermaid graph.
check_migration_safety
Audit PostgreSQL/MySQL/SQLite DDL migrations for production table locks and rolling-deploy breaks, generating a 3-phase Expand-Contract plan.
estimate_system_capacity
Compute exact distributed systems capacity math: avg/peak QPS, storage, bandwidth Gbps, Redis RAM, shard count & bottleneck, Little's Law concurrency. Supports Big Tech presets or custom inputs.
simulate_quorum_and_tail_latency
Verify Dynamo quorum (W+R>N), Raft fault tolerance, and Jeff Dean fanout tail-latency amplification (1-(1-p)^K) with hedged RPC comparison.
simulate_consistent_hashing
Run deterministic FNV-1a+fmix32 consistent hashing ring simulation measuring load skew & scale-out key remapping % vs modulo hashing.
recommend_architecture
Generate a Staff-level distributed system architecture blueprint from workload traits (consistency, R/W ratio, contention, real-time need, latency SLO).

What it does

Circular dependency detection
Builds an import graph and uses Tarjan's SCC algorithm to locate cycles, with coupling metrics and a Mermaid diagram.
Reliability rule checks
Applies twelve rules covering N+1 loops, missing timeouts, unbounded caches, check-then-act races and injection risks.
Expand-Contract migration review
Flags DDL that takes table locks or breaks rolling deploys and proposes a three-phase safe rewrite.
Capacity estimation
Computes QPS, storage, bandwidth, Redis RAM, shard count and Little's Law concurrency, with presets for named services.
Quorum and latency verification
Checks W+R>N quorum rules, Raft fault tolerance and fanout tail-latency with hedged-request comparison.
Consistent hashing simulation
Runs a seeded FNV-1a ring to measure load skew and key remapping during scale-out.

Good for

  • Catch circular imports and reliability anti-patterns before an AI agent commits code
  • Review SQL migrations for table locks before deploying to production
  • Check back-of-envelope capacity numbers in a system design document
  • Verify quorum settings and tail-latency targets for a replicated service
  • Prepare for system design interviews with calculated trade-offs

Pricing

Open source

Free to use; hosted remote endpoint with no authentication.

Prices change. Check arch-guard-mcp.yashwant938.workers.dev before you buy.

ArchGuard MCP FAQ

Does the remote server require authentication?

The README describes the hosted Streamable HTTP endpoint as zero auth.

Can ArchGuard MCP scan files on my machine?

Local repository scanning is provided by the stdio variant. The remote endpoint audits source files passed to it over HTTP.

Which databases does the migration checker support?

PostgreSQL, MySQL and SQLite DDL migrations.

Is ArchGuard MCP free?

Yes. ArchGuard MCP is open source, so you can use and self-host it for free.

How do I add ArchGuard MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http arch-guard-mc https://arch-guard-mcp.yashwant938.workers.dev/mcp

What are the best alternatives to ArchGuard MCP?

The closest alternatives to ArchGuard MCP are Guard, Agent Guardian — MCP Contract Auditor, MCP Archimedes, Repo Test Architect and Audit Gap Auditor.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 22 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers