Nomos - Deterministic Git & AST Governance for AI Coding Agents

● Active

ca.sophialabs/nomos

Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.

Connect this server

One click to install, or copy the config below. Suits: Cursor · HTTP clients.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "nomos": {
      "url": "https://sophialabs.ca/mcp"
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http nomos https://sophialabs.ca/mcp
VS Code
code --add-mcp '{"name":"nomos","type":"http","url":"https://sophialabs.ca/mcp"}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
4.29.0
Registry
active
Published
11/22/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: Nomos - Deterministic Git & AST Governance for AI Coding Agents is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit today (Nov 22, 2026), 0 open issues.
Official registry
Active
Published as ca.sophialabs/nomos in the official MCP registry, version 4.29.0.
Source
Open source, Apache-2.0
Public repository under the Apache-2.0 licence, 6 stars, 0 forks.
Runs
Hosted by the publisher
Your client talks to sophialabs.ca: prompts and tool arguments leave your machine for that host.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Nov 22, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

Live check

checked Nov 22, 2026, 06:07 UTCStatus history & uptime →
● Working158 msprotocol 2025-06-18v4.29.0toolsresourcesprompts

The endpoint answered the MCP handshake as "sophialabs-nomos-mcp" and listed 7 tools. Answering since Nov 22, 2026.

Context cost ≈ 3k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 7 tools.

Tools (7)

  • search_nomos_corpus2 params

    Search Nomos Engineering Handbook chapters, Empirical Field Dispatches, Open-Core Architecture Specs, and CLI reference by keyword. Example: query='worktree isolation', section='handbook' finds chapters on Git worktrees. Use when looking up conceptual architecture, empirical benchmarks, or CLI flags. Do NOT use when inspecting a specific G-* gate or ERR_* code (use inspect_dod_gates or diagnose_nomos_error instead) or comparing external tools (use compare_governance_approaches instead).

    Show parameters
    • querystringrequiredKeywords or engineering problem phrase to search across the public Nomos corpus.
    • sectionstringCorpus subset filter (defaults to all).
  • inspect_dod_gates3 params

    List and filter the 42 compiled Go and Tree-sitter AST Definition of Done quality gates, 7 Canonical Laws, and sandbox rules. Example: gate_id='G-16' or law=7 returns matching gate invariants. Use when browsing gate invariants by G-* ID, Law 1..7, or category. Do NOT use when troubleshooting a raw verify error log or ERR_* failure (use diagnose_nomos_error instead).

    Show parameters
    • gate_idstringOptional gate identifier such as G-01 or G-16.
    • lawintegerOptional Canonical Law number from 1 through 7.
    • categorystringOptional gate category filter.
  • recommend_adoption_plan4 params

    Retrieve a read-only 4-step Nomos rollout guide (X-Ray baseline, stealth Branch Guard, CI SARIF, and isolated Git worktrees) tailored to repository LOC, languages, and air-gap constraints. Example: languages=['go','typescript'], repo_loc=120000 returns a phased brownfield guide. Use when planning rollout steps for a team or monorepo. Do NOT use when previewing raw nomos.yaml and CI workflow templates (use scaffold_nomos_config instead).

    Show parameters
    • languagesarrayPrimary programming languages in the repository.
    • repo_locintegerApproximate repository lines of code.
    • ci_providerstringTarget CI pipeline platform.
    • airgappedbooleanSet true for zero-egress air-gapped local GPU environments.
  • compare_governance_approaches1 param

    Compare Nomos deterministically against pre-commit hooks, SonarQube, ESLint, PR review bots (CodeRabbit, Greptile), prompt wrappers, and static CLAUDE.md / AGENTS.md / .cursorrules files. Example: focus='SonarQube' returns side-by-side trade-offs. Use when evaluating tool trade-offs or answering 'how is Nomos different from X'. Do NOT use when searching general Handbook tutorials (use search_nomos_corpus instead).

    Show parameters
    • focusstringOptional comparison dimension or tool name filter.
  • xray_github_repo1 param

    Inspect a public GitHub repository via read-only static Tree-sitter AST analysis (<= 100MB source archive, strictly read-only) to retrieve its AI Hangover Score (0-100), complexity hotspots, and Day-0 baseline preview. Example: repo='go-chi/chi' returns the AST scorecard for go-chi/chi. Use when auditing a public GitHub owner/repo URL. Do NOT use when checking private repositories (private codebases require local CLI inspection via @mgantlett/nomos).

    Show parameters
    • repostringrequiredPublic GitHub owner/repo slug or full https://github.com/<owner>/<repo> URL.
  • diagnose_nomos_error2 params

    Look up any Nomos ERR_* failure code, TC-AGT-* vector, or nomos verify gate rejection to retrieve its root cause and non-bypassing AST remediation. Example: error_code='ERR_CROSS_PLANE_MUTATION' returns the remediation guide. Use when troubleshooting a verify failure or pre-commit hook error. Do NOT use when browsing the full catalog of 42 gates by Law or category without an error (use inspect_dod_gates instead).

    Show parameters
    • error_codestringOptional ERR_* identifier such as ERR_CROSS_PLANE_MUTATION or ERR_COGNITIVE_DEBT.
    • error_logstringOptional raw error message, gate name, or pre-commit output snippet.
  • scaffold_nomos_config4 params

    Preview read-only nomos.yaml configuration text, 4-line GitHub Actions SARIF workflow text, and Day-0 onboarding commands without modifying files. Example: project_name='payments-api', mode='local' returns template text. Use when retrieving ready-to-paste YAML config and CI workflow templates. Do NOT use when requesting a strategic rollout recommendation by LOC or air-gap posture (use recommend_adoption_plan instead).

    Show parameters
    • project_namestringRepository or project slug.
    • languagesarrayTarget languages in the repository.
    • modestringOnboarding mode: branch (default), local (stealth .git/info/exclude), or worktrees.
    • ci_providerstringCI platform for verification workflow output (defaults to github).

Checked by Serverdex with a plain initialize + tools/list call to sophialabs.ca/mcp, no credentials, about once a day. A failed check is never a removal.

On GitHub

read Nov 22, 2026
Stars
6
Forks
0
Last push
Nov 22, 2026
License
Apache-2.0

Goagent-skillsai-agentsastclaude-codeclaude-code-plugincode-qualitycoding-agentscursordeveloper-toolsgemini-cligit-hooksgit-worktreegollms-txtmcpmcp-servermodel-context-protocolopencodestatic-analysistree-sitter

From the README

Nomos (Νόμος) Agents guess; Git cannot. The Apache 2.0 Go execution substrate beneath any coding agent (0 LLM tokens, certified up to 3.60M LOC). Nomos is a single ~20 MB static Go binary (Apache 2.0, 0 LLM tokens, zero cloud account) between your coding agent (Claude Code, Cursor, OpenCode, Codex, Gemini CLI, Antigravity, Windsurf, or Aider) and Git. Run nomos init once (or paste 1 prompt into your agent) - Nomos blocks skipped tests, hollow stubs, monolith bloat, and leaked secrets in 24ms ( Initialize once, then forget nomos exists. Nomos supplies 0-token repository physics; your coding agent supplies the intelligence to self-correct before ending its turn. Use nomos xray . anytime you want a ~4s codebase health scan. Two Ways to Set Up in 30 Seconds (Or Scan in Browser First) Zero-Install Browser Scan (5s): Paste any public GitHub repository at sophialabs.ca/xray - or just replace github.com with sophialabs.ca in your browser URL bar (e.g.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://sophialabs.ca/mcp

Alternatives to Nomos - Deterministic Git & AST Governance for AI Coding Agents

All Nomos - Deterministic Git & AST Governance for AI Coding Agents alternatives →Best Developer Tools servers →

The most-starred Developer Tools servers in the index, with their live-check result.

ServerStarsLast pushLive check
REA466,935Nov 2026Local / not checked
GitHub34,658Nov 2026Needs sign-in
Repomix29,280Nov 2026Local / not checked
Compiler Explorer19,201Nov 2026Working
XERJ19,135Nov 2026Local / not checked

Nomos - Deterministic Git & AST Governance for AI Coding Agents: questions people ask

Is Nomos - Deterministic Git & AST Governance for AI Coding Agents a remote or a local MCP server?
According to its entry in the official MCP registry, Nomos - Deterministic Git & AST Governance for AI Coding Agents ships as a hosted endpoint (streamable-http) that your client connects to by URL.
Does Nomos - Deterministic Git & AST Governance for AI Coding Agents need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Nov 22, 2026. Individual tools may still ask for a key when called.
Is Nomos - Deterministic Git & AST Governance for AI Coding Agents safe to use?
Looks healthy: Nomos - Deterministic Git & AST Governance for AI Coding Agents is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: Hosted by the publisher; credentials: None needed to connect. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Nomos - Deterministic Git & AST Governance for AI Coding Agents still maintained?
Active: the repository's last commit today. Last push Nov 22, 2026, 6 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 22, 2026.
What tools does Nomos - Deterministic Git & AST Governance for AI Coding Agents expose?
7 tools as listed by the server itself during the live check, including search_nomos_corpus, inspect_dod_gates, recommend_adoption_plan, compare_governance_approaches, xray_github_repo. The full list with parameters is in the Live check section above.
How do I add Nomos - Deterministic Git & AST Governance for AI Coding Agents to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. Gantlett Systems - AI Governance Seam Pilots & Executive BriefsScope 14-day AI governance seam pilots, brownfield executive briefs, and SLSA/SARIF compliance.★ 6
  2. Nomos - Deterministic Git & AST Governance for AI Coding AgentsLive GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.★ 6
Browse all Developer Tools →

Add the badge to your site

Show visitors that Nomos - Deterministic Git & AST Governance for AI Coding Agents is listed here — it’s also the link we check for a free listing.

Nomos - Deterministic Git & AST Governance for AI Coding Agents — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/ca-sophialabs-nomos?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Nomos - Deterministic Git & AST Governance for AI Coding Agents — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Nomos - Deterministic Git & AST Governance for AI Coding Agents — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/ca-sophialabs-nomos?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/ca-sophialabs-nomos) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/ca-sophialabs-nomos) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/ca-sophialabs-nomos)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/ca-sophialabs-nomos"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/ca-sophialabs-nomos"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/ca-sophialabs-nomos"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).