
Archiet Audit
io.github.Anioko由 GitHub 账号 Anioko 发布v0.1.2更新于 Oct 24, 2026
Submit architecture docs, get a consulting-grade traceability audit at a shareable URL
发布方自己的服务:audit.domains - Domain Valuation
概览
将架构文档提交到托管的 Archiet 服务,并在可分享的网址上返回可追溯性审计结果。
- 可以做什么
- Archiet Audit 是一个本地 stdio MCP 服务器,把助手连接到托管的 Archiet 架构审计服务。根据 README,它会依据架构文档生成采购级别的审计,包括可追溯性百分比、按严重程度排序的差距以及 30/60/90 天路线图。清单中没有列出任何工具,因此具体工具名称和输入在此没有说明。
- 适用场景
- 当你希望助手把架构文档送去外部咨询式审计并拿到可分享的报告链接时,值得添加。它是仅在本机运行的 Archiet X-Ray 服务器的托管对应版本,README 称 X-Ray 从不联网。
- 运行要求
- 作为本地进程通过 stdio 运行,从 PyPI 包 archiet-audit-mcp 安装。仅限桌面端,没有网页可执行版本。可选环境变量 ARCHIET_BASE_URL 用于覆盖 Archiet 实例的基础网址,默认是
安装
在 SourceWeft 中
- 打开 控制台中的 Archiet Audit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Archiet X-Ray
mcp-name: io.github.Anioko/archiet-xray
See what your AI sees. Your codebase is too big for any AI agent's context window. The agent reads 40 files out of 4,000, makes a change, and you have no way to know whether it respected the architecture — or quietly violated it.
X-Ray extracts the actual architecture of any repo — deterministically, no LLM, code never leaves your machine — and gives it to both you (an interactive map) and your AI agent (an MCP server + context pack).
What you get
Production-readiness score (new in 0.2)
A deterministic 0–100 production-readiness score over 8 dimensions: route auth coverage, secrets hygiene, client token storage, data-layer discipline, test footprint, migration discipline, ops readiness (Docker/CI/.env contract), and docs/API contract. Same repo always scores the same — so the score is comparable across commits, branches, and repos, and you can put it in CI.
Each dimension reports its evidence ("142/214 statically-guarded routes carry an auth guard") and the report ends with the top fixes ranked by points lost. Dimensions that don't apply (a CLI tool has no routes) take half credit and say so — honesty over flattery.
Useful when: reviewing AI-generated code before shipping it, auditing an inherited codebase, or tracking whether your repo is drifting away from production readiness over time.
Architecture diagrams from code (new in 0.2)
generate_diagrams turns any repo into Mermaid architecture diagrams,
deterministically extracted from the code itself:
- Module dependency graph — the real import structure, not the wiki's
- ER / domain-model diagram — entities and relations from SQLAlchemy, Django, and Prisma models
- HTTP route map — the API surface grouped by prefix
You get the raw .mmd sources (paste into any README, wiki, GitHub, GitLab,
Notion, Obsidian, or VS Code — they all render Mermaid natively) plus a
self-contained diagrams.html viewer.
Give it to your agent (MCP)
Claude Desktop — download archiet-xray-<version>.mcpb from the
latest release,
then double-click it (or Settings → Extensions → Install Extension). It
prompts for the repository to analyze; one-click after that.
Official MCP Registry — listed as io.github.Anioko/archiet-xray,
so registry-aware clients can install it by name.
Your agent can now ask — before it edits:
blast_radius— "who depends on this file? what breaks if I touch it?"arch_summary— "where do routes/entities/services actually live?"boundary_findings— "hardcoded secrets, raw SQL, tokens in localStorage, unauthenticated routes"production_readiness— "score this repo 0–100 for production readiness, with evidence and top fixes"generate_diagrams— "draw the module graph / ER diagram / route map as Mermaid"xray_scan— re-scan after structural changes
Principles
- Deterministic. Same repo in, same map out. Every fact traces to a file and line. No LLM guesses anywhere in the pipeline.
- Honest. What can't be extracted with confidence is labelled unmapped — never invented. A wrong map is worse than no map.
- Local-first. Stdlib only, zero network calls, zero telemetry. Your code never leaves your machine.
What it extracts today
- Python: Flask / FastAPI routes (+ auth-guard detection), SQLAlchemy &
Django models with relations, Celery tasks, import graph — via
ast, not regex - JS/TS: Next.js app & pages router (pages + API routes), Express routes, Prisma models, import graph
- Findings: hardcoded secrets, raw SQL bypassing the ORM, auth tokens in localStorage/AsyncStorage, routes without auth guards
- Graph: module dependency edges, fan-in/fan-out, blast-radius hotspots
More stacks (Go, Java, Rails, .NET) welcome — the extractor pattern is one class per language. PRs invited.
Real examples
examples/ holds unedited X-Ray output for repos you know —
microblog (Flask), the official FastAPI full-stack template, and
vercel/commerce (Next.js). GitHub renders the Mermaid maps inline. On the
FastAPI template, X-Ray correctly detects CurrentUser dependency auth on 18
routes and flags a real auth-token-in-localStorage write in useAuth.ts.
FAQ
How is this different from a dependency-graph MCP server (Codegraph, dependency-mcp)? Those show call/import edges. X-Ray extracts web-architecture semantics on top of the graph: which routes exist, which carry auth guards, where the domain entities live, and where security boundaries leak (hardcoded secrets, raw SQL, tokens in localStorage). No graph tool tells you "510 of your routes have no detectable auth guard."
How is this different from a CLAUDE.md generator? CLAUDE.md generators write instructions and conventions — usually with an LLM. X-Ray extracts facts: every claim in its output traces to a file and line, and what it can't extract it labels unknown. Use both: your conventions plus X-Ray's ground truth.
What does auth status ? mean?
"Not detectable from per-function analysis." FastAPI routers often attach auth
at include_router(dependencies=...) level, which is invisible when analyzing
the route function. X-Ray reports unknown rather than guessing a confident
"no auth" — a wrong map is worse than no map.
Is the production-readiness score a security audit? No. It is a deterministic static-signal score — it measures whether the repo carries the marks of production discipline (auth guards on routes, no hardcoded secrets, tests, migrations, ops + docs contracts). The payload says so explicitly. It is a fast, repeatable triage number, not a substitute for code review, load testing, or a security audit.
Why Mermaid for the diagrams instead of images?
Mermaid sources are diffable, render natively on GitHub/GitLab/Notion/VS
Code/Obsidian, and stay in sync with the repo because you can regenerate them
in one command. The bundled diagrams.html gives you a browser view without
installing anything.
Does it phone home? No. Stdlib-only, zero network calls, zero telemetry. The only outbound anything is a link in the generated footer.
Sibling server: archiet-audit
X-Ray never touches the network. If you want the hosted counterpart — a
procurement-grade architecture audit (traceability %, severity-ranked gaps,
30/60/90-day roadmap) generated from your architecture documents — the
archiet-audit MCP server bridges your agent to
archiet.com/audit-my-architecture.
It is a separate server precisely so X-Ray's "your code never leaves your
machine" guarantee stays absolute.
Privacy Policy
X-Ray is local-only by design. Specifically:
- Data collection: none. X-Ray collects no telemetry, no analytics, no usage data, and no personal information of any kind.
- Data usage: local analysis only. Your code is read from disk solely to build the architecture model, in-process, on your machine.
- Data storage: your disk, your control. The only artifacts produced are
the files written to
.archiet/inside the repository you scan (ARCHITECTURE.md, AGENT_CONTEXT.md, architecture.json, diagrams/). Delete them at any time; nothing else is stored anywhere. - Third-party sharing: none. X-Ray makes zero network calls (stdlib-only, no HTTP client is even imported). Your code never leaves your machine.
- Data retention: not applicable. No data reaches us, so there is nothing for us to retain or delete.
- Contact: [email protected] — or open an issue on this repo.
The company-wide policy at archiet.com/privacy covers Archiet's hosted products; it applies to X-Ray only in the trivial sense that X-Ray sends us nothing.
Part of Archiet
X-Ray is the free, open companion to Archiet — the architecture-to-code platform. The map X-Ray extracts is the same formal model Archiet uses to enforce architecture on every PR (boundary gates, drift scoring, consulting-grade architecture reports) and to regenerate production-ready applications from it.
MIT licensed.
来源:README.md,提交 04bfd8d
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Audit 集成
audit.domains - Domain Valuation
domains.audit官方发布者
确定性的域名估值服务:提供公允价值区间、真实可比成交记录、可用性查询,以及经 DNS 验证的待售域名市场。
Revenue Agent — OpenAPI Audit & Change Detection
news.prh官方发布者
一个远程 MCP 端点,用于审计 OpenAPI 规范并检测 API 变更,每次分析通过 Base 上的 x402 收取 0.10 USDC。

SEO Audit & Broken Link Checker
由 GitHub 账号 prometheus-maker 发布
由 Apify 托管的 MCP 服务器,用于审计网站页面的 SEO 元数据并查找失效链接和图片,返回每页评分。

FinePrint AI Legal Risk & Contract Audit MCP Server
由 GitHub 账号 RitualDev-Lab 发布
本地内存中运行的合同风险扫描器,为编码代理评估法律合同、NDA 与租约风险并生成修订建议。

Mcp Supply Audit
由 GitHub 账号 kimmawla 发布
把 MCP 服务器当作供应链产物来审计:注册表条目、PyPI/npm 包、客户端配置与工具定义,全部为只读静态检查。