ArchGuard MCP is an MCP server published by io.github.yashwant938, hosted at arch-guard-mcp.yashwant938.workers.dev. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 6 tools, including audit_code_snippet, check_migration_safety, estimate_system_capacity, simulate_quorum_and_tail_latency, simulate_consistent_hashing.
Architecture drift auditor (Tarjan SCC), zero-downtime SQL guardian & distributed-systems math.
Nothing else in the archive shares these values.
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.
| Parameter | Type | Description |
|---|---|---|
| files * | array | |
| maxFileLines | integer |
{
"name": "audit_code_snippet",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string"
},
"content": {
"type": "string"
}
}
},
"minItems": 1
},
"maxFileLines": {
"type": "integer"
}
}
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Audit PostgreSQL/MySQL/SQLite DDL migrations for production table locks and rolling-deploy breaks, generating a 3-phase Expand-Contract plan.
| Parameter | Type | Description |
|---|---|---|
| sql * | string | |
| dialect | string | one of ["postgres","mysql","sqlite"] |
{
"name": "check_migration_safety",
"description": "Audit PostgreSQL/MySQL/SQLite DDL migrations for production table locks and rolling-deploy breaks, generating a 3-phase Expand-Contract plan.",
"inputSchema": {
"type": "object",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string"
},
"dialect": {
"enum": [
"postgres",
"mysql",
"sqlite"
],
"type": "string"
}
}
}
}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.
| Parameter | Type | Description |
|---|---|---|
| dau | number | |
| preset | string | one of ["tinyurl","twitter","whatsapp","uber","youtube","stripe"] |
| avgLatencyMs | number | |
| avgReadBytes | number | |
| avgWriteBytes | number | |
| cacheHitRatio | number | |
| peakMultiplier | number | |
| readWriteRatio | number | |
| retentionYears | number | |
| replicationFactor | number | |
| mediaBytesPerWrite | number | |
| writesPerUserPerDay | number |
{
"name": "estimate_system_capacity",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"dau": {
"type": "number"
},
"preset": {
"enum": [
"tinyurl",
"twitter",
"whatsapp",
"uber",
"youtube",
"stripe"
],
"type": "string"
},
"avgLatencyMs": {
"type": "number"
},
"avgReadBytes": {
"type": "number"
},
"avgWriteBytes": {
"type": "number"
},
"cacheHitRatio": {
"type": "number"
},
"peakMultiplier": {
"type": "number"
},
"readWriteRatio": {
"type": "number"
},
"retentionYears": {
"type": "number"
},
"replicationFactor": {
"type": "number"
},
"mediaBytesPerWrite": {
"type": "number"
},
"writesPerUserPerDay": {
"type": "number"
}
}
}
}Verify Dynamo quorum (W+R>N), Raft fault tolerance, and Jeff Dean fanout tail-latency amplification (1-(1-p)^K) with hedged RPC comparison.
| Parameter | Type | Description |
|---|---|---|
| readQuorum | integer | |
| fanoutCount | integer | |
| writeQuorum | integer | |
| singleNodeP50Ms | number | |
| singleNodeP99Ms | number | |
| replicationFactor | integer | |
| singleNodeSlowProbability | number |
{
"name": "simulate_quorum_and_tail_latency",
"description": "Verify Dynamo quorum (W+R>N), Raft fault tolerance, and Jeff Dean fanout tail-latency amplification (1-(1-p)^K) with hedged RPC comparison.",
"inputSchema": {
"type": "object",
"properties": {
"readQuorum": {
"type": "integer"
},
"fanoutCount": {
"type": "integer"
},
"writeQuorum": {
"type": "integer"
},
"singleNodeP50Ms": {
"type": "number"
},
"singleNodeP99Ms": {
"type": "number"
},
"replicationFactor": {
"type": "integer"
},
"singleNodeSlowProbability": {
"type": "number"
}
}
}
}Run deterministic FNV-1a+fmix32 consistent hashing ring simulation measuring load skew & scale-out key remapping % vs modulo hashing.
| Parameter | Type | Description |
|---|---|---|
| nodeCount | integer | |
| sampleKeys | integer | |
| virtualNodes | integer |
{
"name": "simulate_consistent_hashing",
"description": "Run deterministic FNV-1a+fmix32 consistent hashing ring simulation measuring load skew & scale-out key remapping % vs modulo hashing.",
"inputSchema": {
"type": "object",
"properties": {
"nodeCount": {
"type": "integer"
},
"sampleKeys": {
"type": "integer"
},
"virtualNodes": {
"type": "integer"
}
}
}
}Generate a Staff-level distributed system architecture blueprint from workload traits (consistency, R/W ratio, contention, real-time need, latency SLO).
| Parameter | Type | Description |
|---|---|---|
| dataModel | string | one of ["relational","document","timeseries","search","graph"] |
| scaleTier | string | one of ["startup","high","global"] |
| consistency | string | one of ["strong","eventual"] |
| latencySloMs | number | |
| realtimeNeed | string | one of ["none","one-way","bidirectional","media"] |
| contentionLevel | string | one of ["low","medium","high","extreme"] |
| readWriteProfile | string | one of ["read-heavy","write-heavy","balanced"] |
{
"name": "recommend_architecture",
"description": "Generate a Staff-level distributed system architecture blueprint from workload traits (consistency, R/W ratio, contention, real-time need, latency SLO).",
"inputSchema": {
"type": "object",
"properties": {
"dataModel": {
"enum": [
"relational",
"document",
"timeseries",
"search",
"graph"
],
"type": "string"
},
"scaleTier": {
"enum": [
"startup",
"high",
"global"
],
"type": "string"
},
"consistency": {
"enum": [
"strong",
"eventual"
],
"type": "string"
},
"latencySloMs": {
"type": "number"
},
"realtimeNeed": {
"enum": [
"none",
"one-way",
"bidirectional",
"media"
],
"type": "string"
},
"contentionLevel": {
"enum": [
"low",
"medium",
"high",
"extreme"
],
"type": "string"
},
"readWriteProfile": {
"enum": [
"read-heavy",
"write-heavy",
"balanced"
],
"type": "string"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.