Clarx
БесплатноНе проверенScores agent manifests, validates repo configuration, and generates CI workflows for AI-ready codebases.
Описание
Scores agent manifests, validates repo configuration, and generates CI workflows for AI-ready codebases.
README
AI-first codebase standard, analysis engine, and CLI.
What's in here
| Package | Name | Description |
|---|---|---|
packages/engine |
@clarxai/engine |
Codebase analysis engine — scores repos against the Clarx standard |
packages/cli |
@clarxai/cli |
CLI tool: clarx score, clarx init, clarx explain |
apps/docs |
— | Documentation site (Next.js 15 + fumadocs) |
standard/ |
— | Versioned Clarx AI-First Standard spec and rubric |
packages/ui |
— | Internal reference components (not published) |
Prerequisites
- Node.js 20+
- pnpm 10+ (
npm install -g pnpm)
Install
git clone https://github.com/clarxai/clarx
cd clarx
pnpm install
Development
Run everything in watch mode:
pnpm dev
Run a specific workspace:
pnpm --filter @clarxai/cli dev # CLI in watch mode
pnpm --filter @clarxai/engine build # build the engine
pnpm --filter docs dev # docs site at localhost:3000
Build
pnpm build
Lint / typecheck
pnpm lint
pnpm typecheck
Format
pnpm format
CLI (clarx)
Install globally (after building)
cd packages/cli
pnpm build
npm link
Commands
clarx score [path] [options] Score a codebase against the AI-First Standard
clarx init [path] Generate a starter clarx-manifest.json
clarx explain <rule-id> Explain a specific rule (e.g. clarx explain C2)
Score options
| Flag | Description |
|---|---|
--format text|json|markdown |
Output format (default: text) |
--min-score <n> |
Exit 1 if overall score is below n |
--min-pillar-score <n> |
Exit 1 if any pillar score is below n |
--ignore <globs> |
Comma-separated glob patterns to exclude |
--verbose |
Include passing rules in output |
Examples
clarx score # score current directory
clarx score ./my-repo --min-score 70 # fail CI if score < 70
clarx score --format json > report.json # machine-readable output
clarx init # scaffold clarx-manifest.json
clarx explain O1 # explain rule O1
Monorepo layout
packages/engine/src/ — analysis engine
packages/cli/src/ — CLI
apps/docs/ — documentation site
apps/docs/content/docs/ — MDX page content
standard/ — AI-First Standard spec (v0.1)
standard/v0.1.md — full standard document
standard/rubric/ — scoring rubric
journal/ — architecture decisions and audits
clarx-manifest.json — machine-readable repo guidance
packages/ui/src/ — internal reference components (not published)
Contributing
Add a doc page
- Create MDX file in
apps/docs/content/docs/ - Add it to
apps/docs/content/docs/meta.json
Add an engine rule
- Add rule evaluation to
packages/engine/src/scoring/rules.ts - Update pillar score calculation in
packages/engine/src/scoring/overall.tsif needed - Add rule explanation to
packages/cli/src/commands/explain.ts - Document in
apps/docs/content/docs/standard/pillars.mdx
Add a CLI command
- Create
packages/cli/src/commands/[name].ts - Wire it up in
packages/cli/src/cli.ts - Document in
apps/docs/content/docs/cli/commands.mdx
Установка Clarx
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/gernika-labs/clarxFAQ
Clarx MCP бесплатный?
Да, Clarx MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Clarx?
Нет, Clarx работает без API-ключей и переменных окружения.
Clarx — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Clarx в Claude Desktop, Claude Code или Cursor?
Открой Clarx на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Clarx with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
